|
@ -700,6 +700,7 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '父物料代码', |
|
|
label: '父物料代码', |
|
|
field: 'productItemCode', |
|
|
field: 'productItemCode', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -708,6 +709,7 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '子物料代码', |
|
|
label: '子物料代码', |
|
|
field: 'componentItemCode', |
|
|
field: 'componentItemCode', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -717,28 +719,42 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'componentUom', |
|
|
field: 'componentUom', |
|
|
dictType: DICT_TYPE.UOM, |
|
|
dictType: DICT_TYPE.UOM, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
|
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isTable: true |
|
|
isTable: true, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '子物料数量', |
|
|
label: '子物料数量', |
|
|
field: 'componentQty', |
|
|
field: 'componentQty', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sort: 'custom', |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
|
|
|
}, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 120 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '工序代码', |
|
|
label: '工序代码', |
|
|
field: 'processCode' |
|
|
field: 'processCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 120 |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '版本', |
|
|
label: '版本', |
|
|
field: 'version' |
|
|
field: 'version', |
|
|
|
|
|
sort: 'custom' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '层级', |
|
|
label: '层级', |
|
|
field: 'layer', |
|
|
field: 'layer', |
|
|
|
|
|
sort: 'custom', |
|
|
// form: {
|
|
|
// form: {
|
|
|
// component: 'Input',
|
|
|
// component: 'Input',
|
|
|
// componentProps: {
|
|
|
// componentProps: {
|
|
@ -751,6 +767,7 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '生效时间', |
|
|
label: '生效时间', |
|
|
field: 'activeTime', |
|
|
field: 'activeTime', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
@ -769,6 +786,7 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '失效时间', |
|
|
label: '失效时间', |
|
|
field: 'expireTime', |
|
|
field: 'expireTime', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
formatter : dateFormatter, |
|
|
formatter : dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
@ -805,10 +823,14 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
|
field: 'createTime', |
|
|
field: 'createTime', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -859,6 +881,7 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '供应商代码', |
|
|
label: '供应商代码', |
|
|
field: 'supplierCode', |
|
|
field: 'supplierCode', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -867,6 +890,7 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '物料代码', |
|
|
label: '物料代码', |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -876,12 +900,14 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'currency', |
|
|
field: 'currency', |
|
|
dictType: DICT_TYPE.CURRENCY, |
|
|
dictType: DICT_TYPE.CURRENCY, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
|
|
|
sort: 'custom', |
|
|
isSearch : true, |
|
|
isSearch : true, |
|
|
isTable : true |
|
|
isTable : true |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '价格', |
|
|
label: '价格', |
|
|
field: 'price', |
|
|
field: 'price', |
|
|
|
|
|
sort: 'custom', |
|
|
isSearch: true |
|
|
isSearch: true |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -890,6 +916,7 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 120 |
|
|
width: 120 |
|
|
}, |
|
|
}, |
|
@ -906,6 +933,7 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '生效时间', |
|
|
label: '生效时间', |
|
|
field: 'activeTime', |
|
|
field: 'activeTime', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
formatter : dateFormatter, |
|
|
formatter : dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
@ -924,6 +952,7 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '失效时间', |
|
|
label: '失效时间', |
|
|
field: 'expireTime', |
|
|
field: 'expireTime', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
formatter : dateFormatter, |
|
|
formatter : dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
@ -942,6 +971,7 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
|
field: 'createTime', |
|
|
field: 'createTime', |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
|
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
@ -996,6 +1026,7 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '完工收货库位', |
|
|
label: '完工收货库位', |
|
|
field: 'fgLocationCode', |
|
|
field: 'fgLocationCode', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -1004,6 +1035,7 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '产线代码' , |
|
|
label: '产线代码' , |
|
|
field: 'productionLineCode', |
|
|
field: 'productionLineCode', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -1012,6 +1044,7 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '物品代码', |
|
|
label: '物品代码', |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
} |
|
@ -1021,6 +1054,7 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'available', |
|
|
field: 'available', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
|
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
table: { |
|
|
table: { |
|
@ -1038,6 +1072,7 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
|
label: '生效时间', |
|
|
label: '生效时间', |
|
|
field: 'activeTime', |
|
|
field: 'activeTime', |
|
|
|
|
|
sort: 'custom', |
|
|
formatter : dateFormatter, |
|
|
formatter : dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
@ -1055,6 +1090,7 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
|
label: '失效时间', |
|
|
label: '失效时间', |
|
|
field: 'expireTime', |
|
|
field: 'expireTime', |
|
|
|
|
|
sort: 'custom', |
|
|
formatter : dateFormatter, |
|
|
formatter : dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|