页面注释

ywj_dev
CTP 2 years ago
parent 4509e12005
commit 82f3c5b229

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<!-- 部门信息相关--> <!-- 部门信息页面-->
<el-card> <el-card>
<el-form <el-form
:inline="true" :inline="true"

@ -1,5 +1,5 @@
<template> <template>
<!-- 系统管理 组织架构 仓库信息组件 --> <!-- 系统管理 组织架构 仓库信息页面 -->
<div> <div>
<el-card> <el-card>
<el-form :inline="true" :model="query" class="query-form" size="mini"> <el-form :inline="true" :model="query" class="query-form" size="mini">
@ -88,15 +88,13 @@
@click.native="handleSubForm(scope.row, 'edit')" @click.native="handleSubForm(scope.row, 'edit')"
>编辑 >编辑
</el-button> </el-button>
<!-- <el-button
<!-- <el-button--> type="text"
<!-- type="text"--> :disabled="!configParms.basicInv"
<!-- :disabled="!configParms.basicInv"--> @click.native.stop="popInvRelUser( scope.row)"
<!-- @click.native.stop="popInvRelUser( scope.row)"--> >用户管理
<!-- >用户管理--> </el-button
<!-- </el-button--> > -->
<!-- >-->
<el-button <el-button
type="text" type="text"
:disabled="!configParms.basicInv" :disabled="!configParms.basicInv"
@ -513,8 +511,8 @@ export default {
}, },
methods: { methods: {
//--------------------------------- //---------------------------------
/* 重置按钮 点击事件 */
onReset() { onReset() {
//
this.$router.push({ this.$router.push({
path: "", path: "",
}); });
@ -561,9 +559,8 @@ export default {
this.$message.error("第三方分库库数据加载失败"); this.$message.error("第三方分库库数据加载失败");
}); });
}, },
/* 查询按钮点击事件 */
onSubmit() { onSubmit() {
//
this.query.advanceType = this.subDataType.advanceType; this.query.advanceType = this.subDataType.advanceType;
this.getList(); this.getList();
}, },
@ -585,8 +582,8 @@ export default {
this.list = []; this.list = [];
}); });
}, },
/* 新增 编辑点击事件 */
handleSubForm(data, formName) { handleSubForm(data, formName) {
//
if (data != null) { if (data != null) {
this.invWouse = data; this.invWouse = data;
} }
@ -818,7 +815,7 @@ export default {
}) })
.catch(() => {}); .catch(() => {});
}, },
/* 仓库可用单据 */
popInvRelBustype(row) { popInvRelBustype(row) {
this.relBusTypeVisible = true; this.relBusTypeVisible = true;
this.currentRow = row; this.currentRow = row;
@ -892,7 +889,7 @@ export default {
}); });
} }
}, },
/* 删除按钮点击事件 */
handleDelInv(row) { handleDelInv(row) {
if (row.id) { if (row.id) {
this.$confirm("确认删除该仓库吗?", "提示", { this.$confirm("确认删除该仓库吗?", "提示", {
@ -921,12 +918,14 @@ export default {
} }
}, },
}, },
/* 过滤器函数 */
filters: { filters: {
spUerFilterType(status) { spUerFilterType(status) {
const upUerMap = { const upUerMap = {
true: "success", true: "success",
false: "danger", false: "danger",
}; };
console.log("status1,spUerFilterType", status);
return upUerMap[status]; return upUerMap[status];
}, },
spUerFilterName(status) { spUerFilterName(status) {
@ -934,6 +933,8 @@ export default {
true: "允许", true: "允许",
false: "不允许", false: "不允许",
}; };
console.log("status2,spUerFilterName", status);
return upUerMap[status]; return upUerMap[status];
}, },
}, },

@ -226,6 +226,7 @@ export default {
}; };
}, },
methods: { methods: {
/* 重置按钮 点击事件 */
onReset() { onReset() {
this.$router.push({ this.$router.push({
path: "", path: "",
@ -245,6 +246,7 @@ export default {
this.query.page = val; this.query.page = val;
this.getList(); this.getList();
}, },
/* 搜索按钮 点击事件 */
search() { search() {
this.query.page = 1; this.query.page = 1;
this.getList(); this.getList();
@ -253,10 +255,6 @@ export default {
this.loading = true; this.loading = true;
systemParamConfigList(this.query) systemParamConfigList(this.query)
.then((response) => { .then((response) => {
console.log("response", response);
console.log("this.query", this.query);
console.log("this.query.page", this.query.page);
this.loading = false; this.loading = false;
this.list = response.data.list || []; this.list = response.data.list || [];
this.total = response.data.total || 0; this.total = response.data.total || 0;
@ -284,7 +282,7 @@ export default {
this.resetForm(); this.resetForm();
return true; return true;
}, },
// //
handleForm(index, row) { handleForm(index, row) {
this.formVisible = true; this.formVisible = true;
this.formData = JSON.parse(JSON.stringify(formJson)); this.formData = JSON.parse(JSON.stringify(formJson));

Loading…
Cancel
Save