Commit 69029bc4 by zhangquan

还原逻辑

1 parent 2b5af7d4
......@@ -386,7 +386,7 @@
/>
请确定是否核销此订单?
</li>
<li class="approvalInfoItem">员工名称: {{ approvalInfo.confirmInstallStaffName }}</li>
<li class="approvalInfoItem">员工名称: {{ approvalInfo.staffName }}</li>
<li class="approvalInfoItem">提交时间: {{ approvalInfo.confirmInstallTime }}</li>
</ul>
</GLDialog>
......@@ -1522,10 +1522,10 @@ export default {
},
// 核销审批
handleWriteOffApproval (val) {
// val.orderCode = 'S2110081902337632'
this.orderCode = val.orderCode
this.$apis.orderManage
.getOrderDetailApi({
// orderCode: 'S2110081902337632'
orderCode: val.orderCode
})
.then(result => {
......@@ -1536,8 +1536,16 @@ export default {
result.payPrice = result.payPrice || 0
result.tailPrice = (result.crowdFundingPrice - result.payPrice) + '元'
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!