From b08d6dd897626cfbcf4b2471cee47abe357725d4 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 25 一月 2024 18:31:42 +0800
Subject: [PATCH] wms 产品模块 进货,出货2个区别开,进货跳转到入库明细表,出货跳转到出库明细表

---
 src/views/operate/outEnterLibrary/index.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/views/operate/outEnterLibrary/index.vue b/src/views/operate/outEnterLibrary/index.vue
index 9eb2e60..846578e 100644
--- a/src/views/operate/outEnterLibrary/index.vue
+++ b/src/views/operate/outEnterLibrary/index.vue
@@ -42,6 +42,7 @@
       v-if="editConfig.visible" 
       :edit-common-config="editConfig" 
       :add-name="addName"
+      :workType="workType"
     />
   </div>
 </template>
@@ -77,11 +78,11 @@
       },
       params: {},
       baseOperationTypeList:getDataByType("baseOperationTypeTwo"),
+      workType:-1
     }
   },
   created() {
     this.setTable()
-    console.log(this.$route.params)
     var paramsList = sessionStorage.getItem("paramsList")
     let params = {}
     if (paramsList) {
@@ -145,11 +146,11 @@
         },
         {
           label: "涓氬姟绫诲瀷",
-          prop: "baseOperationType",
+          prop: "operationTypeName",
           isShowColumn: true,
           default: true,
-          conversion: true,
-          getStatus: this.getBaseOperationTypeList
+          // conversion: true,
+          // getStatus: this.getBaseOperationTypeList
         },
         {
           label: "浠�",
@@ -219,6 +220,7 @@
     async getData() {
       if (this.params.name === "鎶ヨ〃") {
         await listByCondition({
+          // condition:"",
           keyWord:this.params.keyWord,
           produceId:this.params.produceId,
           unit:this.params.unit,
@@ -268,6 +270,7 @@
       this.getData()
     },
     tableRowClick(row,val) {
+      this.workType=row.baseOperationType
       this.editConfig.title = val
       getOperationInfo(row.operationId).then((res)=>{
         this.editConfig.infomation = { ...res.data }

--
Gitblit v1.8.0