计算重量
This commit is contained in:
@@ -1175,8 +1175,23 @@ export default {
|
|||||||
if (response.data[i].工艺要求 === null) {
|
if (response.data[i].工艺要求 === null) {
|
||||||
response.data[i].工艺要求 = ''
|
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 = 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
|
this.newNum = this.partNumValue
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.loading0 = false
|
this.loading0 = false
|
||||||
|
|||||||
Reference in New Issue
Block a user