|
|
@ -445,7 +445,7 @@ |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
<!-- ==================== 主车优惠明细 ======================================== --> |
|
|
|
<el-collapse v-model="activeNames" @change="handleChange"> |
|
|
|
<el-collapse v-model="activeNames"> |
|
|
|
<el-collapse-item name="2"> |
|
|
|
<template slot="title"> |
|
|
|
主车优惠明细 |
|
|
@ -526,7 +526,6 @@ |
|
|
|
<el-col :span="4" class="baoxianInput"> |
|
|
|
<el-form-item> |
|
|
|
<el-input v-model="temp.busSalesOrderInsurance.insuranceNum" |
|
|
|
oninput="temp.busSalesOrderInsurance.insuranceNum=temp.busSalesOrderInsurance.insuranceNum.replace(/[^\d]/g,'')" |
|
|
|
class="addinputw" clearable |
|
|
|
placeholder="请输入公司入保期数"/> |
|
|
|
</el-form-item> |
|
|
@ -1375,9 +1374,6 @@ export default { |
|
|
|
this.getType() |
|
|
|
}, |
|
|
|
|
|
|
|
handleChange(val) { |
|
|
|
console.log(val); |
|
|
|
}, |
|
|
|
// // ---------------- 上传附件 ---------------- |
|
|
|
// 上传附件 服务器返回的内容 |
|
|
|
uploadSuccessHetong(response, file) { |
|
|
@ -1387,11 +1383,8 @@ export default { |
|
|
|
console.log('已上传成功的合同', this.temp.busSalesOrderMakeup.contractPath) |
|
|
|
}, |
|
|
|
uploadSuccessKuanxiang(response, file) { |
|
|
|
console.log('112233', scope.row.payPath) |
|
|
|
console.log('上传款项附件response:', response) |
|
|
|
console.log('上传款项附件file:', file) |
|
|
|
// row.payPath = response.data.fullUrl |
|
|
|
// console.log('款项payPath',row.payPath) |
|
|
|
}, |
|
|
|
|
|
|
|
// ---------------- 计算属性 ---------------- |
|
|
@ -1425,15 +1418,12 @@ export default { |
|
|
|
} |
|
|
|
// 选择采购订单时 |
|
|
|
if (this.isXuanzeShow == '2') { |
|
|
|
console.log('采购订单长度',this.temp.busSalesVehicleOrderList) |
|
|
|
if (this.temp.busSalesVehicleOrderList.length > 0) { |
|
|
|
const taishu = [] |
|
|
|
this.temp.busSalesVehicleOrderList.forEach((element) => { |
|
|
|
console.log('采购订单本次使用的台数',element.usingNum) |
|
|
|
if (element.usingNum !== undefined) { |
|
|
|
taishu.push(element.usingNum) |
|
|
|
} |
|
|
|
console.log('台数', element.usingNum) |
|
|
|
}) |
|
|
|
if (taishu.length > 0) { |
|
|
|
this.temp.busSalesOrderPrice.quantity = taishu.reduce(this.getSum); |
|
|
@ -2061,7 +2051,6 @@ export default { |
|
|
|
}, |
|
|
|
// 现车查询 |
|
|
|
getXiancheList() { |
|
|
|
console.log('type',this.temp.busSalesOrderModel.type) |
|
|
|
this.xiancheLoading = true |
|
|
|
this.xiancheList.params.customerSid = this.temp.customerSid |
|
|
|
this.xiancheList.params.modelConfigSid = this.temp.busSalesOrderModel.modelConfigSid |
|
|
@ -2174,7 +2163,6 @@ export default { |
|
|
|
return |
|
|
|
} else { |
|
|
|
const caigouSids = [] |
|
|
|
console.log('123',this.caigouChoice[i]) |
|
|
|
// this.temp.busSalesVehicleOrderList.push(this.caigouChoice[i]) |
|
|
|
this.temp.busSalesVehicleOrderList.push({ |
|
|
|
linkNo: this.caigouChoice[i].linkNo, |
|
|
|