Commit 4a86f1fc by 杨北旺

修复bug

1 parent c9be0573
<!-- 权益订单 -->
<template>
<div>
<report :renewDisable="orderStatus!=0" @toSearchOrderDetail="toSearchOrderDetail" ref="reportRef" :isGH="routeInfo.isGH" :pageType="pageType" :editForm.sync="editForm"></report>
<report :key="comKey" :renewDisable="orderStatus!=0" @toSearchOrderDetail="toSearchOrderDetail" ref="reportRef" :isGH="routeInfo.isGH" :pageType="pageType" :editForm.sync="editForm"></report>
<repair :renewDisable="orderStatus!=0" ref="repairRef" @changeObjectType="changeObjectType" :isGH="routeInfo.isGH" :pageType="pageType" :serviceItemsList.sync="serviceItemsList" :totalPrice.sync="totalPrice" :accountForm.sync="accountForm"></repair>
<material :renewDisable="orderStatus!=0" :isXB="true" ref="materialRef" :pageType="pageType" :materialForm.sync="materialForm"></material>
<!-- 案件说明 -->
......@@ -227,6 +227,7 @@ export default {
item.operation = obj_o[item.operation]
})
this.recordList = recordList
this.comKey = new Date()
})
},
// 新增的时候,输入合同号,带出信息
......@@ -428,7 +429,7 @@ export default {
toSubmitGuoRen() {
let approveAmounts = {}
this.serviceItemsList.forEach(el => {
Object.assign(approveAmounts, { [el.serviceItemCode]: el.applyAmount })
Object.assign(approveAmounts, { [el.serviceItemCode]: el.approveAmount })
})
let files = []
for (let i in this.materialForm) {
......@@ -470,8 +471,8 @@ export default {
} else if (checkPlan.indexOf('.') >= 0) {
checkPlan = checkPlan.replace(/^()*(\d+)\.(\d\d).*$/, '$1$2.$3') // 只能输入两个小数
}
console.log(checkPlan)
this.$set(this.serviceItemsList[id], 'approveAmount', checkPlan)
this.approveAmountsInput[id] = checkPlan
}
}
}
......
......@@ -84,7 +84,7 @@ export default {
return '去处理'
},
condition: row => {
return [15,14,0].includes(row.scope.status)
return [15,0].includes(row.scope.status)
},
attrs: {
type: 'text',
......@@ -100,7 +100,7 @@ export default {
return '查看'
},
condition: row => {
return [1, 3, 4, 17,2].includes(row.scope.status)
return [1, 3, 4, 17,2,14].includes(row.scope.status)
},
attrs: {
type: 'text',
......@@ -341,7 +341,8 @@ export default {
this.searchForm = {
searchText: '',
status: '',
commitDate: ''
commitDate: '',
equitySource:1
}
this.getTableData()
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!