fix 81729

This commit is contained in:
赵霄
2024-02-04 09:18:34 +08:00
parent 55f7648157
commit 0fd066154e
@@ -588,8 +588,8 @@ export default {
return return
} }
// 入库流程需要有standard_class、standard_number_temp、year_number、standard_name // 入库流程需要有standard_class、standard_number_temp、year_number、standard_name
if (operateType === OperationType.ENTRY.value && !!standard_class && !!standard_number_temp && !!year_number && !!standard_name) { if (operateType === OperationType.ENTRY.value && !!standard_class && !!standard_number_temp && !!standard_name) {
const processName = `${standard_class} ${standard_number_temp}-${year_number}-${standard_name}-${OperationType.ENTRY.text}` const processName = `${standard_class} ${standard_number_temp}-${year_number ? year_number + '-' : ''}${standard_name}-${OperationType.ENTRY.text}`
this.processInfoForm.setFieldsValue({ processName }) this.processInfoForm.setFieldsValue({ processName })
return return
} }