修改增加mold_master_name engineer_name

This commit is contained in:
xielue 2023-10-06 19:32:07 +08:00
parent 738e7a172e
commit 8b2f2da7d5
1 changed files with 6 additions and 1 deletions

View File

@ -810,8 +810,13 @@ export default {
postdata.engineer_uid = this.$mk.toBigInt(postdata.engineer_uid); postdata.engineer_uid = this.$mk.toBigInt(postdata.engineer_uid);
} }
if (postdata.mold_master_user_detail) {
postdata.mold_master_name = postdata.mold_master_user_detail.name || '';
}
if (postdata.engineer_detail) {
postdata.engineer_name = postdata.engineer_detail.name || '';
}
postdata.mold_production_order_component = !this.isEdit ? [] : { insertList: [], deleteList: [], updateList: [] }; postdata.mold_production_order_component = !this.isEdit ? [] : { insertList: [], deleteList: [], updateList: [] };
postdata.mold_production_order_component_processes = !this.isEdit ? [] : { insertList: [], deleteList: [], updateList: [] }; postdata.mold_production_order_component_processes = !this.isEdit ? [] : { insertList: [], deleteList: [], updateList: [] };