修改 流程 企标制修订——产品标准 制修订类型为修订时不带入发布日期和企标实施日期
This commit is contained in:
@@ -565,6 +565,10 @@ export default {
|
||||
const form = Object.assign(data, data.attrInfoMap);
|
||||
const keys = Object.keys(this.form)
|
||||
const initForm = JSON.parse(JSON.stringify(this.initForm))
|
||||
if (this.form.standStatus === '2') {
|
||||
form.putTime = undefined
|
||||
form.issueTime = undefined
|
||||
}
|
||||
this.form = Object.assign(initForm, pick(form, keys), { standStatus: this.form.standStatus })
|
||||
// 对象空值转为空字符串
|
||||
Object.entries(this.form).forEach(([ key, value ]) => {
|
||||
|
||||
Reference in New Issue
Block a user