Commit 69029bc4 by zhangquan

还原逻辑

1 parent 2b5af7d4
...@@ -386,7 +386,7 @@ ...@@ -386,7 +386,7 @@
/> />
请确定是否核销此订单? 请确定是否核销此订单?
</li> </li>
<li class="approvalInfoItem">员工名称: {{ approvalInfo.confirmInstallStaffName }}</li> <li class="approvalInfoItem">员工名称: {{ approvalInfo.staffName }}</li>
<li class="approvalInfoItem">提交时间: {{ approvalInfo.confirmInstallTime }}</li> <li class="approvalInfoItem">提交时间: {{ approvalInfo.confirmInstallTime }}</li>
</ul> </ul>
</GLDialog> </GLDialog>
...@@ -1522,10 +1522,10 @@ export default { ...@@ -1522,10 +1522,10 @@ export default {
}, },
// 核销审批 // 核销审批
handleWriteOffApproval (val) { handleWriteOffApproval (val) {
// val.orderCode = 'S2110081902337632'
this.orderCode = val.orderCode this.orderCode = val.orderCode
this.$apis.orderManage this.$apis.orderManage
.getOrderDetailApi({ .getOrderDetailApi({
// orderCode: 'S2110081902337632'
orderCode: val.orderCode orderCode: val.orderCode
}) })
.then(result => { .then(result => {
...@@ -1536,8 +1536,16 @@ export default { ...@@ -1536,8 +1536,16 @@ export default {
result.payPrice = result.payPrice || 0 result.payPrice = result.payPrice || 0
result.tailPrice = (result.crowdFundingPrice - result.payPrice) + '元' result.tailPrice = (result.crowdFundingPrice - result.payPrice) + '元'
this.approvalInfo = result this.approvalInfo = result
this.writeOffApprovalVisible = true
}else{
this.$apis.orderManage
.getInstallInfo({
subOrderCode: val.orderCode
}).then(result => {
this.approvalInfo = result
this.writeOffApprovalVisible = true
})
} }
this.writeOffApprovalVisible = true
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!