Просмотр исходного кода

fix:销售发货新增校验重复同产品,工序、批次号、颜色不能完全一致

liujt 2 дней назад
Родитель
Сommit
702c546b4c
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      src/views/saleManage/saleOrder/invoice/components/addInvoiceDialog.vue

+ 5 - 0
src/views/saleManage/saleOrder/invoice/components/addInvoiceDialog.vue

@@ -1043,6 +1043,11 @@
             });
             });
           });
           });
 
 
+          if (is) {
+            this.$message.error('同产品,工序、批次号、颜色不能完全一致!');
+            return;
+          }
+
           if (this.isUpdate) {
           if (this.isUpdate) {
             UpdateSendInformation(commitData)
             UpdateSendInformation(commitData)
               .then((res) => {
               .then((res) => {