From 0fdfdd9e3c103cbf75087e9fb77bcdb28a761aa7 Mon Sep 17 00:00:00 2001
From: anthonywj <yewenjie20@vip.qq.com>
Date: Mon, 13 Mar 2023 20:54:33 +0800
Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .env.production                         | 2 +-
 src/layout/components/Navbar.vue        | 2 +-
 src/views/inout/DialogCreateOrder.vue   | 8 ++++++--
 src/views/inout/IoCheckSuccessOrder.vue | 2 +-
 4 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/.env.production b/.env.production
index 9712998..53b4793 100644
--- a/.env.production
+++ b/.env.production
@@ -4,7 +4,7 @@ VUE_APP_TITLE = UDI自助平台
 # 生产环境配置
 ENV = 'production'
 # VUE_APP_BASE_API = 'http://116.204.71.86:9150/UDI_WMS_MC/'
-VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_SPMS_SERVER/'
+VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_SPMS_SERVER/'
 # VUE_APP_BASE_API = 'http://192.168.0.66:9160/UDI_WMS_MC/'
 # 应用访问路径 例如使用前缀 /admin/
 VUE_APP_CONTEXT_PATH = '/UDI_SPMS_CLIENT/'
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 0bfff01..5dc6758 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -9,7 +9,7 @@
       <template v-if="device!=='mobile'">
 
         <div class="inv-hos-title">
-          <span style="font-weight: bold;color: #303133;">平和县医院</span>
+          <span style="font-weight: bold;color: #303133;">平潭协和医院</span>
           <span
             style="margin-right: 18px;margin-left:8px;color: #2d8cf0;font-size: 14px;">({{ inv }})</span>
         </div>
diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue
index d378a63..06a10de 100644
--- a/src/views/inout/DialogCreateOrder.vue
+++ b/src/views/inout/DialogCreateOrder.vue
@@ -449,8 +449,11 @@ export default {
         this.bizShow = false;
       if (this.curAction.corpType == 0 || this.curAction.corpType == 2 || (this.curAction.corpType == 1 && !this.curAction.genUnit)) {
         //1.切换往来单位
-        this.orderFormData.fromCorp = null;
-        this.findMethod();
+        if(!this.isSupVesion){
+          this.orderFormData.fromCorp = null;
+          this.findMethod();
+        }
+
       } else if (this.curAction.corpType == 3) {
         //2. 切换往来仓库
         this.orderFormData.fromInvCode = null;
@@ -853,6 +856,7 @@ export default {
       let customerId = this.$store.getters.customerId;
       if (customerId != '110') {
         this.orderFormData.fromCorp = customerId;
+        this.findMethod(this.orderFormData.fromCorp);
         this.isSupVesion = true;
       } else {
         this.orderFormData.fromCorp = null;
diff --git a/src/views/inout/IoCheckSuccessOrder.vue b/src/views/inout/IoCheckSuccessOrder.vue
index a35f4d9..fffa667 100644
--- a/src/views/inout/IoCheckSuccessOrder.vue
+++ b/src/views/inout/IoCheckSuccessOrder.vue
@@ -639,7 +639,7 @@ export default {
     printOrder(row) {
       let tQuery = {
         action: row.action,
-        moduleId: 1,
+        moduleId: 2,
       }
       this.loading = true;
       inspectionOrderPDFFromTemplateFile(tQuery).then((response) => {