Commit 4b588db8 by 杨明

Merge branch 'v3.6.0' of http://192.168.3.233:8090/saas/scrm-micro-battles into v3.6.0

2 parents 3910814a c92a3db7
...@@ -568,7 +568,7 @@ import { businessType, orderManageStatusList, afterSaleStatusList, orderSourceLi ...@@ -568,7 +568,7 @@ import { businessType, orderManageStatusList, afterSaleStatusList, orderSourceLi
const userInfo = [ const userInfo = [
{ {
label: '员工名称:', label: '员工名称:',
key: 'shareStaffName' key: 'confirmInstallStaffName'
}, },
{ {
label: '提交时间:', label: '提交时间:',
...@@ -1522,11 +1522,11 @@ export default { ...@@ -1522,11 +1522,11 @@ 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 => {
if(result){ if(result){
...@@ -1537,6 +1537,14 @@ export default { ...@@ -1537,6 +1537,14 @@ export default {
result.tailPrice = (result.crowdFundingPrice - result.payPrice) + '元' result.tailPrice = (result.crowdFundingPrice - result.payPrice) + '元'
this.approvalInfo = result this.approvalInfo = result
this.writeOffApprovalVisible = true this.writeOffApprovalVisible = true
}else{
this.$apis.orderManage
.getInstallInfo({
subOrderCode: val.orderCode
}).then(result => {
this.approvalInfo = result
this.writeOffApprovalVisible = true
})
} }
} }
}) })
...@@ -1573,7 +1581,7 @@ export default { ...@@ -1573,7 +1581,7 @@ export default {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
callback: action => { callback: utils.debounce((action) => {
if (action == 'confirm') { if (action == 'confirm') {
this.$apis[apiModule][apiName](apiParams).then(res => { this.$apis[apiModule][apiName](apiParams).then(res => {
this.$message({ this.$message({
...@@ -1587,7 +1595,7 @@ export default { ...@@ -1587,7 +1595,7 @@ export default {
} }
}) })
} }
} }, 500)
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!