演示界面修改

yanshishuju
yewj 9 months ago
parent 8646f719eb
commit 3c53dcf47c

@ -277,36 +277,37 @@
>查询 >查询
</el-button </el-button
> >
<el-button
type="primary"
icon="el-icon-plus" v-if="vueRouteSource==1"
@click="intentDetail"
>添加
</el-button
>
<template v-if="!isChoose"> <template v-if="!isChoose">
<el-button type="primary" icon="el-icon-plus" @click="editUdiType" <!-- <el-button type="primary" icon="el-icon-plus" @click="editUdiType"-->
v-if="vueRouteSource==1" <!-- v-if="vueRouteSource==1"-->
>物资分类管理 <!-- >物资分类管理-->
</el-button> <!-- </el-button>-->
<el-button <!-- <el-button-->
type="primary" <!-- type="primary"-->
icon="el-icon-plus" v-if="vueRouteSource==1" <!-- icon="el-icon-plus" v-if="vueRouteSource==1"-->
@click="intentImportUdi" <!-- @click="intentImportUdi"-->
>选入DI信息 <!-- >选入DI信息-->
</el-button <!-- </el-button-->
> <!-- >-->
<el-button <!-- <el-button-->
type="primary" <!-- type="primary"-->
icon="el-icon-plus" v-if="vueRouteSource==1" <!-- icon="el-icon-plus" v-if="vueRouteSource==1"-->
@click="intentImportErp" <!-- @click="intentImportErp"-->
>添加院内字典 <!-- >添加院内字典-->
</el-button <!-- </el-button-->
> <!-- >-->
<el-button
type="primary" <!-- <el-button type="primary" icon="el-icon-plus" @click="addProducType"-->
icon="el-icon-plus" v-if="vueRouteSource==1" <!-- v-if="vueRouteSource==1"-->
@click="intentDetail" <!-- >新增产品-->
>关联添加 <!-- </el-button>-->
</el-button
>
<el-button type="primary" icon="el-icon-plus" @click="addProducType"
v-if="vueRouteSource==1"
>新增产品
</el-button>
</template> </template>
</el-button-group> </el-button-group>
</div> </div>

@ -768,15 +768,17 @@ export default {
} else { } else {
this.scanCode = "" this.scanCode = ""
this.$alert(response.message, "提示", {
confirmButtonText: "确定", this.$message.error(response.message);
type: "warning", // this.$alert(response.message, "", {
closeOnClickModal: true, // confirmButtonText: "",
callback: (action) => { // type: "warning",
this.$refs.inputRef.focus(); // closeOnClickModal: true,
this.$refs.inputRef.select(); // callback: (action) => {
}, // this.$refs.inputRef.focus();
}); // this.$refs.inputRef.select();
// },
// });
} }
} }
this.loading = false; this.loading = false;

@ -1431,15 +1431,17 @@ export default {
}); });
return; return;
} else if (response.code == 604) { } else if (response.code == 604) {
this.$confirm(response.message, "提示", { this.$message.error(response.message);
confirmButtonText: "确定",
cancelButtonText: "取消", // this.$confirm(response.message, "", {
type: "warning", // confirmButtonText: "",
}) // cancelButtonText: "",
.then(() => { // type: "warning",
}) // })
.catch(() => { // .then(() => {
}); // })
// .catch(() => {
// });
return; return;
} else if (response.code == 507) { } else if (response.code == 507) {
this.editOriginCodeVisible = true; this.editOriginCodeVisible = true;
@ -1459,15 +1461,17 @@ export default {
this.spaceCodeList = response.data; this.spaceCodeList = response.data;
this.selectSpaceVisible = true; this.selectSpaceVisible = true;
} else { } else {
this.$alert(response.message, "提示", {
confirmButtonText: "确定", this.$message.error(response.message);
type: "warning", // this.$alert(response.message, "", {
closeOnClickModal: true, // confirmButtonText: "",
callback: (action) => { // type: "warning",
this.$refs.inputRef.focus(); // closeOnClickModal: true,
this.$refs.inputRef.select(); // callback: (action) => {
}, // this.$refs.inputRef.focus();
}); // this.$refs.inputRef.select();
// },
// });
} }
} }
this.loading = false; this.loading = false;
@ -1789,15 +1793,16 @@ export default {
this.codeFormData.code = "01" + response.data.nameCode; this.codeFormData.code = "01" + response.data.nameCode;
this.originCode = this.codeFormData.code; this.originCode = this.codeFormData.code;
} else { } else {
this.$alert(response.message, "提示", { this.$message.error(response.message);
confirmButtonText: "确定", // this.$alert(response.message, "", {
type: "warning", // confirmButtonText: "",
closeOnClickModal: true, // type: "warning",
callback: (action) => { // closeOnClickModal: true,
this.$refs.inputRef.focus(); // callback: (action) => {
this.$refs.inputRef.select(); // this.$refs.inputRef.focus();
}, // this.$refs.inputRef.select();
}); // },
// });
} }
} }
this.loading = false; this.loading = false;

Loading…
Cancel
Save