diff --git a/src/api/business/gsp/gspFfjlArchive.js b/src/api/business/gsp/gspFfjlArchive.js index 9d68461..ada68f3 100644 --- a/src/api/business/gsp/gspFfjlArchive.js +++ b/src/api/business/gsp/gspFfjlArchive.js @@ -4,7 +4,7 @@ import request from '@/utils/request' // 档案列表 export function list(query) { return request({ - url: '/system/business/gspRkjlArchive/list', + url: '/system/business/gspFfjlArchive/list', method: 'get', params: query }) @@ -13,7 +13,7 @@ export function list(query) { // 同意归档 export function tygd(data) { return request({ - url: '/system/business/gspRkjlArchive/gd/agree', + url: '/system/business/gspFfjlArchive/gd/agree', method: 'post', data: data }) @@ -22,7 +22,7 @@ export function tygd(data) { // 拒绝归档 export function jjgd(data) { return request({ - url: '/system/business/gspRkjlArchive/gd/refuse', + url: '/system/business/gspFfjlArchive/gd/refuse', method: 'post', data: data }) @@ -31,7 +31,7 @@ export function jjgd(data) { // 同意解档 export function tyjd(data) { return request({ - url: '/system/business/gspRkjlArchive/jd/agree', + url: '/system/business/gspFfjlArchive/jd/agree', method: 'post', data: data }) @@ -40,7 +40,7 @@ export function tyjd(data) { // 拒绝解档 export function jjjd(data) { return request({ - url: '/system/business/gspRkjlArchive/jd/agree', + url: '/system/business/gspFfjlArchive/jd/agree', method: 'post', data: data }) @@ -49,7 +49,7 @@ export function jjjd(data) { // 同意借阅 export function tyjy(data) { return request({ - url: '/system/business/gspRkjlArchive/jy/agree', + url: '/system/business/gspFfjlArchive/jy/agree', method: 'post', data: data }) @@ -58,7 +58,7 @@ export function tyjy(data) { // 拒绝借阅 export function jjjy(data) { return request({ - url: '/system/business/gspRkjlArchive/jy/refuse', + url: '/system/business/gspFfjlArchive/jy/refuse', method: 'post', data: data }) @@ -67,7 +67,7 @@ export function jjjy(data) { // 确认归还 export function qrgh(data) { return request({ - url: '/system/business/gspRkjlArchive/gh', + url: '/system/business/gspFfjlArchive/gh', method: 'post', data: data }) diff --git a/src/components/Template/DecimalInput.vue b/src/components/Template/DecimalInput.vue index 4c17c67..fd5077b 100644 --- a/src/components/Template/DecimalInput.vue +++ b/src/components/Template/DecimalInput.vue @@ -135,8 +135,10 @@ export default { } } else { // 处理数字和小数点输入 + // 当 decimalDigits 为 0 时,不允许输入小数点 + const allowedPattern = this.decimalDigits === 0 ? /[^\d-]/g : /[^\d.-]/g; cleaned = val - .replace(/[^\d.-]/g, '') + .replace(allowedPattern, '') .replace(/^(-)\1+/, '$1'); // 确保只有一个小数点 @@ -148,18 +150,21 @@ export default { } // 处理小数点位数限制 - if (this.decimalDigits > 0 && cleaned.includes('.')) { + if (this.decimalDigits == 0) { + // 当 decimalDigits 为 0 时,直接移除所有小数点 + cleaned = cleaned.replace(/\./g, ''); + } else if (this.decimalDigits > 0 && cleaned.includes('.')) { const [intPart, decPart = ''] = cleaned.split('.'); cleaned = intPart + '.' + decPart.slice(0, this.decimalDigits); - } else if (this.decimalDigits === 0) { - cleaned = cleaned.split('.')[0]; } - // 处理以小数点开头的情况 - if (cleaned === '.') cleaned = '0.'; - else if (cleaned === '-.') cleaned = '-0.'; - else if (cleaned.startsWith('.')) cleaned = '0' + cleaned; - else if (cleaned.startsWith('-.')) cleaned = '-0.' + cleaned.slice(2); + // 处理以小数点开头的情况(仅当允许小数时) + if (this.decimalDigits > 0) { + if (cleaned === '.') cleaned = '0.'; + else if (cleaned === '-.') cleaned = '-0.'; + else if (cleaned.startsWith('.')) cleaned = '0' + cleaned; + else if (cleaned.startsWith('-.')) cleaned = '-0.' + cleaned.slice(2); + } // 处理整数部分的前导零 if (cleaned.includes('.')) { diff --git a/src/components/Template/HandleFormItem.vue b/src/components/Template/HandleFormItem.vue index 83c8450..d33f339 100644 --- a/src/components/Template/HandleFormItem.vue +++ b/src/components/Template/HandleFormItem.vue @@ -3,11 +3,10 @@
- + + :remote="item.selectRemote || false" :remote-method="remoteMethod" @visible-change="onSelectBlur" + @change="onInputChange" filterable> @@ -79,16 +77,10 @@ :format="type === 'dateTime' ? 'yyyy/MM/dd HH:mm:ss' : 'yyyy/MM/dd'" :placeholder="getPlaceholder()" @change="(val) => onDateChange(val, type === 'dateTime' ? 'yyyy/MM/DD HH:mm:ss' : 'yyyy/MM/DD')"> - + :disabled="getDisabled()" :on-success="handleSuccess" :on-change="handleChange" + :on-exceed="handleExceed" :file-list="fileList" :auto-upload="false"> 点击上传 请上传附件 @@ -215,7 +206,8 @@
- @@ -232,12 +224,12 @@ import Question from "./icons/Question.vue"; import DecimalInput from "./DecimalInput.vue"; import { EventBus } from "@/utils/eventBus"; import moment from "moment"; -import { getuuid, isEqual, deepClone, getDefaultValueByOptions, isValueEmpty,isRegent } from "@/utils/index.js"; +import { getuuid, isEqual, deepClone, getDefaultValueByOptions, isValueEmpty, isRegent } from "@/utils/index.js"; import { getToken } from "@/utils/auth"; import { isShowOtherByCheckboxTree } from "@/utils/formPackageCommon"; export default { - inject: ['templateData', 'templateFillType',"getSubmittedCodes","updateSubmittedCodes", "getZdxgjl", "getFhyjjl", "updateZdxgjl", "replaceFhyjjl", "updateFhyjjl", "getFieldCheckObj", "updateFieldCheckObj"], + inject: ['templateData', 'templateFillType', "getSubmittedCodes", "updateSubmittedCodes", "getZdxgjl", "getFhyjjl", "updateZdxgjl", "replaceFhyjjl", "updateFhyjjl", "getFieldCheckObj", "updateFieldCheckObj"], components: { Question, DecimalInput, @@ -307,7 +299,7 @@ export default { const defaultCheckedValue = getDefaultValueByOptions(this.item.options || []); initialValue = { checkedValues: defaultCheckedValue, otherValues: {} }; } - const {type} = this; + const { type } = this; return { inputValue: initialValue, oldValue: typeof initialValue === 'object' ? JSON.parse(JSON.stringify(initialValue)) : initialValue, // 记录上一次的值 @@ -343,7 +335,7 @@ export default { // disabledDate(time) { // return time.getTime() > Date.now(); // }, - shortcuts: type === 'dateTimeRange' ? undefined:[{ + shortcuts: type === 'dateTimeRange' ? undefined : [{ text: '今天', onClick(picker) { picker.$emit('pick', new Date()); @@ -354,7 +346,7 @@ export default { } }, watch: { - + value(newVal) { if (this.type === 'checkboxTag' && Array.isArray(newVal)) { // checkboxTag类型,value是数组格式 @@ -412,7 +404,7 @@ export default { return false; }, getFlexClass() { - const noFlexArr = ["radio", "checkboxTag", "fqyq"] + const noFlexArr = ["radio", "checkboxTag", "fqyq","button"] return noFlexArr.includes(this.type) ? '' : 'flex1' }, getDecimalDigits() { @@ -524,7 +516,7 @@ export default { // 所有删除操作都需要验证电子签名 // 保存待删除的文件信息 this.pendingRemoveFile = { file, fileList: this.fileList }; -console.log("fillll") + console.log("fillll") // 触发电子签名弹窗 EventBus.$emit('showEditSignDialog', { uuid: this.uuid }); @@ -611,8 +603,8 @@ console.log("fillll") this.inputValue = data.selectedId; const { filledCodes = [] } = this.item; console.log(filledCodes, "filledCodes") - const { selectInfo, row,checkType } = data; - if (filledCodes.length > 0 && checkType !=="checkbox") { + const { selectInfo, row, checkType } = data; + if (filledCodes.length > 0 && checkType !== "checkbox") { this.inputValue = row[filledCodes[0]] + "(" + row[filledCodes[1]] + ")"; } this.selectRegentInfo = data; @@ -621,7 +613,7 @@ console.log("fillll") }, //统一处理试剂/供试品等弹窗 onCommonHandleRegent(item, type) { - const {fillType = "actFill"} = item; + const { fillType = "actFill" } = item; if (this.templateFillType !== fillType) { return } @@ -651,10 +643,10 @@ console.log("fillll") }; if (type === "mix") { params.mixType = true; - } + } if (item.qxbdType) { params.qxbdType = item.qxbdType; - } + } if (item.checkType) { params.checkType = item.checkType; } @@ -670,7 +662,7 @@ console.log("fillll") onDateChange(val, format) { if (this.type === 'dateTimeRange') { this.inputValue = [moment(val[0]).format(format), moment(val[1]).format(format)]; - }else{ + } else { this.inputValue = moment(val).format(format); } this.onCommonHandleSaveRecord(this.inputValue); @@ -742,7 +734,7 @@ console.log("fillll") }, getFillTypeStyle(type) { const { fillType } = this.item; - const filterType = ["attachment", "checkboxTag", "fqyq", "checkboxTree","radio"] + const filterType = ["attachment", "checkboxTag", "fqyq", "checkboxTree", "radio"] const typeObj = { actFill: "orange-border",//实际填写的边框颜色 blxjsh: "orange-border",//实际填写的边框颜色 @@ -1098,10 +1090,10 @@ console.log("fillll") const { mainRadio: oldMainRadio, inputValue: oldInputValue, subRadio: oldSubRadio } = this.oldFqyqValue; const o = { "mainRadio": { oldValue: oldMainRadio, newValue: mainRadio, des: "" }, - "inputValue": { oldValue: oldInputValue, newValue: inputValue, des: "",key: this.fieldKey+"_inputValue" }, + "inputValue": { oldValue: oldInputValue, newValue: inputValue, des: "", key: this.fieldKey + "_inputValue" }, "subRadio": { oldValue: oldSubRadio, newValue: subRadio, des: "是否在规定时间完成:" } } - console.log(o, this.currentHandleType, this.fqyqValue,"fqyqValue") + console.log(o, this.currentHandleType, this.fqyqValue, "fqyqValue") return o[this.currentHandleType]; }, getCheckboxTreeInfo() { @@ -1112,7 +1104,7 @@ console.log("fillll") const oldItem = oldCheckedValues.find(item => item.label === currentCheckboxTreeValue); const o = { "checkboxTreeCheckbox": { oldValue: oldItem, newValue: newItem, des: "" }, - "checkboxTreeOther": { oldValue: oldOtherValues[currentCheckboxTreeValue], newValue: otherValues[currentCheckboxTreeValue], des: `${currentCheckboxTreeValue}:`,key: this.fieldKey+"_"+currentCheckboxTreeValue }, + "checkboxTreeOther": { oldValue: oldOtherValues[currentCheckboxTreeValue], newValue: otherValues[currentCheckboxTreeValue], des: `${currentCheckboxTreeValue}:`, key: this.fieldKey + "_" + currentCheckboxTreeValue }, } return o[currentHandleType]; }, @@ -1171,9 +1163,9 @@ console.log("fillll") } else if (this.type === "fqyq") { const current = this.getFqyqInfo(); isSame = isEqual(current.oldValue, current.newValue); - if(this.currentHandleType === "inputValue"){ - isOldValueEmpty =this.isUnSubmitted(current.key); - }else{ + if (this.currentHandleType === "inputValue") { + isOldValueEmpty = this.isUnSubmitted(current.key); + } else { isOldValueEmpty = isValueEmpty(current.oldValue); } } else if (this.type === "checkboxTree") { @@ -1188,10 +1180,10 @@ console.log("fillll") } - } else if(this.type === "checkbox"){ + } else if (this.type === "checkbox") { isSame = isEqual(this.oldValue, this.inputValue) - isOldValueEmpty =this.isUnSubmitted(); - }else { + isOldValueEmpty = this.isUnSubmitted(); + } else { isSame = isEqual(this.oldValue, this.inputValue) isOldValueEmpty = this.isUnSubmitted(); } @@ -1199,7 +1191,7 @@ console.log("fillll") if (isSame) { return; } - if (!isOldValueEmpty && !(isSame) && (this.templateFillType === "actFill" || this.templateFillType === "blxjsh")&&this.type !== "attachment") { + if (!isOldValueEmpty && !(isSame) && (this.templateFillType === "actFill" || this.templateFillType === "blxjsh") && this.type !== "attachment") { console.log("需要电子签名") // 通过EventBus触发电子签名弹窗 EventBus.$emit('showEditSignDialog', { uuid: this.uuid }); @@ -1209,9 +1201,9 @@ console.log("fillll") }, //是否提交过 - isUnSubmitted(key){ + isUnSubmitted(key) { const finallyKey = key || this.fieldKey; - const has = this.getSubmittedCodes().includes(finallyKey) + const has = this.getSubmittedCodes().includes(finallyKey) return !has; }, @@ -1265,7 +1257,7 @@ console.log("fillll") const current = this.getFqyqInfo(); recordOldVlaue = `${current.des + current.oldValue}`; recordValue = `${current.des + current.newValue}`; - if(this.currentHandleType === "inputValue"){ + if (this.currentHandleType === "inputValue") { finallyKey = current.key; } isModify = !!this.oldFqyqValue.mainRadio @@ -1283,11 +1275,11 @@ console.log("fillll") recordValue = `${current.des + (current.newValue || '')}`; isModify = !!current.oldValue; } - }else if(this.type === "checkbox"){ - recordOldVlaue = `${this.item.checkboxLabel || ""}:${this.oldValue?'勾选':'未勾选'}`; - recordValue = `${this.item.checkboxLabel||""}:${this.inputValue?'勾选':'未勾选'}`; + } else if (this.type === "checkbox") { + recordOldVlaue = `${this.item.checkboxLabel || ""}:${this.oldValue ? '勾选' : '未勾选'}`; + recordValue = `${this.item.checkboxLabel || ""}:${this.inputValue ? '勾选' : '未勾选'}`; isModify = this.oldValue !== ''; - }else if(this.type === "attachment"){ + } else if (this.type === "attachment") { const attList = JSON.parse(recordValue); const oldAttList = JSON.parse(recordOldVlaue || "[]"); recordValue = attList.map(item => item.name).join(";"); @@ -1423,7 +1415,7 @@ console.log("fillll") return this.templateFillType !== "preFill" } else if (fillType === "blxjsh") {//当模板状态是预填写时,只有当fillType是blxjsh才能填写 return this.templateFillType !== "blxjsh" - }else { + } else { return true } } @@ -1631,6 +1623,7 @@ console.log("fillll") .el-checkbox__inner { border-color: #f9c588 !important; } + &.is-checked { .el-checkbox__label { color: #606266; @@ -1859,6 +1852,7 @@ console.log("fillll") color: #606266; flex: 1; background-color: #fff; + &.disabled { cursor: not-allowed; color: #c0c4cc; @@ -2069,6 +2063,7 @@ console.log("fillll") border-radius: 4px; border: 1px solid #ff5d5d; } + .no-border { border: none; } diff --git a/src/components/Template/StepComponents/ZLSubPackage.vue b/src/components/Template/StepComponents/ZLSubPackage.vue index 224bf68..78c6d8a 100644 --- a/src/components/Template/StepComponents/ZLSubPackage.vue +++ b/src/components/Template/StepComponents/ZLSubPackage.vue @@ -2,46 +2,54 @@ diff --git a/src/views/business/resource/gsp/comps/rkjl/Sd.vue b/src/views/business/resource/gsp/comps/rkjl/Sd.vue index 600b28a..78a4d0d 100644 --- a/src/views/business/resource/gsp/comps/rkjl/Sd.vue +++ b/src/views/business/resource/gsp/comps/rkjl/Sd.vue @@ -4,7 +4,7 @@ -
+
-
+
diff --git a/src/views/business/resource/gsp/comps/rkjlList.vue b/src/views/business/resource/gsp/comps/rkjlList.vue index ae6feaf..3deaf3d 100644 --- a/src/views/business/resource/gsp/comps/rkjlList.vue +++ b/src/views/business/resource/gsp/comps/rkjlList.vue @@ -440,6 +440,7 @@ export default { }, //重置 resetQuery() { + this.daterange = [] this.resetForm("queryForm") this.handleQuery() }, diff --git a/src/views/business/resource/mjy/comps/ffjl/Gd.vue b/src/views/business/resource/mjy/comps/ffjl/Gd.vue index 3d64ee4..2eed788 100644 --- a/src/views/business/resource/mjy/comps/ffjl/Gd.vue +++ b/src/views/business/resource/mjy/comps/ffjl/Gd.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/ffjl/Jd.vue b/src/views/business/resource/mjy/comps/ffjl/Jd.vue index c400073..3d21e0a 100644 --- a/src/views/business/resource/mjy/comps/ffjl/Jd.vue +++ b/src/views/business/resource/mjy/comps/ffjl/Jd.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/ffjl/Jq.vue b/src/views/business/resource/mjy/comps/ffjl/Jq.vue index ada6f4b..abecf60 100644 --- a/src/views/business/resource/mjy/comps/ffjl/Jq.vue +++ b/src/views/business/resource/mjy/comps/ffjl/Jq.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/ffjl/Js.vue b/src/views/business/resource/mjy/comps/ffjl/Js.vue index 9eaf7d3..e1d646a 100644 --- a/src/views/business/resource/mjy/comps/ffjl/Js.vue +++ b/src/views/business/resource/mjy/comps/ffjl/Js.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/ffjl/Jy.vue b/src/views/business/resource/mjy/comps/ffjl/Jy.vue index f6a51a3..94339c2 100644 --- a/src/views/business/resource/mjy/comps/ffjl/Jy.vue +++ b/src/views/business/resource/mjy/comps/ffjl/Jy.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/ffjl/Sd.vue b/src/views/business/resource/mjy/comps/ffjl/Sd.vue index 11bd940..5e9fd3c 100644 --- a/src/views/business/resource/mjy/comps/ffjl/Sd.vue +++ b/src/views/business/resource/mjy/comps/ffjl/Sd.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Bj.vue b/src/views/business/resource/mjy/comps/mjy/Bj.vue index 44823e1..fa8f93c 100644 --- a/src/views/business/resource/mjy/comps/mjy/Bj.vue +++ b/src/views/business/resource/mjy/comps/mjy/Bj.vue @@ -3,7 +3,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Cc.vue b/src/views/business/resource/mjy/comps/mjy/Cc.vue index 5b34251..183871e 100644 --- a/src/views/business/resource/mjy/comps/mjy/Cc.vue +++ b/src/views/business/resource/mjy/comps/mjy/Cc.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Czrq.vue b/src/views/business/resource/mjy/comps/mjy/Czrq.vue index 01d2150..8aa77ed 100644 --- a/src/views/business/resource/mjy/comps/mjy/Czrq.vue +++ b/src/views/business/resource/mjy/comps/mjy/Czrq.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Czyj.vue b/src/views/business/resource/mjy/comps/mjy/Czyj.vue index af30dee..d65c936 100644 --- a/src/views/business/resource/mjy/comps/mjy/Czyj.vue +++ b/src/views/business/resource/mjy/comps/mjy/Czyj.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Gd.vue b/src/views/business/resource/mjy/comps/mjy/Gd.vue index 1b46709..f5ec5e7 100644 --- a/src/views/business/resource/mjy/comps/mjy/Gd.vue +++ b/src/views/business/resource/mjy/comps/mjy/Gd.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Jd.vue b/src/views/business/resource/mjy/comps/mjy/Jd.vue index 6b0e49c..b7d2988 100644 --- a/src/views/business/resource/mjy/comps/mjy/Jd.vue +++ b/src/views/business/resource/mjy/comps/mjy/Jd.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Js.vue b/src/views/business/resource/mjy/comps/mjy/Js.vue index 92406f5..a2fb780 100644 --- a/src/views/business/resource/mjy/comps/mjy/Js.vue +++ b/src/views/business/resource/mjy/comps/mjy/Js.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Jy.vue b/src/views/business/resource/mjy/comps/mjy/Jy.vue index f829a2b..d142d70 100644 --- a/src/views/business/resource/mjy/comps/mjy/Jy.vue +++ b/src/views/business/resource/mjy/comps/mjy/Jy.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Qc.vue b/src/views/business/resource/mjy/comps/mjy/Qc.vue index 7c21ce6..42cb563 100644 --- a/src/views/business/resource/mjy/comps/mjy/Qc.vue +++ b/src/views/business/resource/mjy/comps/mjy/Qc.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Rk.vue b/src/views/business/resource/mjy/comps/mjy/Rk.vue index c0d596d..edd0e5e 100644 --- a/src/views/business/resource/mjy/comps/mjy/Rk.vue +++ b/src/views/business/resource/mjy/comps/mjy/Rk.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Sd.vue b/src/views/business/resource/mjy/comps/mjy/Sd.vue index 1356768..1006ccb 100644 --- a/src/views/business/resource/mjy/comps/mjy/Sd.vue +++ b/src/views/business/resource/mjy/comps/mjy/Sd.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Shbj.vue b/src/views/business/resource/mjy/comps/mjy/Shbj.vue index 15ebeed..caecda7 100644 --- a/src/views/business/resource/mjy/comps/mjy/Shbj.vue +++ b/src/views/business/resource/mjy/comps/mjy/Shbj.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Shxgkc.vue b/src/views/business/resource/mjy/comps/mjy/Shxgkc.vue index 61759c7..3d5a01d 100644 --- a/src/views/business/resource/mjy/comps/mjy/Shxgkc.vue +++ b/src/views/business/resource/mjy/comps/mjy/Shxgkc.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Xgkc.vue b/src/views/business/resource/mjy/comps/mjy/Xgkc.vue index 21ad068..2890ff6 100644 --- a/src/views/business/resource/mjy/comps/mjy/Xgkc.vue +++ b/src/views/business/resource/mjy/comps/mjy/Xgkc.vue @@ -3,7 +3,7 @@ -
+
diff --git a/src/views/business/resource/mjy/comps/mjy/Ysff.vue b/src/views/business/resource/mjy/comps/mjy/Ysff.vue index ad8710e..d636b3f 100644 --- a/src/views/business/resource/mjy/comps/mjy/Ysff.vue +++ b/src/views/business/resource/mjy/comps/mjy/Ysff.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/sj/comps/Cz.vue b/src/views/business/resource/sj/comps/Cz.vue index 800e6f0..e81c8c5 100644 --- a/src/views/business/resource/sj/comps/Cz.vue +++ b/src/views/business/resource/sj/comps/Cz.vue @@ -86,7 +86,7 @@ import { mapGetters } from 'vuex' import SelectList from "./SelectList"; import BusinessSelect from '@/views/business/comps/select/BusinessSelect'; export default { - name: "MjyBj", + name: "SjCz", components: { SelectList, BusinessSelect }, data() { return { @@ -151,6 +151,7 @@ export default { if (valid) { sj_cz(this.form).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') }) } diff --git a/src/views/business/resource/sj/comps/CzBatch.vue b/src/views/business/resource/sj/comps/CzBatch.vue index fadd074..95cddd8 100644 --- a/src/views/business/resource/sj/comps/CzBatch.vue +++ b/src/views/business/resource/sj/comps/CzBatch.vue @@ -77,7 +77,7 @@ import { mapGetters } from 'vuex' import SelectList from "./SelectList"; import BusinessSelect from '@/views/business/comps/select/BusinessSelect'; export default { - name: "CzBatch", + name: "SjCzBatch", components: { SelectList, BusinessSelect }, data() { return { @@ -171,6 +171,7 @@ export default { this.$modal.loading() sj_plcz(params).then(response => { this.open = false + this.$modal.msgSuccess(this.$t('form.operationSuccess')) this.$emit('callback') this.$modal.closeLoading() }).finally(() => { diff --git a/src/views/business/resource/sj/list.vue b/src/views/business/resource/sj/list.vue index f5044f2..2f94a12 100644 --- a/src/views/business/resource/sj/list.vue +++ b/src/views/business/resource/sj/list.vue @@ -195,7 +195,7 @@ - +
diff --git a/src/views/business/resource/zcg/comps/Ysff.vue b/src/views/business/resource/zcg/comps/Ysff.vue index 9e2eb4e..2a29141 100644 --- a/src/views/business/resource/zcg/comps/Ysff.vue +++ b/src/views/business/resource/zcg/comps/Ysff.vue @@ -4,7 +4,7 @@ -
+
diff --git a/src/views/business/resource/zcg/comps/Ysgh.vue b/src/views/business/resource/zcg/comps/Ysgh.vue index 73ebe54..efaf6b1 100644 --- a/src/views/business/resource/zcg/comps/Ysgh.vue +++ b/src/views/business/resource/zcg/comps/Ysgh.vue @@ -4,7 +4,7 @@ -
+
@@ -73,9 +79,10 @@ import { mapGetters } from 'vuex' import StorageLocationDetail from './comps/detail' import Bj from "./comps/Bj"; import Xz from "./comps/Xz"; +import StorageLocationImport from "./comps/StorageLocationImport" export default { name: 'StorageLocation', - components: { BusinessSelect, SelectDept, StorageLocationDetail, Bj, Xz }, + components: { BusinessSelect, SelectDept, StorageLocationDetail, Bj, Xz, StorageLocationImport }, data() { return { @@ -109,6 +116,9 @@ export default { this.getList() }, methods: { + handleImport() { + this.$refs.StorageLocationImport.show() + }, /** 查询列表 */ getList() { this.loading = true diff --git a/src/views/business/study/comp/jhbd/Fh.vue b/src/views/business/study/comp/jhbd/Fh.vue index 84676fd..c7e0ed4 100644 --- a/src/views/business/study/comp/jhbd/Fh.vue +++ b/src/views/business/study/comp/jhbd/Fh.vue @@ -57,7 +57,7 @@ -
+
diff --git a/src/views/business/study/comp/jhbd/Ghgsr.vue b/src/views/business/study/comp/jhbd/Ghgsr.vue index c36ac26..8a68561 100644 --- a/src/views/business/study/comp/jhbd/Ghgsr.vue +++ b/src/views/business/study/comp/jhbd/Ghgsr.vue @@ -3,7 +3,7 @@ -
+
diff --git a/src/views/business/study/comp/jhbd/Sy.vue b/src/views/business/study/comp/jhbd/Sy.vue index 7e43dc9..439c483 100644 --- a/src/views/business/study/comp/jhbd/Sy.vue +++ b/src/views/business/study/comp/jhbd/Sy.vue @@ -53,7 +53,7 @@ -
+
diff --git a/src/views/business/study/comp/syff/Xz.vue b/src/views/business/study/comp/syff/Xz.vue index 85c5505..4b987d1 100644 --- a/src/views/business/study/comp/syff/Xz.vue +++ b/src/views/business/study/comp/syff/Xz.vue @@ -4,7 +4,7 @@ G