|
|
@ -825,7 +825,7 @@ export default { |
|
|
|
let gsf = '0' |
|
|
|
if (this.formobj.sitemVos.length > 0) { |
|
|
|
this.formobj.sitemVos.forEach((e) => { |
|
|
|
if (e.serviceItem !== '') { |
|
|
|
if (e.serviceItemSid !== '') { |
|
|
|
gsf = Math.round((parseFloat(gsf) + parseFloat(e.price !== '' ? e.price : '0')) * 100) / 100 |
|
|
|
} |
|
|
|
}) |
|
|
@ -874,7 +874,7 @@ export default { |
|
|
|
let yh = '0' |
|
|
|
if (this.formobj.sitemVos.length > 0) { |
|
|
|
this.formobj.sitemVos.forEach((e) => { |
|
|
|
if (e.serviceItem !== '') { |
|
|
|
if (e.serviceItemSid !== '') { |
|
|
|
yh = Math.round((parseFloat(yh) + parseFloat(e.discountAmount !== '' ? e.discountAmount : '0')) * 100) / 100 |
|
|
|
} |
|
|
|
}) |
|
|
@ -1062,6 +1062,14 @@ export default { |
|
|
|
const choose = this.billType_list.filter((item) => item.dictValue === value) |
|
|
|
if (choose.length > 0 && choose !== null) { |
|
|
|
this.formobj.billTypeKey = choose[0].dictKey |
|
|
|
// 针对预约单转成维修单时,单据类型为欠款月结且客户不为空时,对接人信息需要从欠款月结客户中获取对应的对接人信息 |
|
|
|
if (this.formobj.billTypeKey === '2' && this.formobj.customerSid !== '') { |
|
|
|
req.getListByCustomerSid({ customerSid: this.formobj.customerSid }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.people_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.formobj.billTypeKey = '' |
|
|
|
} |
|
|
@ -1788,6 +1796,7 @@ export default { |
|
|
|
} |
|
|
|
this.serviceData = [] |
|
|
|
this.subjoinData = [] |
|
|
|
this.activeNames = '1' |
|
|
|
this.settleVisible = false |
|
|
|
this.submitdisabled = false |
|
|
|
this.$emit('doback') |
|
|
@ -1821,4 +1830,8 @@ export default { |
|
|
|
line-height: 1px; |
|
|
|
vertical-align: middle; |
|
|
|
} |
|
|
|
/deep/ .el-collapse .el-collapse-item .el-collapse-item__header { |
|
|
|
height: 42px !important; |
|
|
|
line-height: 42px !important; |
|
|
|
} |
|
|
|
</style> |
|
|
|