Commit 3cd139ca by 杨北旺

修改项目价格

1 parent 70ccb9fd
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
<el-button type="primary" plain @click="confirmSubmit(2)">草稿</el-button> <el-button type="primary" plain @click="confirmSubmit(2)">草稿</el-button>
</div> </div>
<div class="page-btm-btn" v-if="orderStatus == 15"> <div class="page-btm-btn" v-if="orderStatus == 15">
<el-button @click="toShowSP" type="primary">定损通过</el-button> <el-button @click="toShowSP" type="primary">通过</el-button>
<el-button @click="toShowSPNoPass" type="primary" plain>定损不通过</el-button> <el-button @click="toShowSPNoPass" type="primary" plain>不通过</el-button>
</div> </div>
<GLDialog class="gl-form-page gl-form-min" title="定损通过" mode="mid" :visible.sync="showPassedDialog" @onOk="comfirmPass" @onCancel="canclePass"> <GLDialog class="gl-form-page gl-form-min" title="定损通过" mode="mid" :visible.sync="showPassedDialog" @onOk="comfirmPass" @onCancel="canclePass">
<div class="passed-wrap"> <div class="passed-wrap">
...@@ -372,12 +372,11 @@ export default { ...@@ -372,12 +372,11 @@ export default {
}, },
// 定损审核通过 // 定损审核通过
comfirmPass() { comfirmPass() {
console.log(this.accountForm, this.saveObj) console.log(this.approveAmountsInput)
console.log(this.serviceItemsList)
const sc = ['SC0019', 'SC0023'], const sc = ['SC0019', 'SC0023'],
sc_obg = {} sc_obg = {}
for (let i = 0; i < this.serviceItemsList.length; i++) { for (let i = 0; i < this.serviceItemsList.length; i++) {
sc_obg[this.serviceItemsList[i].serviceItemCode] = this.approveAmounts sc_obg[this.serviceItemsList[i].serviceItemCode] = this.approveAmountsInput[i]
} }
this.$apis.claims.renewalAudit({ ...this.editForm, operation: 4, id: this.routeInfo.orderId, ...this.accountForm, approveAmounts: JSON.stringify(sc_obg) }).then(res => {}) this.$apis.claims.renewalAudit({ ...this.editForm, operation: 4, id: this.routeInfo.orderId, ...this.accountForm, approveAmounts: JSON.stringify(sc_obg) }).then(res => {})
this.toBackList() this.toBackList()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!