|
@@ -223,6 +223,11 @@
|
|
|
this.$refs['inputForm'].validate(async (valid) => {
|
|
|
if (valid) {
|
|
|
this.loading = true
|
|
|
+ if (!this.inputForm.imprestAmountArrears) {
|
|
|
+ this.loading = false
|
|
|
+ this.$message.error('应收账款欠款金额不能为空')
|
|
|
+ throw new Error('应收账款欠款金额不能为空')
|
|
|
+ }
|
|
|
this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((data) => {
|
|
|
if (this.commonJS.isNotEmpty(data)) {
|
|
|
if (data === '欠款回收') {
|