Browse Source

接口参数调整induced-product-batch-update,生产线改成下拉款

intex_online_narushoulingshu
张立 2 weeks ago
parent
commit
1c8c0e012e
  1. 2
      src/components/ImportForm/src/ImportFormStep.vue
  2. 30
      src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/deliverRecordMain.data.ts

2
src/components/ImportForm/src/ImportFormStep.vue

@ -327,7 +327,7 @@ const submitForm = async () => {
const pars= props.tableObject.tableList.map(obj => { const pars= props.tableObject.tableList.map(obj => {
return { return {
id: obj.id || null , id: obj.id || null ,
type: formRef.value.formModel.productionLineCode, type: formRef.value.formModel.type,
orderNumber: formRef.value.formModel.customerOrderNumber, orderNumber: formRef.value.formModel.customerOrderNumber,
materialCode: obj.materialCode, materialCode: obj.materialCode,
backNumber: obj.backNumber, backNumber: obj.backNumber,

30
src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/deliverRecordMain.data.ts

@ -1488,34 +1488,12 @@ export const MaintenanceBillDateMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '生产线', label: '生产线',
field: 'productionLineCode', field: 'productionLineCode',
sort: 'custom', sort: 'custom',
table: { dictType: DICT_TYPE.PRODUCTION_LINE_ITEM,
width: 150 dictClass: 'string',
}, isTable: true,
form: { form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
enterSearch: true,
isSearchList: true,
searchListPlaceholder: '请选择生产线',
searchField: 'code',
searchTitle: '生产线信息',
searchAllSchemas: Productionline.allSchemas,
searchPage: ProductionlineApi.getProductionlinePage,
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}],
verificationParams: [{
key: 'code',
action: '==',
value: '', value: '',
isMainValue: false, },
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}
}
}, },
{ {
label: '顺引开始日期', label: '顺引开始日期',

Loading…
Cancel
Save