Commit 93ea3b3a authored by 孙浩's avatar 孙浩

单号提交刷新

parent 6bd0108b
......@@ -1170,16 +1170,6 @@ export default {
if (index >= 9 && this.recode1[index].recordData === '') {
this.recode1[index].differenceValue2 = ''
}
if (index < this.recode1.length) {
if (this.recode1[index].recordData === '') {
this.SumList[index] = null
} else {
this.SumList[index] = Number(this.recode1[index].recordData)
}
this.calculate(this.removeEmptyValues(this.SumList), 1)
}
console.log('11111', this.SumList)
},
// 去除数组中的空值
removeEmptyValues(arr, sys) {
......@@ -1248,16 +1238,6 @@ export default {
if (index >= 9 && this.recode2[index].recordData === '') {
this.recode2[index].differenceValue2 = ''
}
if (index < this.recode2.length) {
if (this.recode2[index].recordData === '') {
this.SumList1[index] = null
} else {
this.SumList1[index] = Number(this.recode2[index].recordData)
}
this.calculate(this.removeEmptyValues(this.SumList1), 2)
}
},
/* 表单3的计算方法*/
......@@ -1915,6 +1895,7 @@ export default {
this.inspectJbAl2o3List.limitData = this.getStringByArray(this.recode3)
this.inspectInfoList.approveStatus = '0'
// const businessId = this.$route.query.businessId
this.getJcCode()
const ossIdList = this.getOssIdList()
const obj = {
incomeInspectInfo: this.inspectInfoList,
......@@ -1945,6 +1926,7 @@ export default {
this.inspectJbAl2o3List.standardTwoData = this.getStringByArray(this.recode2)
this.inspectJbAl2o3List.limitData = this.getStringByArray(this.recode3)
this.inspectInfoList.approveStatus = '1'
this.getJcCode()
const ossIdList = this.getOssIdList()
var obj = {
incomeInspectInfo: this.inspectInfoList,
......
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