Commit dca84766 authored by renjintao's avatar renjintao

订单报价bug

parent f02db6e4
...@@ -483,7 +483,12 @@ export default { ...@@ -483,7 +483,12 @@ export default {
} }
}); });
this.dataTable = res.result.items; this.dataTable = res.result.items;
this.materialId = res.result.items[0].materialId; try {
this.materialId = res.result.items[0].materialId
} catch (err) {
this.materialId = null
}
}); });
} }
if (this.selectName == "record") { if (this.selectName == "record") {
......
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