|
@ -1408,51 +1408,7 @@ export const ProductionreturnRequestDetailRules = reactive({ |
|
|
* @returns {Array} 生产退料申请子表创建标签 |
|
|
* @returns {Array} 生产退料申请子表创建标签 |
|
|
*/ |
|
|
*/ |
|
|
export const ProductionreturnRequestDetailLabel = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const ProductionreturnRequestDetailLabel = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
|
|
|
label: '标签生产线代码', |
|
|
|
|
|
field: 'productionLineCodePackage', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'productionLineCode', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '生产线物料关系信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Productionlineitem.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition:[{ |
|
|
|
|
|
key: 'itemCode', |
|
|
|
|
|
value: 'itemCode', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '标签供应商代码', |
|
|
|
|
|
field: 'supplierItemCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
enterSearch:true, |
|
|
|
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择供应商代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'supplierCode', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '供应商信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Supplieritem.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: SupplieritemApi.getSupplieritemPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition:[{ |
|
|
|
|
|
key: 'itemCode', |
|
|
|
|
|
value: 'itemCode', |
|
|
|
|
|
message: '请填写物料代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '物料代码', |
|
|
label: '物料代码', |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
@ -1663,6 +1619,51 @@ export const ProductionreturnRequestDetailLabel = useCrudSchemas(reactive<CrudSc |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '标签生产线代码', |
|
|
|
|
|
field: 'productionLineCodePackage', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'productionLineCode', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '生产线物料关系信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Productionlineitem.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'itemCode', |
|
|
|
|
|
value: 'itemCode', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '标签供应商代码', |
|
|
|
|
|
field: 'supplierItemCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
enterSearch: true, |
|
|
|
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择供应商代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'supplierCode', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '供应商信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Supplieritem.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: SupplieritemApi.getSupplieritemPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'itemCode', |
|
|
|
|
|
value: 'itemCode', |
|
|
|
|
|
message: '请填写物料代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
])) |
|
|
])) |
|
|
|
|
|
|
|
|
//表单校验
|
|
|
//表单校验
|
|
|