From 10120ad26310b40dcc7da569d0daac39188b7873 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 26 十二月 2023 11:08:37 +0800
Subject: [PATCH] 报价单和销售明细单新增修改为必填
---
src/components/makepager/mixin/codeMixin.js | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/components/makepager/mixin/codeMixin.js b/src/components/makepager/mixin/codeMixin.js
index afd3d26..5d31dbc 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{
@@ -99,6 +105,10 @@
}
},
+ async getUseSystemSet(data){
+ const res=await useSystemSet(data)
+ this.autoCodeHeadersObj=res.data
+ },
codeList(val) {
this.inputValue = val
this.codenumberList = val.toString()
--
Gitblit v1.8.0