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

调整

parent f1d75d20
...@@ -49,11 +49,11 @@ ...@@ -49,11 +49,11 @@
field: "wlxxGg", field: "wlxxGg",
width: 140 width: 140
}, },
{ // {
title: "wcs任务号", // title: "wcs任务号",
field: "wcsCode", // field: "wcsCode",
width: 140 // width: 140
}, // },
{ {
title: "制令号", title: "制令号",
field: "zlh", field: "zlh",
...@@ -64,11 +64,11 @@ ...@@ -64,11 +64,11 @@
field: "wlph", field: "wlph",
width: 180 width: 180
}, },
{ // {
title: "货主", // title: "货主",
field: "hzName", // field: "hzName",
width: 140 // width: 140
}, // },
{ {
title: "唯一码", title: "唯一码",
field: "packCode", field: "packCode",
......
<template> <template>
<DefaultDialog :app='app'> <DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;"> <div slot="form" style="display: flex;height: 70vh;">
<BasePage ref="basePage" :toolButton='false' :power='power' class="min_full" style="height: 100%;" :config="config" /> <BasePage ref="basePage" :toolButton='false' :power='power' class="min_full" style="height: 100%;"
:config="config" />
</div> </div>
<div slot="reFooter" class="refooter"> <div slot="reFooter" class="refooter">
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
...@@ -52,8 +53,7 @@ ...@@ -52,8 +53,7 @@
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/zlgl/kccj/queryZkPackOrRq', url: 'lxyl/zlgl/kccj/queryZkPackOrRq',
queryUrl: 'lxyl/zlgl/kccj/queryZkPackOrRq', queryUrl: 'lxyl/zlgl/kccj/queryZkPackOrRq',
tableTitle: [ tableTitle: [{
{
title: "仓库", title: "仓库",
field: "ckName", field: "ckName",
width: 140 width: 140
...@@ -132,6 +132,20 @@ ...@@ -132,6 +132,20 @@
span: 6, span: 6,
type: 'input', type: 'input',
value: '' value: ''
},
{
"label": "仓库",
"prop": "ckid",
"span": 6,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "lxyl/jcsj/uck/ck/queryCjckid",
"match": {
"value": "id",
"label": "name"
}
}
} }
] ]
...@@ -143,24 +157,24 @@ ...@@ -143,24 +157,24 @@
} }
}, },
methods: { methods: {
save(){ save() {
let list =this.$refs.basePage.$refs.TablePager.selectedList||[] let list = this.$refs.basePage.$refs.TablePager.selectedList || []
if(list.length!=0){ if (list.length != 0) {
let ckList = list.map(item => item.ckid) let ckList = list.map(item => item.ckid)
ckList = [...new Set(ckList)] ckList = [...new Set(ckList)]
if (ckList.length == 1) { if (ckList.length == 1) {
this.$post('lxyl/ukcyhd/doGenerate',list).then(res=>{ this.$post('lxyl/ukcyhd/doGenerate', list).then(res => {
if(res.success){ if (res.success) {
this.app.showDialog=false this.app.showDialog = false
this.app.refresh() this.app.refresh()
} }
}) })
}else{ } else {
this.$warning('只能勾选相同仓库的数据进行操作') this.$warning('只能勾选相同仓库的数据进行操作')
} }
}else{ } else {
this.$warning('请至少勾选一条数据') this.$warning('请至少勾选一条数据')
} }
} }
......
...@@ -52,6 +52,11 @@ ...@@ -52,6 +52,11 @@
width: 140, width: 140,
fieldType: 'ftDate' fieldType: 'ftDate'
}, },
{
title: "仓库",
field: "ckName",
width: 140,
},
{ {
title: "维护人", title: "维护人",
field: "whr", field: "whr",
......
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