From ec77d5b6a4d6be3423b7723cf5e1333f599b0751 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 04 三月 2024 17:58:19 +0800
Subject: [PATCH] 销售机会模块 新建操作的时候,销售阶段默认为初期沟通+销售预测的币种默认人民币+产品管理部分币种隐藏
---
src/components/makepager/mixin/codeMixin.js | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/components/makepager/mixin/codeMixin.js b/src/components/makepager/mixin/codeMixin.js
index 799d1f7..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:'',
+ }
}
},
@@ -33,7 +38,7 @@
if (res.code == 200) {
const { List = [], ID, AutoRule = {}, Method } = res.data && res.data.data ? res.data.data[0] : []
this.codeRule = res.data && res.data.data ? res.data.data[0] : {}
- let autoRule = AutoRule
+ let autoRule = AutoRule
let method = Method ? Method : 0
this.method = method
let rules = List
@@ -91,11 +96,18 @@
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{
+ 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
@@ -118,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