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

3.25调整

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