Browse Source

生产计划 添加字段 子表物料及数量

master_hella_20240701
陈薪名 6 months ago
parent
commit
fedf2b6cd3
  1. 22
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  2. 20
      src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts
  3. 20
      src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts
  4. 22
      src/views/wms/productionManage/productionplan/productionMainPredictSparePart/productionMainPredictSparePart.data.ts

22
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -77,7 +77,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
{
label: '车间',
label: '机台',
field: 'workshop',
sort: 'custom',
table: {
@ -177,6 +177,25 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '物料代码',
field: 'detailItemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
isForm: false
},
{
label: '计划数量',
field: 'detailPlanQty',
sort: 'custom',
table: {
width: 150
},
isForm: false
},
{
label: '计划日期',
field: 'planDate',
@ -287,7 +306,6 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {

20
src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts

@ -177,6 +177,25 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '物料代码',
field: 'detailItemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
isForm: false
},
{
label: '计划数量',
field: 'detailPlanQty',
sort: 'custom',
table: {
width: 150
},
isForm: false
},
{
label: '计划日期',
field: 'planDate',
@ -287,7 +306,6 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {

20
src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts

@ -177,6 +177,25 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '物料代码',
field: 'detailItemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
isForm: false
},
{
label: '计划数量',
field: 'detailPlanQty',
sort: 'custom',
table: {
width: 150
},
isForm: false
},
{
label: '计划日期',
field: 'planDate',
@ -287,7 +306,6 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {

22
src/views/wms/productionManage/productionplan/productionMainPredictSparePart/productionMainPredictSparePart.data.ts

@ -77,7 +77,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
{
label: '车间',
label: '机台',
field: 'workshop',
sort: 'custom',
table: {
@ -177,6 +177,25 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '物料代码',
field: 'detailItemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
isForm: false
},
{
label: '计划数量',
field: 'detailPlanQty',
sort: 'custom',
table: {
width: 150
},
isForm: false
},
{
label: '计划日期',
field: 'planDate',
@ -287,7 +306,6 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {

Loading…
Cancel
Save