From a0b97eb8e934ba28b9e51824d4cbbcc99cc70e17 Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期四, 18 七月 2024 23:08:00 +0800
Subject: [PATCH] fxi:解决发货bug
---
src/components/makepager/mixin/codeMixin.js | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/components/makepager/mixin/codeMixin.js b/src/components/makepager/mixin/codeMixin.js
index 7ec1914..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,11 +18,10 @@
objCode: { name: "", page: 0, pageSize: 0, type: "璺熻繘璁板綍缂栫爜", codeStandID: "" },
codeRule: {},
codeLength: 0,
- // header澶寸殑鍙傛暟
autoCodeHeadersObj:{
- xsjh:'',
- bjd:'',
- ywjh:'',
+ Xsjh:'',
+ Bjd:'',
+ Ywjh:'',
}
}
},
@@ -97,14 +96,18 @@
async getAutoCodeValue() {
if(Object.keys(this.codeRule).length>0){
const res = await getAutoCode(this.codeRule);
- this.autoCodeHeadersObj=res.headers
- if (res.data.code == 200) {
- this.$set(this.editConfig.infomation, 'number', res.data.data?res.data.data:'')
+ console.log(res,'=====res autocode')
+ if (res.code == 200) {
+ this.$set(this.editConfig.infomation, 'number', res.data?res.data:'')
}else{
this.$set(this.editConfig.infomation, 'number', this.codeRule.AutoRule.PrefixValue?this.codeRule.AutoRule.PrefixValue:'')
}
}
+ },
+ async getUseSystemSet(data){
+ const res=await useSystemSet(data)
+ this.autoCodeHeadersObj=res.data
},
codeList(val) {
this.inputValue = val
@@ -127,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