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">
......@@ -15,7 +16,7 @@
import wlsx from 'common/src/mixin/wlphsx.js'
import wlphsx from 'common/src/mixin/wlphsx.js'
export default {
mixins: [wlsx, wlphsx],
mixins: [wlsx, wlphsx],
props: {
app: {
type: Object,
......@@ -50,10 +51,9 @@
/* Dialog*/
// queryDetail: true,
/* 基本配置*/
url: 'lxyl/zlgl/kccj/queryZkPackOrRq',
queryUrl: 'lxyl/zlgl/kccj/queryZkPackOrRq',
tableTitle: [
{
url: 'lxyl/zlgl/kccj/queryZkPackOrRq',
queryUrl: 'lxyl/zlgl/kccj/queryZkPackOrRq',
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,28 +157,28 @@
}
},
methods: {
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.app.refresh()
}
})
}else{
this.$warning('只能勾选相同仓库的数据进行操作')
}
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.app.refresh()
}
})
} else {
this.$warning('只能勾选相同仓库的数据进行操作')
}
}else{
this.$warning('请至少勾选一条数据')
} else {
this.$warning('请至少勾选一条数据')
}
}
}
}
}
</script>
......
......@@ -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