Commit 2687ab9f authored by 李苏's avatar 李苏 💬

特殊删除按钮/查询分析仓库接口变更

parent 53346a27
<template>
<BasePage :power="power"
:addRename='`选择领料单出库`' class="min_full" :config="config" >
<template #dialog="ctx" >
<BasePage :delMster='false' :power="power" :addRename='`选择领料单出库`' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx" >
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template>
......@@ -14,47 +13,95 @@
<script>
import Edit from './edit.vue'
export default{
data(){
return{
export default {
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
delButton: true,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
operateButtons: true,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config:{
config: {
delUrl: 'lxyl/ckgl/pkck/delete/ckdj',
queryDetail: true,
/* 基本配置*/
url:'wms/ckgl/ckdj',
tableTitle: [
{"title": "库存单号", "field": "djid", "width": 140},
{"title": "出库日期", "field": "ywrq", fieldType: 'ftDate'},
{"title": "仓库", "field": "ckName", "width": 140},
{"title": "事务类型", "field": "swlxName", "width": 100},
{"title": "部门", "field": "bmName", "width": 130},
{"title": "经手人", "field": "jsr", "width": 120},
{"title": "保管员", "field": "bgy", "width": 120},
{"title": "出库单号", "field": "lldjid", "width": 140,formatter:(row,b,c)=>{
let id=row.cktzDjid||row.dbckDjid
url: 'wms/ckgl/ckdj',
tableTitle: [{
"title": "库存单号",
"field": "djid",
"width": 140
},
{
"title": "出库日期",
"field": "ywrq",
fieldType: 'ftDate'
},
{
"title": "仓库",
"field": "ckName",
"width": 140
},
{
"title": "事务类型",
"field": "swlxName",
"width": 100
},
{
"title": "部门",
"field": "bmName",
"width": 130
},
{
"title": "经手人",
"field": "jsr",
"width": 120
},
{
"title": "保管员",
"field": "bgy",
"width": 120
},
{
"title": "出库单号",
"field": "lldjid",
"width": 140,
formatter: (row, b, c) => {
let id = row.cktzDjid || row.dbckDjid
return id
}},
{"title": "拣货单号", "field": "jhtzDjid", "width": 140},
}
},
{
"title": "拣货单号",
"field": "jhtzDjid",
"width": 140
},
{"title": "备注", "field": "bz", "width": 220},
{"title": "维护人", "field": "whr"},
{"title": "维护时间", "field": "whsj", fieldType: 'ftDateTime'}
{
"title": "备注",
"field": "bz",
"width": 220
},
{
"title": "维护人",
"field": "whr"
},
{
"title": "维护时间",
"field": "whsj",
fieldType: 'ftDateTime'
}
],
queryParams:[
queryParams: [
[{
label: '出库日期',
startProp: "ywrqb",
......@@ -99,12 +146,11 @@
// }
},
components:{
components: {
Edit
}
}
</script>
<style>
......
......@@ -127,7 +127,7 @@
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"src": "lxyl/jcsj/uck/ck/queryCjckid",
"match": {
"value": "id",
"label": "name"
......
......@@ -148,7 +148,7 @@
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"src": "lxyl/jcsj/uck/ck/queryCjckid",
"match": {
"value": "id",
"label": "name"
......
<template>
<BasePage :power='power' addRename='选择入库单入库' class="min_full" :config="config">
<BasePage :delMster='false' :power='power' addRename='选择入库单入库' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
......@@ -29,7 +29,7 @@
saveSelected: false
},
config: {
delUrl:'test/delete',
delUrl:'lxyl/rkgl/pksj/delete/rkdj',
queryDetail: true,
/* 基本配置*/
url: 'wms/rkgl/rkdj',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment