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

调整

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