Explorar el Código

发货确认单

yusheng hace 10 meses
padre
commit
2b62ddcdfe

+ 3 - 0
src/views/saleManage/saleOrder/invoiceConfirm/components/addInvoiceDialog.vue

@@ -889,6 +889,9 @@
           if (!this.isUpdate) {
             delete this.form.id;
           }
+          if (!this.form.productList?.length) {
+            return this.$message.error('物品清单不能为空!');
+          }
           this.form.repliedFiles = this.form.repliedFiles || [];
 
           this.form.replied = this.form.repliedFiles.length > 0 ? 1 : 0;

+ 2 - 12
src/views/saleManage/saleOrder/invoiceConfirm/index.vue

@@ -435,22 +435,12 @@
               businessName: res.contactName,
               businessType: '发货确认单'
             }
-            // callBackMethodType : '1',
-            // callBackMethod : 'proTargetPlanApproveApiImpl.updatePlanApprovalStatus',
-            // pcHandle : '/bpm/handleTask/components/project-manage/plan-manage/submit.vue',
-            // pcView : '/bpm/handleTask/components/project-manage/plan-manage/detailDialog.vue',
-            // miniHandle : '',
-            // miniView : '',
+ 
           };
 
           this.$refs.processSubmitDialogRef.init(params);
         });
-        // submit({
-        //   businessId: res.id
-        // }).then((res) => {
-        //   this.$message.success('提交成功!');
-        //   this.reload();
-        // });
+
       },
       //查看详情
       openorderDetail(row, type) {