Commit 829fc2b6 authored by 李苏's avatar 李苏 💬

3.27调整

parent 40e79839
......@@ -179,23 +179,23 @@
}
}
},
{
label: '货主',
readonly: true,
prop: 'hzid',
span: 8,
required: true,
type: 'AuxInput',
typeConfig: {
isRequest: true,
code: 'HZID',
label: 'hzName',
transform: {
value: 'id',
label: 'name'
}
}
},
// {
// label: '货主',
// readonly: true,
// prop: 'hzid',
// span: 8,
// required: true,
// type: 'AuxInput',
// typeConfig: {
// isRequest: true,
// code: 'HZID',
// label: 'hzName',
// transform: {
// value: 'id',
// label: 'name'
// }
// }
// },
{
label: '备注',
prop: 'bz',
......
......@@ -62,7 +62,20 @@
/* 基本配置*/
url: 'lxyl/ckgl/dbck/query/ukcjyqd',
queryUrl: 'lxyl/ckgl/dbck/query/ukcjyqd',
tableTitle: [{
tableTitle: [
{
title: "仓库编码",
field: "ckCode",
width: 120,
},
{
title: "仓库",
field: "ckName",
width: 120,
},
{
title: "库位",
field: "kwCode",
width: 100,
......@@ -179,6 +192,13 @@
if (list.length == 0) {
this.$warning('请至少勾选一条数据')
} else {
/* 判定仓库*/
let ckList=list.map(item=>item.ckid)
ckList=[...new Set(ckList)]
if (ckList.length > 1) {
this.$warning('所选项仓库不唯一,请选择相同仓库的数据。')
return
}
let obj = {
list: list
}
......
......@@ -55,7 +55,19 @@
/* 基本配置*/
url: 'wms/ckgl/dbck/query/kc',
queryUrl:'wms/ckgl/dbck/query/kc',
tableTitle: [{
tableTitle: [
{
title: "仓库编码",
field: "ckCode",
width: 120,
},
{
title: "仓库",
field: "ckName",
width: 120,
},
{
title: "库位",
field: "kwCode",
width: 100,
......@@ -161,6 +173,13 @@
if(list.length==0){
this.$warning('请至少勾选一条数据')
}else{
let ckList=list.map(item=>item.ckid)
ckList=[...new Set(ckList)]
if (ckList.length > 1) {
this.$warning('所选项仓库不唯一,请选择相同仓库的数据。')
return
}
let obj={
list:list
}
......
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