From 9fe356cfff4787b5ccba2d9957c08af189af7e3b Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 28 二月 2024 16:36:33 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/crm-web into dev

---
 src/components/makepager/mixin/codeMixin.js |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/components/makepager/mixin/codeMixin.js b/src/components/makepager/mixin/codeMixin.js
index afd3d26..ff2ead3 100644
--- a/src/components/makepager/mixin/codeMixin.js
+++ b/src/components/makepager/mixin/codeMixin.js
@@ -1,5 +1,5 @@
 import WordInput from "@/components/wordInput"
-import { getCodeStandardList,getAutoCode } from "@/api/common/standard"
+import { getCodeStandardList,getAutoCode,useSystemSet } from "@/api/common/standard"
 export default {
   components: {
     WordInput
@@ -18,6 +18,11 @@
       objCode: { name: "", page: 0, pageSize: 0, type: "璺熻繘璁板綍缂栫爜", codeStandID: "" },
       codeRule: {},
       codeLength: 0,
+      autoCodeHeadersObj:{
+        Xsjh:'',
+        Bjd:'',
+        Ywjh:'',
+      }
     }
   },
 
@@ -91,6 +96,7 @@
     async getAutoCodeValue() {
       if(Object.keys(this.codeRule).length>0){
         const res = await getAutoCode(this.codeRule);
+        console.log(res,'=====res autocode')
         if (res.code == 200) {
           this.$set(this.editConfig.infomation, 'number', res.data?res.data:'')
         }else{
@@ -98,6 +104,10 @@
         }
       }
       
+    },
+    async getUseSystemSet(data){
+      const res=await useSystemSet(data)
+      this.autoCodeHeadersObj=res.data
     },
     codeList(val) {
       this.inputValue = val
@@ -120,7 +130,7 @@
     },
     // 閰嶇疆缂栫爜瑙勮寖鐨勮烦杞�
     numberClick() {
-      window.open("http://www.fai365.com:9080/facilty", "_blank")
+      window.open("http://www.fai365.com:9080/transportation", "_blank")
     }
   }
 }

--
Gitblit v1.8.0