Browse Source

物料降级申请

master_hella_20240701
chenfang 5 months ago
parent
commit
30de64151c
  1. 3
      src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue
  2. 2
      src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts

3
src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue

@ -393,6 +393,9 @@ const submitForm = async (formType, data) => {
await RelegateRequestMainApi.createRelegateRequestMain(data)
message.success(t('common.createSuccess'))
} else {
if(data.masterId){
data.id = data.masterId
}
await RelegateRequestMainApi.updateRelegateRequestMain(data)
message.success(t('common.updateSuccess'))
}

2
src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts

@ -668,7 +668,7 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isForm: false,
isTable: true,
isTable: false,
sort: 'custom',
isTableForm: false,
},

Loading…
Cancel
Save