Commit bf20e9b5 authored by 沈翠玲's avatar 沈翠玲

修改bug

parent a3fd3d23
......@@ -1523,7 +1523,7 @@ export default {
if (!val) return
const datas = Object.assign({}, this.feedbackForms[0]);
this.$u.api.validateSerialNo({
"qrcode": datas.qrcode,
"qrcode": this.feedbackForms[0]['oldqrcode'] ? this.feedbackForms[0]['oldqrcode'] : datas.qrcode,
"taskWorkunitId": datas.taskWorkunitId
}).then(res => {
if (res.code === 200) {
......@@ -1560,7 +1560,7 @@ export default {
printContents: item.whether == '1' ? item.printContents : null
}
if (item.isSerialReport && Number(item.isSerialReport) === 1) {
par['qrcode'] = item.qrcode
par['qrcode'] = item.oldqrcode ? item.oldqrcode : item.qrcode
par['decompressionValue'] = item.decompressionValue
par['remark'] = item.remark
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment