Browse Source

YT-1689采购件标签中包装明细没按需求修改

intex_online20241216
张立 2 months ago
parent
commit
33b8928a58
  1. 13
      src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts
  2. 28
      src/views/wms/inventoryManage/package/package.data.ts

13
src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts

@ -446,8 +446,8 @@ export const PurchasePackaging = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
}, },
{ {
label: '替代计量单位', label: '采购计量单位',
field: 'altUom', field: 'purchaseUom',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.UOM, dictType: DICT_TYPE.UOM,
dictClass: 'string', dictClass: 'string',
@ -458,8 +458,13 @@ export const PurchasePackaging = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '替代数量', label: '采购数量',
field: 'altQty', field: 'purchaseQty',
sort: 'custom',
},
{
label: '采购标包数量',
field: 'purchaseStdQty',
sort: 'custom', sort: 'custom',
}, },
{ {

28
src/views/wms/inventoryManage/package/package.data.ts

@ -252,28 +252,26 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '替代计量单位', label: '采购计量单位',
field: 'altUom', field: 'purchaseUom',
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.UOM, dictType: DICT_TYPE.UOM,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑 dictClass: 'string',
form: { isSearch: true,
component: 'SelectV2', isTable: true,
componentProps: {
disabled: true
}
},
table: { table: {
width: 150, width: 120
}, },
}, },
{ {
label: '替代数量', label: '采购数量',
field: 'altQty', field: 'purchaseQty',
sort: 'custom',
},
{
label: '采购标包数量',
field: 'purchaseStdQty',
sort: 'custom', sort: 'custom',
table: {
width: 150,
},
}, },
{ {
label: '转换率', label: '转换率',

Loading…
Cancel
Save