Browse Source

完善车辆外采--订金账户

master
yunuo970428 3 years ago
parent
commit
863c0a0bb3
  1. 4
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue
  2. 8
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue

4
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue

@ -724,6 +724,10 @@ export default {
this.$message({ showClose: true, type: 'error', message: '因其中订金大于采购单价,订金使用规则请选择均分使用' })
return
}
if (this.formobj.deposit !== '0' && this.formobj.deposit !== '' && this.formobj.modelAccountName === '') {
this.$message({ showClose: true, type: 'error', message: '因其中订金不为0,订金账户不能为空' })
return
}
//
// this.submitdisabled = true
this.formobj.userSid = window.sessionStorage.getItem('userSid')

8
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue

@ -553,6 +553,10 @@ export default {
this.$message({ showClose: true, type: 'error', message: '因其中订金大于采购单价,订金使用规则请选择均分使用' })
return
}
if (this.formobj.deposit !== '0' && this.formobj.deposit !== '' && this.formobj.modelAccountName === '') {
this.$message({ showClose: true, type: 'error', message: '因其中订金不为0,订金账户不能为空' })
return
}
//
this.submitdisabled = true
this.formobj.userSid = window.sessionStorage.getItem('userSid')
@ -784,6 +788,10 @@ export default {
this.$message({ showClose: true, type: 'error', message: '因其中订金大于采购单价,订金使用规则请选择均分使用' })
return
}
if (this.formobj.deposit !== '0' && this.formobj.deposit !== '' && this.formobj.modelAccountName === '') {
this.$message({ showClose: true, type: 'error', message: '因其中订金不为0,订金账户不能为空' })
return
}
this.$refs['form_obj'].validate(valid => {
if (valid) {
this.submitdisabled = true

Loading…
Cancel
Save