Commit dce0dfbf by 杨北旺

修复bug

1 parent bdf44421
......@@ -710,11 +710,11 @@ export default {
operationalOptions: [
{
label: '非营运',
value: '1',
value: '1'
},
{
label: '营运',
value: '0',
value: '0'
}
]
}
......@@ -1921,6 +1921,7 @@ export default {
}
},
handleConfirm() {
try {
this.vaildGlassParams()
const vaidObj = this.equityRadio == 1 ? this.formatProduct : this.autoFormatProduct
const isEmptyObj = JSON.stringify(vaidObj) == '{}'
......@@ -1997,6 +1998,10 @@ export default {
})
}
})
} catch (error) {
console.log(error);
this.submit = false
}
},
handleReset() {
this.editForm = {
......@@ -2076,6 +2081,9 @@ export default {
if ((!this.attachmentList || !this.attachmentList.length) && this.attachmentListQuery.length) {
this.attachmentList = this.attachmentListQuery || []
}
if(!this.attachmentList){
this.attachmentList = []
}
this.attachmentList.forEach(el => {
if (_typeCode.includes(el.attachmentCode)) {
_code.push(el.attachmentCode)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!