@@ -52,7 +60,7 @@
import HandleFormItem from '@/components/Template/HandleFormItem.vue';
import { EventBus } from '@/utils/eventBus';
import { getLatestSn } from '@/api/template';
-import { isValueEmpty } from '@/utils/index.js';
+import { isValueEmpty,justUpdateFilledFormData } from '@/utils/index.js';
export default {
inject: ['templateFillType'],
dicts: [
@@ -66,6 +74,14 @@ export default {
type: Object,
default: () => ({})
},
+ prefixKey: {
+ type: String,
+ default: ""
+ },
+ stepIndex: {
+ type: Number,
+ default: 0
+ },
},
data() {
return {
@@ -77,8 +93,6 @@ export default {
integerInputNumberItem: {
type: "inputNumber",
fillType: "actFill",
- precision: 0,
- maxlength: 3
},
inputNumberItem: {
type: "inputNumber",
@@ -88,7 +102,6 @@ export default {
preInputNumberItem: {
type: "inputNumber",
fillType: "preFill",
- label:"预计称量"
},
formData: {
mybh: "",//母液编号
@@ -134,12 +147,19 @@ export default {
}
},
computed: {
+ unitItem() {
+ return {
+ type: "select",
+ fillType: "preFill",
+ options: this.dict.type.business_tjdw
+ }
+ },
subConfig(){
return[
{
fieldKey:"clfz_mybh",
key:"mybh",
- label:"母编号",
+ label:"包装编号",
type:"input",
disabled: true,
fillType: "actFill",
@@ -150,27 +170,72 @@ export default {
label:"分装数量",
type:"inputNumber",
fillType: "preFill",
+ precision: 0,
+ maxlength: 3,
+ unit:"份",
},
- {
- fieldKey:"clfz_dw",
- key:"dw",
- label:"单位",
- type:"select",
- options: this.dict.type.business_tjdw,
- fillType: "preFill",
- },
+ // {//占位
+ // fieldKey:"clfz_dw1",
+ // type:"span",
+ // },
]
},
},
methods: {
+ onSure(){
+ this.$emit("onSubPackageSubmit");
+ },
+ onPrint(item){
+ console.log(item,"打印");
+ },
updateFormData(data){
this.formData = {...this.formData,...data};
+ if(data.mybh){
+ this.updateCode(data.mybh);
+ }
+ },
+ // 更新分装列表
+ async updateCode(mybh){
+ const { fzList } = this;
+ if(isValueEmpty(mybh) || isValueEmpty(fzList)){
+ return;
+ }
+ const result = await getLatestSn({
+ pre: mybh,
+ count: fzList.length,
+ type: 2,
+ })
+ if(result.code === 200){
+ const codes = result.data;
+ // 根据输入的数量生成新列表
+ for (let i = 0; i < fzList.length; i++) {
+ fzList[i].subCode = codes[i];
+ }
+ justUpdateFilledFormData()
+ }
},
// 获取按钮项
getButtonItem() {
return {
fillType: "actFill",
buttonName:"获取值",
+ key:"hqz",
+ }
+ },
+ // 获取按钮项
+ getPrintButtonItem() {
+ return {
+ fillType: "actFill",
+ buttonName:"打印",
+ key:"print",
+ }
+ },
+ // 获取确认项
+ getSureButtonItem() {
+ return {
+ fillType: "actFill",
+ buttonName:"确定",
+ key:"sure",
}
},
close() {
@@ -179,6 +244,31 @@ export default {
this.formData = {};
this.resetErrors();
},
+ onAverage() {
+ const { mfbzl } = this.formData;
+ this.fzList.forEach((item, index) => {
+ item.prenum = mfbzl;
+ // 同时更新错误状态
+ if (this.fzListErrors[index] !== undefined) {
+ this.$set(this.fzListErrors, index, false);
+ }
+ })
+ // 清除相关字段的错误状态
+ this.formErrors.mfbzl = false;
+ justUpdateFilledFormData()
+ },
+ onReset() {
+ this.fzList.forEach((item, index) => {
+ item.num = "";
+ // 同时更新错误状态
+ if (this.fzListErrors[index] !== undefined) {
+ this.$set(this.fzListErrors, index, false);
+ }
+ })
+ // 清除相关字段的错误状态
+ this.formErrors.mfbzl = false;
+ justUpdateFilledFormData()
+ },
validateFormData() {
let isValid = true;
@@ -195,6 +285,9 @@ export default {
}
});
+ // 清空之前的分装列表错误状态,重新验证
+ this.fzListErrors = [];
+
// 验证分装列表中的数值 - 根据字段的fillType和当前templateFillType比较
if (this.fzList && this.fzList.length > 0) {
for (let i = 0; i < this.fzList.length; i++) {
@@ -209,7 +302,7 @@ export default {
isValid = false;
}
}
-
+
// 验证实际分装数量
if (this.inputNumberItem.fillType === this.templateFillType) {
if (isValueEmpty(this.fzList[i].actnum)) {
@@ -232,9 +325,7 @@ export default {
});
// 重置分装列表错误状态
- this.fzListErrors.forEach((_, index) => {
- this.fzListErrors = []
- });
+ this.fzListErrors = [];
},
// 分装数量失去焦点时,根据数量生成分装列表
async onBlurFzsl(e) {
@@ -245,29 +336,15 @@ export default {
// 清空现有列表
this.fzList = [];
this.fzListErrors = [];
- const result = await getLatestSn({
- pre: this.formData.mybh,
- count: e,
- type: 2,
- })
- if(result.code === 200){
- const codes = result.data;
- // 根据输入的数量生成新列表
- for (let i = 0; i < e; i++) {
+ for (let i = 0; i < e; i++) {
this.fzList.push({
prenum: "",
actnum: "",
- subCode: codes[i],
+ subCode: "",
});
}
- const params = {
- type: "fieldChanged",
- newRecord: null,
- resourceList: null,
- }
- EventBus.$emit("onModifyRecord", params);
-
- }
+ justUpdateFilledFormData()
+
},
onGetValue(item) {
@@ -285,91 +362,46 @@ export default {
},
onBlurFzNum(index, field) {
if (this.fzList[index]) {
- // 确保fzListErrors数组有足够的元素
- if (this.fzListErrors.length <= index) {
- this.$set(this.fzListErrors, index, false);
- }
-
if (this.fzList[index][field]) {
- // 有值的话就清空对应的错误信息
- this.$set(this.fzListErrors, index, false);
+ // 有值的话就移除对应的错误信息
+ this.removeFzListError(index, field);
} else {
- // 没有值的话就边框标红
- this.$set(this.fzListErrors, index, true);
+ // 没有值的话就添加错误信息,边框标红
+ this.addFzListError(index, field);
}
}
},
- verifyFzListError(index, field) {
- // 如果index和field都为空,就全匹配
- if (index === undefined && field === undefined) {
- if (this.fzList && this.fzList.length > 0) {
- // 清空现有错误信息
- this.fzListErrors = [];
-
- // 遍历fzList,没有值的就放到fzListErrors里面
- for (let i = 0; i < this.fzList.length; i++) {
- const item = this.fzList[i];
- if (isValueEmpty(item.prenum)) {
- this.fzListErrors.push({
- rowIndex: i,
- field: "prenum",
- error: "请输入预填分装数量"
- });
- }
- if (isValueEmpty(item.actnum)) {
- this.fzListErrors.push({
- rowIndex: i,
- field: "actnum",
- error: "请输入实际分装数量"
- });
- }
- }
- }
- } else if (index !== undefined) {
- // 如果index不为空,检查指定索引的项
- if (this.fzList[index]) {
- const item = this.fzList[index];
-
- if (field === undefined) {
- // 如果field为空,检查prenum和actnum
- // 先移除该索引的所有错误信息
- this.fzListErrors = this.fzListErrors.filter(err => err.rowIndex !== index);
-
- // 没有值的就放到fzListErrors里面
- if (isValueEmpty(item.prenum)) {
- this.fzListErrors.push({
- rowIndex: index,
- field: "prenum",
- error: "请输入预填分装数量"
- });
- }
- if (isValueEmpty(item.actnum)) {
- this.fzListErrors.push({
- rowIndex: index,
- field: "actnum",
- error: "请输入实际分装数量"
- });
- }
- } else {
- // 如果field不为空,检查指定字段
- // 先移除该索引和字段的错误信息
- this.fzListErrors = this.fzListErrors.filter(err => !(err.rowIndex === index && err.field === field));
-
- // 没有值的就放到fzListErrors里面
- if (isValueEmpty(item[field])) {
- this.fzListErrors.push({
- rowIndex: index,
- field: field,
- error: field === "prenum" ? "请输入预填分装数量" : "请输入实际分装数量"
- });
- }
- }
- }
+
+ // 添加分装列表错误信息
+ addFzListError(index, field) {
+ const errorObj = {
+ rowIndex: index,
+ field: field,
+ error: field === 'prenum' ? '请输入预填分装数量' : '请输入实际分装数量'
+ };
+ // 检查是否已经存在相同的错误
+ const exists = this.fzListErrors.some(item =>
+ item.rowIndex === index && item.field === field
+ );
+ if (!exists) {
+ this.fzListErrors.push(errorObj);
}
},
+
+ // 移除分装列表错误信息
+ removeFzListError(index, field) {
+ this.fzListErrors = this.fzListErrors.filter(item =>
+ !(item.rowIndex === index && item.field === field)
+ );
+ },
hasError(index, field) {
const o = this.fzListErrors.find((item)=>{
+ // 检查 item 是否存在且为对象类型
+ if (!item || typeof item !== 'object') {
+ return false; // 忽略布尔值、null、undefined等无效值
+ }
+ // 只有对象类型的 item 才进行匹配
return item.rowIndex === index && item.field === field;
})
return o !== undefined;
@@ -397,7 +429,8 @@ export default {
margin-left: 5px;
}
.unit-select {
- width: 100px;
+ // width: 100px;
+ flex:1;
}
.content-item {
@@ -405,9 +438,9 @@ export default {
align-items: center;
}
-.header-container {
+.zl-header-container {
display: grid;
- grid-template-columns: 1fr 1fr 1fr;
+ grid-template-columns: repeat(2, 1fr);
grid-gap: 20px;
margin-top: 10px;
}
@@ -418,6 +451,7 @@ export default {
border-radius: 4px;
display: flex;
align-items: center;
+ justify-content: flex-start;
// padding: 20px;
}
@@ -448,4 +482,15 @@ export default {
margin-right: 5px;
// width: 200px;
}
+.sure-button-row{
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-top: 20px;
+ position: relative;
+ padding: 20px;
+}
+.absolute{
+ position: absolute;
+ }
\ No newline at end of file
diff --git a/src/components/Template/StepComponents/pcrfxyp/cdnsypfz.vue b/src/components/Template/StepComponents/pcrfxyp/cdnsypfz.vue
index da48dff..ebc2d90 100644
--- a/src/components/Template/StepComponents/pcrfxyp/cdnsypfz.vue
+++ b/src/components/Template/StepComponents/pcrfxyp/cdnsypfz.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/src/views/business/resource/gsp/comps/gsp/Xz.vue b/src/views/business/resource/gsp/comps/gsp/Xz.vue
index 0258f51..9802c38 100644
--- a/src/views/business/resource/gsp/comps/gsp/Xz.vue
+++ b/src/views/business/resource/gsp/comps/gsp/Xz.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/src/views/business/resource/gsp/comps/gspList.vue b/src/views/business/resource/gsp/comps/gspList.vue
index 8417c4d..6503a99 100644
--- a/src/views/business/resource/gsp/comps/gspList.vue
+++ b/src/views/business/resource/gsp/comps/gspList.vue
@@ -40,8 +40,8 @@
-
-
+
+
@@ -95,11 +95,12 @@
-
+
-
@@ -111,9 +112,9 @@
{{ scope.row.kc }}{{ scope.row.kcdw }}
-
-
-
+
+
+
@@ -290,6 +291,11 @@ export default {
]),
},
methods: {
+ handleSortChange(sort) {
+ this.queryParams.sortProp = sort.prop
+ this.queryParams.order = sort.order
+ this.getList()
+ },
// 更新试剂库
handleGxwzk() {
this.saveSimpleLog({jcmc:'更新物资库',jcmcEn:'Refresh'})
@@ -527,7 +533,7 @@ export default {
},
//重置
resetQuery() {
- this.dateRange = []
+ this.daterange = []
this.resetForm("queryForm")
this.handleQuery()
},
diff --git a/src/views/business/resource/gsp/comps/rkjl/Bj.vue b/src/views/business/resource/gsp/comps/rkjl/Bj.vue
index 9be8d98..6aa3efc 100644
--- a/src/views/business/resource/gsp/comps/rkjl/Bj.vue
+++ b/src/views/business/resource/gsp/comps/rkjl/Bj.vue
@@ -32,7 +32,7 @@
-
@@ -53,8 +53,8 @@
-
+
diff --git a/src/views/business/resource/gsp/comps/rkjl/Gd.vue b/src/views/business/resource/gsp/comps/rkjl/Gd.vue
index 977f78f..e6aba73 100644
--- a/src/views/business/resource/gsp/comps/rkjl/Gd.vue
+++ b/src/views/business/resource/gsp/comps/rkjl/Gd.vue
@@ -4,7 +4,7 @@
-
+
diff --git a/src/views/business/resource/gsp/comps/rkjl/Js.vue b/src/views/business/resource/gsp/comps/rkjl/Js.vue
index 37fdc4a..b195366 100644
--- a/src/views/business/resource/gsp/comps/rkjl/Js.vue
+++ b/src/views/business/resource/gsp/comps/rkjl/Js.vue
@@ -5,7 +5,7 @@
:close-on-click-modal="false">
-
+
diff --git a/src/views/business/resource/gsp/comps/rkjl/Jy.vue b/src/views/business/resource/gsp/comps/rkjl/Jy.vue
index efe74ee..f985c18 100644
--- a/src/views/business/resource/gsp/comps/rkjl/Jy.vue
+++ b/src/views/business/resource/gsp/comps/rkjl/Jy.vue
@@ -4,7 +4,7 @@
-
+
diff --git a/src/views/business/resource/gsp/comps/rkjl/RkjlImport.vue b/src/views/business/resource/gsp/comps/rkjl/RkjlImport.vue
index e1ab2f8..e72b361 100644
--- a/src/views/business/resource/gsp/comps/rkjl/RkjlImport.vue
+++ b/src/views/business/resource/gsp/comps/rkjl/RkjlImport.vue
@@ -62,7 +62,6 @@
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 @@
-
+
diff --git a/src/views/business/storageLocation/comps/StorageLocationImport.vue b/src/views/business/storageLocation/comps/StorageLocationImport.vue
new file mode 100644
index 0000000..3e62f5a
--- /dev/null
+++ b/src/views/business/storageLocation/comps/StorageLocationImport.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+ {{ $t('page.business.resource.gsp.tzsc') }}{{
+ $t('page.business.resource.gsp.djsc') }}
+
+ {{ $t('page.business.resource.gsp.wjgs') }}
+ {{ $t('page.business.resource.gsp.xzmb') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/business/storageLocation/list.vue b/src/views/business/storageLocation/list.vue
index fdc0748..424dfb4 100644
--- a/src/views/business/storageLocation/list.vue
+++ b/src/views/business/storageLocation/list.vue
@@ -30,6 +30,11 @@
{{
$t('page.system.storageLocation.add') }}
+
+
+ {{
+ $t('page.business.resource.gsp.dr') }}
+
@@ -59,8 +64,9 @@
-
-
+
+
+
@@ -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
-
+
diff --git a/src/views/business/study/comp/syff/Yd.vue b/src/views/business/study/comp/syff/Yd.vue
index 83e8d41..1a82570 100644
--- a/src/views/business/study/comp/syff/Yd.vue
+++ b/src/views/business/study/comp/syff/Yd.vue
@@ -4,7 +4,7 @@
-
+
diff --git a/src/views/business/study/comp/syj/Bj.vue b/src/views/business/study/comp/syj/Bj.vue
index bc4f06f..467411f 100644
--- a/src/views/business/study/comp/syj/Bj.vue
+++ b/src/views/business/study/comp/syj/Bj.vue
@@ -3,7 +3,7 @@ G
-
+
diff --git a/src/views/business/study/comp/syj/Xz.vue b/src/views/business/study/comp/syj/Xz.vue
index b9ea3f6..1c6d285 100644
--- a/src/views/business/study/comp/syj/Xz.vue
+++ b/src/views/business/study/comp/syj/Xz.vue
@@ -3,7 +3,7 @@ G
-
+
diff --git a/src/views/business/study/comp/tbbd/Blxjsh.vue b/src/views/business/study/comp/tbbd/Blxjsh.vue
index 0b43306..b265f5b 100644
--- a/src/views/business/study/comp/tbbd/Blxjsh.vue
+++ b/src/views/business/study/comp/tbbd/Blxjsh.vue
@@ -57,7 +57,7 @@
-
+
diff --git a/src/views/business/study/comp/tbbd/Fh.vue b/src/views/business/study/comp/tbbd/Fh.vue
index 0a32022..b83c35c 100644
--- a/src/views/business/study/comp/tbbd/Fh.vue
+++ b/src/views/business/study/comp/tbbd/Fh.vue
@@ -59,7 +59,7 @@
-
+
diff --git a/src/views/business/study/comp/tbbd/Fz.vue b/src/views/business/study/comp/tbbd/Fz.vue
index af38cb0..c7b2584 100644
--- a/src/views/business/study/comp/tbbd/Fz.vue
+++ b/src/views/business/study/comp/tbbd/Fz.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/src/views/business/study/comp/tbbd/Gc.vue b/src/views/business/study/comp/tbbd/Gc.vue
index 84d1651..2d3ab4d 100644
--- a/src/views/business/study/comp/tbbd/Gc.vue
+++ b/src/views/business/study/comp/tbbd/Gc.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/src/views/business/study/comp/tbbd/Ghgsr.vue b/src/views/business/study/comp/tbbd/Ghgsr.vue
index 640a779..ab5f83b 100644
--- a/src/views/business/study/comp/tbbd/Ghgsr.vue
+++ b/src/views/business/study/comp/tbbd/Ghgsr.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/src/views/business/study/comp/tbbd/Qrfz.vue b/src/views/business/study/comp/tbbd/Qrfz.vue
index bbc14a5..194b929 100644
--- a/src/views/business/study/comp/tbbd/Qrfz.vue
+++ b/src/views/business/study/comp/tbbd/Qrfz.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/src/views/business/study/comp/tbbd/Sy.vue b/src/views/business/study/comp/tbbd/Sy.vue
index 7d0a2bb..29e77d0 100644
--- a/src/views/business/study/comp/tbbd/Sy.vue
+++ b/src/views/business/study/comp/tbbd/Sy.vue
@@ -54,7 +54,7 @@
-
+
diff --git a/src/views/business/study/comp/ytbd/Gb.vue b/src/views/business/study/comp/ytbd/Gb.vue
index daf04c1..0e76011 100644
--- a/src/views/business/study/comp/ytbd/Gb.vue
+++ b/src/views/business/study/comp/ytbd/Gb.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/src/views/business/study/comp/ytbd/Qrgb.vue b/src/views/business/study/comp/ytbd/Qrgb.vue
index 109dc84..14e55fe 100644
--- a/src/views/business/study/comp/ytbd/Qrgb.vue
+++ b/src/views/business/study/comp/ytbd/Qrgb.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/src/views/business/study/comp/ytbd/Sh.vue b/src/views/business/study/comp/ytbd/Sh.vue
index 329a52f..babcd81 100644
--- a/src/views/business/study/comp/ytbd/Sh.vue
+++ b/src/views/business/study/comp/ytbd/Sh.vue
@@ -23,7 +23,7 @@
-
+
@@ -68,7 +68,7 @@
-
+
diff --git a/src/views/business/template/list.vue b/src/views/business/template/list.vue
index c022f09..23316a8 100644
--- a/src/views/business/template/list.vue
+++ b/src/views/business/template/list.vue
@@ -191,7 +191,7 @@
+ style="width:100%" @change="changeStepGroup" filterable>
@@ -282,9 +282,9 @@ export default {
// nameEn: [
// { required: true, message: '请输入', trigger: "blur" }
// ],
- deptId: [
- { required: true, message: '请选择', trigger: "change" }
- ],
+ // deptId: [
+ // { required: true, message: '请选择', trigger: "change" }
+ // ],
status: [
{ required: true, message: '请选择', trigger: "change" }
],
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index d4b42b3..f0c0bfa 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -78,7 +78,8 @@
- {{getRoleName(scope.row)}}
+
+ {{scope.row.roleNames}}