Browse Source

包装规格校验

master_hella_20240701
yufei0306 5 months ago
parent
commit
9b16157694
  1. 1
      src/locales/en-US.ts
  2. 1
      src/locales/zh-CN.ts
  3. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

1
src/locales/en-US.ts

@ -775,6 +775,7 @@ export default {
:'System Prompt', :'System Prompt',
:'Do you generate labels for this data?', :'Do you generate labels for this data?',
:'Do you want to modify the quantity of material packaging?', :'Do you want to modify the quantity of material packaging?',
12:'Package specification 1 and package specification 2 must be different',
:'Do you process the selected data?', :'Do you process the selected data?',
:'shipments', :'shipments',
:'Label information', :'Label information',

1
src/locales/zh-CN.ts

@ -775,6 +775,7 @@ export default {
:'系统提示', :'系统提示',
:'是否为此数据生成标签', :'是否为此数据生成标签',
:'是否修改物料包装标包数量', :'是否修改物料包装标包数量',
12:'包装规格1和包装规格2不能相同',
:'是否处理所选中数据', :'是否处理所选中数据',
:'发货', :'发货',
:'标签信息', :'标签信息',

4
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -793,6 +793,10 @@ const submitFormLabel = async (formType, data) => {
console.log("formType==",formType) console.log("formType==",formType)
console.log("data==",data) console.log("data==",data)
data.subList = detatableData.tableList data.subList = detatableData.tableList
if(detatableData.tableList.find(item=>item.secondPackUnit==item.packUnit)){
message.warning(t('ts.包装规格1和包装规格2不能相同'))
return
}
// //
let flag = false; let flag = false;
await SupplierdeliverRequestMainApi.checkPackQty(data).then(async res => { await SupplierdeliverRequestMainApi.checkPackQty(data).then(async res => {

Loading…
Cancel
Save