|
|
@ -143,7 +143,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { deliveredFinSelect } from '@/api/chukuguanli/chukubanli' |
|
|
|
import { deliveredFinSelecByBusVinSidPC, deliveredFinSelect } from '@/api/chukuguanli/chukubanli' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'PaymentTicket', |
|
|
@ -186,12 +186,22 @@ export default { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['dataForm'].clearValidate() |
|
|
|
}) |
|
|
|
deliveredFinSelect({ contractNo: contractId, vinSid: row.vinSid }).then((response) => { |
|
|
|
if (response.success) { |
|
|
|
console.log(response.data) |
|
|
|
this.formobj = response.data |
|
|
|
} |
|
|
|
}) |
|
|
|
if (row.vinSid !== null && row.vinSid !== undefined) { |
|
|
|
deliveredFinSelect({ contractNo: contractId, vinSid: row.vinSid }).then((response) => { |
|
|
|
if (response.success) { |
|
|
|
console.log(response.data) |
|
|
|
this.formobj = response.data |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
// 销售订单退车查看款票情况时执行此方法 |
|
|
|
if (row.busVinSid !== null && row.busVinSid !== undefined) { |
|
|
|
deliveredFinSelecByBusVinSidPC({ contractNo: contractId, busVinSid: row.busVinSid }).then((res) =>{ |
|
|
|
if (res.success) { |
|
|
|
this.formobj = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
// ------------ 功能实现 ------------ |
|
|
|
// 返回 |
|
|
|