Browse Source

完善车辆台账--买断日期

zhanglei
yunuo970428 2 years ago
parent
commit
859c8bfd6d
  1. 4
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangAdd.vue
  2. 4
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangMai.vue

4
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangAdd.vue

@ -674,6 +674,10 @@ export default {
this.$message({ showClose: true, type: 'error', message: '请选择车型' })
return
}
if (this.temp.settlementStatusValue !== '' && this.temp.settlementStatusValue === '买断' && this.temp.solidDate === '') {
this.$message({ showClose: true, type: 'error', message: '因买断状态为买断,则买断日期不能为空' })
return
}
this.$refs['dataForm'].validate((valid) => {
if (valid) {
this.FormLoading = true

4
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangMai.vue

@ -104,6 +104,10 @@ export default {
//
handleCreate() {
this.getUrl()
if (this.temp.solidDate === '') {
this.$message({ showClose: true, message: '买断日期不能为空!', type: 'error' })
return
}
if (this.temp.commonAppendix.length < 1) {
this.$message({
showClose: true,

Loading…
Cancel
Save