计算重量

This commit is contained in:
chenjianan
2019-05-16 11:15:32 +08:00
parent c103c64a8a
commit 8c4c48bba4

View File

@@ -1175,8 +1175,23 @@ export default {
if (response.data[i].工艺要求 === null) {
response.data[i].工艺要求 = ''
}
if (response.data[i].工艺名称 === null || response.data[i].工艺名称 === '') {
response.data[i].工艺难度等级 = ''
response.data[i].单件定额工时 = ''
response.data[i].准结定额工时 = ''
}
}
this.tableData = response.data
this.tableData.map(h => {
this.$set(h, '工艺分类及名称', [])
this.options.map(v => {
v.children.map(l => {
if (l.value === h.工艺编号) {
h.工艺分类及名称 = [Number(v.value), Number(h.工艺编号)]
}
})
})
})
this.newNum = this.partNumValue
}).then(() => {
this.loading0 = false