-
+
是
否
@@ -365,7 +365,7 @@ export default {
// 选择待出库车辆
handleChoose() {
this.viewState = 2
- this.$refs['divSelect'].showData(this.formobj.carList, this.formobj.contractId)
+ this.$refs['divSelect'].showData(this.formobj.carList, this.formobj.contractId, this.formobj.loanSid)
},
// 删除车辆信息
handleDel(index) {
@@ -397,6 +397,11 @@ export default {
if (resp.success) {
this.formobj = resp.data
this.formobj.userSid = window.sessionStorage.getItem('userSid')
+ // 出库开票为贷款业务时,是否开票默认为否且不能修改
+ if (this.formobj.paymentMethodKey === '2') {
+ this.formobj.hasInvoice = '否'
+ this.formobj.hasInvoiceKey = '0'
+ }
selectCustomerList({ staffSid: this.formobj.pcStaffSid, userSid: '', orgPath: '' }).then((resp) => {
if (resp.success) {
this.customer_list = resp.data
diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/daichuku.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/daichuku.vue
index 3b4aee189b..dcea333a5e 100644
--- a/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/daichuku.vue
+++ b/anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/daichuku.vue
@@ -45,6 +45,11 @@
{{ scope.row.contractNo }}
+
+
+ {{ scope.row.loanName }}
+
+
{{ scope.row.name }}
@@ -114,6 +119,7 @@ export default {
total: 0,
params: {
contractNo: '', // 合同编号
+ loanSid: '',
name: '', // 客户名称
vinNo: '', // 车架号
userSid: '',
@@ -140,13 +146,14 @@ export default {
break
}
},
- showData(value, contractNo) {
+ showData(value, contractNo, loanSid) {
const aa = []
if (value.length > 0) {
for (var i = 0; i < value.length; i++) {
aa.push(value[i].vinSid)
}
this.listQuery.params.contractNo = contractNo
+ this.listQuery.params.loanSid = loanSid
this.listQuery.params.vinSid = aa
} else {
this.listQuery.params.vinSid = []
@@ -222,10 +229,10 @@ export default {
this.FormLoading = true
for (var i = 0; i < this.multipleSelection.length; i++) {
for (var j = i + 1; j < this.multipleSelection.length; j++) {
- if (this.multipleSelection[i].contractNo !== this.multipleSelection[j].contractNo) {
+ if (this.multipleSelection[i].contractNo !== this.multipleSelection[j].contractNo && this.multipleSelection[i].loanSid !== this.multipleSelection[j].loanSid) {
this.$message({
showClose: true,
- message: '请选择同一合同编号的车辆!',
+ message: '请选择同一合同编号且同一贷款人的车辆!',
type: 'error'
})
return