Commit ff83b7fb authored by 李苏's avatar 李苏 💬

库区

parent 96d0a882
...@@ -10,10 +10,8 @@ ...@@ -10,10 +10,8 @@
<ImportButton @success="()=>{ <ImportButton @success="()=>{
ctx.basePage.refresh() ctx.basePage.refresh()
}" :url="'lxyl/jcsj/kw/import'" /> }" :url="'lxyl/jcsj/kw/import'" />
<el-button style="margin-left: 10px;" @click="qkkw(ctx.basePage)" size='mini' <el-button style="margin-left: 10px;" @click="qkkw(ctx.basePage)" size='mini' type="primary">清空库位</el-button>
type="primary">清空库位</el-button> <el-button style="margin-left: 10px;" @click="ckxq(ctx.basePage)" size='mini' type="primary">查看详情</el-button>
<el-button style="margin-left: 10px;" @click="ckxq(ctx.basePage)" size='mini'
type="primary">查看详情</el-button>
<!-- <el-button style="margin-left: 10px;" @click="kwbg(ctx.basePage)" size='mini' <!-- <el-button style="margin-left: 10px;" @click="kwbg(ctx.basePage)" size='mini'
type="primary">库位变更</el-button> --> type="primary">库位变更</el-button> -->
</template> </template>
...@@ -145,6 +143,17 @@ ...@@ -145,6 +143,17 @@
} }
} }
}, },
{
label: '库区',
prop: 'kqid',
span: 6,
type: 'RelSelect',
typeConfig: {
src: "wms/jcsj/kq/query",
linkage: true,
linkParams: ['ckid']
},
},
{ {
"label": "库位信息", "label": "库位信息",
"prop": "kwInfo", "prop": "kwInfo",
...@@ -162,6 +171,12 @@ ...@@ -162,6 +171,12 @@
"src": "wms/jcsj/kw/init/hj", "src": "wms/jcsj/kw/init/hj",
} }
}, },
],
[
{ {
"label": "状态", "label": "状态",
"prop": "zt", "prop": "zt",
...@@ -171,11 +186,7 @@ ...@@ -171,11 +186,7 @@
"typeConfig": { "typeConfig": {
"src": "wms/jcsj/kw/init/zt", "src": "wms/jcsj/kw/init/zt",
} }
} },
],[
{ {
"label": "存储状态", "label": "存储状态",
"prop": "kczt", "prop": "kczt",
...@@ -185,8 +196,7 @@ ...@@ -185,8 +196,7 @@
"typeConfig": { "typeConfig": {
"src": "wms/jcsj/kw/init/kczt", "src": "wms/jcsj/kw/init/kczt",
} }
}, }, ]
]
], ],
/* 默认启停用 */ /* 默认启停用 */
showqt: true, showqt: true,
...@@ -195,7 +205,7 @@ ...@@ -195,7 +205,7 @@
}, },
methods: { methods: {
kwbg(ctx){ kwbg(ctx) {
if (ctx.singleItem && ctx.singleItem.id) { if (ctx.singleItem && ctx.singleItem.id) {
ctx.DialogWidth = '30vw' ctx.DialogWidth = '30vw'
ctx.DialogTitle = '库位变更' ctx.DialogTitle = '库位变更'
......
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