保存standCode

This commit is contained in:
zyn
2023-05-04 16:32:58 +08:00
parent 6b5d91ffe8
commit 034dbe8fad
@@ -3236,6 +3236,10 @@
// }
this.saveLoading = true
if (this.form.reviseStatus == '3' && this.standardCheckedList.length > 0) {
this.form.standCode = this.standardCheckedList[0].standCode
this.form.id = this.standardCheckedList[0].id
}
let _formData = new FormData()
this.fileInfoHandle()
_formData.append('id', this.bpnId || '')
@@ -3392,7 +3396,7 @@
json.applyUpdUserId = this.form.applyUpdUserId
json.prcCreateUser = this.form.prcCreateUser
json.prcCreateUserName = this.form.prcCreateUserName
if (this.form.reviseStatus == '3') {
if (this.form.reviseStatus == '3' && this.standardCheckedList.length > 0) {
json.standCode = this.standardCheckedList[0].standCode
json.id = this.standardCheckedList[0].id
}