Browse Source

完善出库开票申请

master
yunuo970428 1 year ago
parent
commit
a667b6c3f4
  1. 16
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/daichukucheliang.vue
  2. 16
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/daichuku.vue

16
anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/daichukucheliang.vue

@ -228,15 +228,13 @@ export default {
if (this.sids.length > 0) {
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 && this.multipleSelection[i].loanSid !== this.multipleSelection[j].loanSid) {
this.$message({
showClose: true,
message: '请选择同一合同编号且同一贷款人的车辆!',
type: 'error'
})
return
}
if (this.multipleSelection[i].contractNo !== this.multipleSelection[this.multipleSelection.length - 1].contractNo && this.multipleSelection[i].loanSid === this.multipleSelection[this.multipleSelection.length - 1].loanSid) {
this.$message({
showClose: true,
message: '请选择同一合同编号且同一贷款人的车辆!',
type: 'error'
})
return
}
}
console.log(this.sids, 9999)

16
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/daichuku.vue

@ -228,15 +228,13 @@ export default {
if (this.sids.length > 0) {
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 && this.multipleSelection[i].loanSid !== this.multipleSelection[j].loanSid) {
this.$message({
showClose: true,
message: '请选择同一合同编号且同一贷款人的车辆!',
type: 'error'
})
return
}
if (this.multipleSelection[i].contractNo !== this.multipleSelection[this.multipleSelection.length - 1].contractNo && this.multipleSelection[i].loanSid === this.multipleSelection[this.multipleSelection.length - 1].loanSid) {
this.$message({
showClose: true,
message: '请选择同一合同编号且同一贷款人的车辆!',
type: 'error'
})
return
}
}
this.$emit('backData', this.sids)

Loading…
Cancel
Save