From f1ee5a9bc88eff3a75245569e091fe352a452922 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 03 六月 2023 09:11:29 +0800
Subject: [PATCH] 1.递交

---
 src/views/produceManager/productWarehouse.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/produceManager/productWarehouse.vue b/src/views/produceManager/productWarehouse.vue
index 0bf9288..6de1dca 100644
--- a/src/views/produceManager/productWarehouse.vue
+++ b/src/views/produceManager/productWarehouse.vue
@@ -694,8 +694,8 @@
         incbit: '', // 娴佹按鍙�
         documentType: 'Y', // 鍗曟嵁绫诲瀷
 
-        wkshopcode: 'CJ001', // 鐢熶骇杞﹂棿
-        erpordercode: 'MO-2023-05-0007', // 璁㈠崟缂栧彿
+        wkshopcode: '', // 鐢熶骇杞﹂棿
+        erpordercode: '', // 璁㈠崟缂栧彿
         mesordercode: '', // 宸ュ崟缂栧彿
         partcode: '', // 浜у搧缂栫爜
         partname: '', // 浜у搧鍚嶇О
@@ -742,7 +742,7 @@
 
     this.getProductInHouseOrderCodeSearch()
 
-    this.getProductInHouseOrderSearch()
+    // this.getProductInHouseOrderSearch()
   },
   methods: {
     async getProductInHouseOrderCodeSearch() {
@@ -974,6 +974,9 @@
     // 鍏ュ簱鎻愪氦
     async  submit() {
       await this.tabClick()
+      if (this.multipleSelection.find(i => !i.stockcode)) {
+        return this.$message('鏄庣粏閲岄潰鏈変骇鍝佹湭濉啓浠撳簱锛�')
+      }
       this.multipleSelection.forEach(i => {
         i.stockname = this.stockcodeArr.find(j => j.code === i.stockcode).name
         i.id = this.stockcodeArr.find(j => j.code === i.stockcode).id
@@ -1004,7 +1007,8 @@
         voucherdate: handleDatetime(new Date().getTime()),
         madedate: handleDatetime(new Date().getTime()),
         createdtime: handleDatetime2(new Date().getTime()),
-        DataSource: '56133'
+        DataSource: '56133',
+        idsourcevouchertype: 69
       }
 
       const subsum = []

--
Gitblit v1.9.3