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

3.25调整

parent 61e9e1bf
......@@ -48,9 +48,19 @@
/* Dialog*/
// queryDetail: true,
/* 基本配置*/
url: 'lxyl/zlgl/ukcjyd',
queryUrl:'wms/common/queryZkPackOrRq',
url: 'lxyl/zlgl/kccj/queryZkPackOrRq',
queryUrl:'lxyl/zlgl/kccj/queryZkPackOrRq',
tableTitle: [
{
title: "仓库",
field: "ckName",
width: 140
},
{
title: "库位",
field: "kwCode",
width: 140
},
{
title: "唯一码",
field: "packCode",
......@@ -134,12 +144,19 @@
save(){
let list =this.$refs.basePage.$refs.TablePager.selectedList||[]
if(list.length!=0){
this.$post('lxyl/zlgl/kccj/doGenerate',list).then(res=>{
if(res.success){
this.app.showDialog=false
this.app.refresh()
}
})
let ckList=list.map(item=>item.ckid)
ckList=[... new Set(ckList)]
if(ckList.length==1){
this.$post('lxyl/zlgl/kccj/doGenerate',list).then(res=>{
if(res.success){
this.app.showDialog=false
this.app.refresh()
}
})
}else{
this.$warning('只能勾选相同仓库的数据进行操作')
}
}else{
this.$warning('请至少勾选一条数据')
......
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