Browse Source

增加包装名称

master_hella_20240701
zhaoxuebing 3 months ago
parent
commit
f5d96295ad
  1. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts
  2. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue
  3. 32
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

10
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts

@ -476,6 +476,16 @@ export const SupplierdeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 150
},
},
{
label: '包装名称',
field: 'packName',
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '供应商计量数量',
field: 'supplierQty',

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

@ -338,10 +338,12 @@ const searchTableSuccessLabel = (formField, searchField, val, formRef, type, row
row[formField] = val[0][searchField]
if (formField == 'packUnit') {
row['packUnit'] = val[0]['packUnit']
row['packName'] = val[0]['packName']
row['packQty'] = val[0]['packQty']
}
if (formField == 'secondPackUnit') {
row['secondPackUnit'] = val[0]['packUnit']
row['secondPackName'] = val[0]['packName']
row['secondPackQty'] = val[0]['packQty']
}
}

32
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -1527,6 +1527,22 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch
}]
}
},
{
label: '包装名称1',
field: 'packName',
sort: 'custom',
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true
}
},
{
label: '物料数量1',
field: 'packQty',
@ -1596,6 +1612,22 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch
}]
}
},
{
label: '包装名称2',
field: 'secondPackName',
sort: 'custom',
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
},
tableForm: {
disabled: true
}
},
{
label: '物料数量2',
field: 'secondPackQty',

Loading…
Cancel
Save