界面修改

master
anthonyywj2 3 years ago
parent f93e457a46
commit 8d242ea503

@ -1,6 +1,6 @@
{ {
"UDI_SYNC_SERVER_IP": "http://192.168.0.109:9995/", "UDI_SYNC_SERVER_IP": "http://127.0.0.1:9995/",
"BASE_URL":"http://192.168.0.109:9991/", "BASE_URL":"http://127.0.0.1:9991/",
"SERVER_IP": "http://192.168.0.109:9991/", "SERVER_IP": "http://127.0.0.1:9991/",
"WEBSOCKET_URL": "ws://192.168.0.109:9991/UDI_WMS_MC/api/websocket/" "WEBSOCKET_URL": "ws://127.0.0.1:9991/UDI_WMS_MC/api/websocket/"
} }

@ -907,7 +907,7 @@ export const asyncRouterMap = [
component: Home, component: Home,
icon: "tongyong", icon: "tongyong",
name: "内部码管理", name: "内部码管理",
hidden: false, hidden: true,
noDropdown: false, noDropdown: false,
meta: { meta: {
authRule: ["myCode"] authRule: ["myCode"]

@ -4,13 +4,19 @@
<el-form :inline="true" :model="filterQuery" class="query-form" size="mini"> <el-form :inline="true" :model="filterQuery" class="query-form" size="mini">
<el-form-item class="query-form-item"> <el-form-item class="query-form-item">
<el-input <el-input
v-model="filterQuery.action" v-model="filterQuery.name"
placeholder="业务类型" placeholder="业务类型"
style="width: 400px"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item class="query-form-item"> <el-form-item class="query-form-item">
<el-select v-model="filterQuery.enabled" placeholder="状态"> <el-select v-model="filterQuery.mainAction" placeholder="出入库类型">
<el-option label="全部" value=""></el-option>
<el-option label="入库" value="WareHouseIn"></el-option>
<el-option label="出库" value="WareHouseOut"></el-option>
</el-select>
</el-form-item>
<el-form-item class="query-form-item">
<el-select v-model="filterQuery.enabled" placeholder="是否启用">
<el-option label="全部" value=""></el-option> <el-option label="全部" value=""></el-option>
<el-option label="已启用" value=1></el-option> <el-option label="已启用" value=1></el-option>
<el-option label="未启用" value=0></el-option> <el-option label="未启用" value=0></el-option>
@ -19,34 +25,37 @@
<el-form-item> <el-form-item>
<el-button-group style="margin-left: 10px;display:flex;"> <el-button-group style="margin-left: 10px;display:flex;">
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="search" @click="getListhandleAddClick"></el-button> <el-button type="primary" icon="search" @click="getList"></el-button>
<el-button type="primary" icon="search" @click="handleAddClick" <el-button type="primary" icon="search" @click="handleAddClick"
>新增 >新增
</el-button </el-button
> >
<el-button type="primary" icon="search" @click="exportJsonFile"></el-button> <el-button type="primary" icon="search" @click="exportJsonFile"></el-button>
<!-- <el-upload--> <!-- <el-upload-->
<!-- :action="uploadFileUrl"--> <!-- :action="uploadFileUrl"-->
<!-- multiple--> <!-- multiple-->
<!-- :limit="3"--> <!-- :limit="3"-->
<!-- :headers="headers"--> <!-- :headers="headers"-->
<!-- :show-file-list="false"--> <!-- :show-file-list="false"-->
<!-- :on-success="handleChange"--> <!-- :on-success="handleChange"-->
<!-- :file-list="fileList"--> <!-- :file-list="fileList"-->
<!-- >--> <!-- >-->
<!-- <el-button size="mini" type="primary">导入单据类型</el-button>--> <!-- <el-button size="mini" type="primary">导入单据类型</el-button>-->
<!-- </el-upload>--> <!-- </el-upload>-->
</el-button-group> </el-button-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="loading" :data="list" style="width: 100%"> <el-table v-loading="loading" :data="list" style="width: 100%">
<el-table-column label="序号" type="index" width="120" fixed></el-table-column> <el-table-column label="序号" type="index" width="60" fixed></el-table-column>
<el-table-column label="扫码单据类型" prop="name" fixed></el-table-column> <el-table-column label="扫码单据类型" prop="name" fixed></el-table-column>
<!-- <el-table-column label="出入库类型代码" prop="mainAction" fixed></el-table-column>--> <el-table-column label="出入库类型" prop="mainAction" fixed>
<el-table-column label="扫码单据类型代码" prop="action" fixed></el-table-column> <template slot-scope="scope">
<span>{{ mainActionMap[scope.row.mainAction] }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="扫码单据类型代码" prop="action" fixed></el-table-column>-->
<el-table-column label="是否启用" prop="enable" fixed> <el-table-column label="是否启用" prop="enable" fixed>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ enableMap[scope.row.enable] }}</span> <span>{{ enableMap[scope.row.enable] }}</span>
@ -208,9 +217,9 @@ export default {
true: "是", true: "是",
false: "否", false: "否",
}, },
formMap: { mainActionMap: {
WareHouseIn: "入库", WareHouseIn: "入库",
WareHouseOut: "出库", WareHouseOut: "出库"
}, },
fileList: [], fileList: [],
total: 0, total: 0,
@ -326,7 +335,7 @@ export default {
handleAddClick() { handleAddClick() {
this.inputQuery = {}; this.inputQuery = {enable: true};
this.addDialogVisible = true; this.addDialogVisible = true;
}, },

@ -4,18 +4,18 @@
<el-form :inline="true" :model="filterQuery" class="query-form" size="mini"> <el-form :inline="true" :model="filterQuery" class="query-form" size="mini">
<el-form-item class="query-form-item"> <el-form-item class="query-form-item">
<el-input <el-input
v-model="filterQuery.action" v-model="filterQuery.name"
placeholder="业务类型" placeholder="业务类型"
style="width: 400px" style="width: 400px"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item class="query-form-item"> <!-- <el-form-item class="query-form-item">-->
<el-select v-model="filterQuery.enabled" placeholder="状态"> <!-- <el-select v-model="filterQuery.enabled" placeholder="状态">-->
<el-option label="全部" value=""></el-option> <!-- <el-option label="全部" value=""></el-option>-->
<el-option label="已启用" value=1></el-option> <!-- <el-option label="已启用" value=1></el-option>-->
<el-option label="未启用" value=0></el-option> <!-- <el-option label="未启用" value=0></el-option>-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item> <el-form-item>
<el-button-group> <el-button-group>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
@ -45,7 +45,7 @@
<span>{{ enableMap[scope.row.advanceType] }}</span> <span>{{ enableMap[scope.row.advanceType] }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="是否自动补单" prop="advanceType" fixed> <el-table-column label="缺量自动补单" prop="advanceType" fixed>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ enableMap[scope.row.changeEnable] }}</span> <span>{{ enableMap[scope.row.changeEnable] }}</span>
</template> </template>
@ -130,6 +130,7 @@ export default {
thirdType: "", thirdType: "",
page: 1, page: 1,
limit: 20, limit: 20,
name:null,
}, },
addDialogVisible: false, addDialogVisible: false,
modifyDialogVisible: false, modifyDialogVisible: false,
@ -247,9 +248,9 @@ export default {
name: "", name: "",
enable: "", enable: "",
remark: "", remark: "",
mainAction: "", mainAction: null,
thirdSysFk: "", thirdSysFk: "",
id: "", id: null,
advanceType: null, advanceType: null,
localAction: null, localAction: null,
changeEnable: null, changeEnable: null,

@ -84,7 +84,7 @@
<el-col :span="4" class="el-col"> <el-col :span="4" class="el-col">
<div class="text item"> <div class="text item">
<el-checkbox v-model="inputQuery.changeEnable" @change="isChangeOrder" <el-checkbox v-model="inputQuery.changeEnable" @change="isChangeOrder"
:disabled="!changeEnable || inputQuery.mainAction=='WareHouseIn'"> :disabled="!changeEnable || inputQuery.mainAction=='WareHouseIn' || inputQuery.id == null || inputQuery.mainAction==null">
缺量自动补单 缺量自动补单
</el-checkbox> </el-checkbox>
</div> </div>
@ -108,7 +108,7 @@
<!-- >--> <!-- >-->
<!-- </div>--> <!-- </div>-->
<el-table border style="margin-bottom: 20px;margin-top: 10px" :data="changeList"> <el-table border style="margin-bottom: 20px;margin-top: 10px" :data="changeList">
<el-table-column label="序号" prop="index" width="55"></el-table-column> <el-table-column label="序号" type="index" width="55"></el-table-column>
<el-table-column label="补单说明" prop="intro"></el-table-column> <el-table-column label="补单说明" prop="intro"></el-table-column>
<!-- <el-table-column label="补单单据类型代码" prop="action"></el-table-column>--> <!-- <el-table-column label="补单单据类型代码" prop="action"></el-table-column>-->
<el-table-column label="补单扫码单据类型" prop="name"></el-table-column> <el-table-column label="补单扫码单据类型" prop="name"></el-table-column>

@ -211,7 +211,7 @@
this.getList(); this.getList();
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { this.$confirm("此操作将删除该往来单位信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -204,7 +204,7 @@
this.getList(); this.getList();
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { this.$confirm("此操作将删除该往来单位信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -198,7 +198,7 @@ export default {
this.getList(); this.getList();
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { this.$confirm("此操作将删除该往来单位信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -534,7 +534,7 @@
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将永久删除该产品信息, 是否继续?", "提示", { this.$confirm("此操作将永久删除该往来单位信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -520,7 +520,7 @@
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将永久删除该产品信息, 是否继续?", "提示", { this.$confirm("此操作将永久删除该往来单位信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -218,7 +218,7 @@ export default {
this.getList(); this.getList();
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { this.$confirm("此操作将删除该产品信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -212,7 +212,7 @@
this.getList(); this.getList();
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { this.$confirm("此操作将删除该产品信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -197,7 +197,7 @@ export default {
this.getList(); this.getList();
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { this.$confirm("此操作将删除该产品信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -213,7 +213,7 @@
this.getList(); this.getList();
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { this.$confirm("此操作将删除该产品信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -209,7 +209,7 @@
this.getList(); this.getList();
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { this.$confirm("此操作将删除该产品信息, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

@ -4,13 +4,13 @@
<el-form-item class="query-form-item"> <el-form-item class="query-form-item">
<el-input v-model="query.name" placeholder="角色名称"></el-input> <el-input v-model="query.name" placeholder="角色名称"></el-input>
</el-form-item> </el-form-item>
<el-form-item class="query-form-item"> <!-- <el-form-item class="query-form-item">-->
<el-select v-model="query.status" placeholder="状态"> <!-- <el-select v-model="query.status" placeholder="状态">-->
<el-option label="全部" value=""></el-option> <!-- <el-option label="全部" value=""></el-option>-->
<el-option label="禁用" value="0"></el-option> <!-- <el-option label="禁用" value="0"></el-option>-->
<el-option label="正常" value="1"></el-option> <!-- <el-option label="正常" value="1"></el-option>-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item> <el-form-item>
<el-button-group> <el-button-group>
@ -130,7 +130,7 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="status"> <el-form-item label="状态" prop="status">
<el-radio-group v-model="formData.status"> <el-radio-group v-model="formData.status" :disabled="true">
<el-radio :label="0">禁用</el-radio> <el-radio :label="0">禁用</el-radio>
<el-radio :label="1">正常</el-radio> <el-radio :label="1">正常</el-radio>
</el-radio-group> </el-radio-group>

Loading…
Cancel
Save