chenrui před 4 roky
rodič
revize
0fee80d1e1

+ 4 - 0
src/views/financialManagement/companyReceivablePayable/collectionPayment.vue

@@ -238,6 +238,10 @@ export default {
     // 提交
     handleSubmit () {
       const _this = this
+      if (_this.chooseLoadData.length == 0) {
+        _this.$message.warning('请选择单据后再提交信息')
+        return
+      }
       this.$refs.ruleForm.validate(valid => {
         if (valid) {
           const form = _this.form