前端界面修改

ywj_dev
anthonywj 2 years ago
parent b473e38b47
commit 8450619de1

@ -384,7 +384,7 @@ export default {
4: "pda未校验",
5: "pc端扫码精灵",
6: "流转自动补单",
7: "UDI供应商平台",
7: "UDI管理系统",
8: "平衡补录单据",
10: "手动补单",
11: "仓库盘点",

@ -614,7 +614,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -314,7 +314,7 @@ export default {
'4': 'pda未校验',
'5': 'pc端扫码精灵',
'6': '流转自动补单',
'7': 'UDI供应商平台',
'7': 'UDI管理系统',
'8': '平衡补录单据',
'10': '手动补单',
'11': '仓库盘点',

@ -532,7 +532,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -390,7 +390,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -496,7 +496,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -506,7 +506,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -288,7 +288,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -259,7 +259,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -276,7 +276,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -249,7 +249,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -386,7 +386,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -613,7 +613,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",
@ -1046,7 +1046,7 @@ export default {
//
rollback(row) {
this.$confirm('此操作将撤回单据至待校验, 是否继续?', '提示', {
this.$confirm('此操作将撤回单据至待核对, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'

@ -608,7 +608,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",
@ -1012,7 +1012,7 @@ export default {
//
rollback(row) {
this.$confirm('此操作将撤回单据至待校验, 是否继续?', '提示', {
this.$confirm('此操作将撤回单据至待审核, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'

@ -437,7 +437,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -534,7 +534,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -569,7 +569,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -483,7 +483,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -481,7 +481,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -456,7 +456,6 @@ import { previewImage } from '@/api/purchase/supCompany'
import ElImageViewer from "element-ui/packages/image/src/image-viewer";
const formJson = {
site_id: "",
site_name: "",
@ -518,7 +517,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",
@ -655,14 +654,18 @@ export default {
console.log(this.imgList)
this.imgViewerVisible = true;
});
const m = (e) => { e.preventDefault() };
const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'hidden';
document.addEventListener("touchmove", m, false); //
},
closeImgViewer() {
this.imgViewerVisible = false;
const m = (e) => { e.preventDefault() };
const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'auto';
document.removeEventListener("touchmove", m, true);
},
@ -944,7 +947,7 @@ export default {
},
//
rollback(row) {
this.$confirm('此操作将撤回单据至已校验未审核状态, 是否继续?', '提示', {
this.$confirm('此操作将撤回单据至待核对, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'

@ -359,7 +359,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -422,7 +422,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -233,7 +233,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -293,7 +293,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"11": "仓库盘点",

@ -268,7 +268,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单",
"12": "采购计划",

@ -192,7 +192,7 @@ export default {
"4": "pda未校验",
"5": "pc端扫码精灵",
"6": "流转自动补单",
"7": "UDI供应商平台",
"7": "UDI管理系统",
"8": "平衡补录单据",
"10": "手动补单"
},

@ -46,14 +46,16 @@
icon="el-icon-refresh"
size="mini"
@click="resetQuery"
>重置</el-button
>重置
</el-button
>
<el-button
type="primary"
icon="el-icon-search"
size="mini"
@click="handleQuery"
>搜索</el-button
>搜索
</el-button
>
</el-button-group>
</el-form-item>
@ -132,7 +134,6 @@
align="center"
prop="userName"
:show-overflow-tooltip="true"
:sort-orders="['descending', 'ascending']"
/>
<el-table-column
label="登录地址"
@ -217,7 +218,6 @@ export default {
//
dateRange: [],
//
defaultSort: { prop: "loginTime", order: "descending" },
//
queryParams: {
page: 1,

@ -55,14 +55,16 @@
icon="el-icon-search"
size="mini"
@click="handleQuery"
>搜索</el-button
>搜索
</el-button
>
<el-button
type="primary"
icon="el-icon-refresh"
size="mini"
@click="resetQuery"
>重置</el-button
>重置
</el-button
>
</el-form-item>
@ -100,7 +102,6 @@
prop="operUserName"
width="100"
:show-overflow-tooltip="true"
:sort-orders="['descending', 'ascending']"
/>
<el-table-column
label="操作地址"
@ -125,14 +126,14 @@
<template slot-scope="scope">
<el-tag :type="scope.row.status === 0 ? 'success' : 'warning'">{{
scope.row.status === 0 ? "正常" : "失败"
}}</el-tag>
}}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="操作日期"
align="center"
prop="operTime"
:sort-orders="['descending', 'ascending']"
width="180"
>
<template slot-scope="scope">
@ -173,7 +174,8 @@
<el-row>
<el-col :span="12">
<el-form-item label="操作模块:"
>{{ form.title }} / {{ typeFormat(form) }}</el-form-item
>{{ form.title }} / {{ typeFormat(form) }}
</el-form-item
>
<el-form-item label="登录信息:"
>{{ form.operName }} / {{ form.operIp }} / {{ form.operLocation }}
@ -183,7 +185,8 @@
<el-form-item label="请求地址:">{{ form.operUrl }}</el-form-item>
<el-form-item label="请求方式:">{{
form.requestMethod
}}</el-form-item>
}}
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="操作方法:">{{ form.method }}</el-form-item>
@ -194,7 +197,8 @@
<el-col :span="24">
<el-form-item label="返回参数:">{{
form.jsonResult
}}</el-form-item>
}}
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="操作状态:">
@ -205,12 +209,14 @@
<el-col :span="12">
<el-form-item label="操作时间:">{{
parseTime(form.operTime)
}}</el-form-item>
}}
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="异常信息:" v-if="form.status === 1">{{
form.errorMsg
}}</el-form-item>
}}
</el-form-item>
</el-col>
</el-row>
</el-form>
@ -246,7 +252,6 @@ export default {
//
dateRange: [],
//
defaultSort: { prop: "operTime", order: "descending" },
//
form: {},
//

@ -86,8 +86,11 @@
<el-table-column label="操作">
<template slot-scope="scope">
<el-button type="text" size="small" @click.native.stop="detailDialog(scope.row,1)">详情</el-button>
<el-button type="text" size="small" @click.native.stop="deleteDialog(scope.row)" :disabled="scope.row.status==2">删除</el-button>
<el-button type="text" size="small" :disabled="scope.row.status==2" @click="detailDialog(scope.row,2)"></el-button>
<el-button type="text" size="small" @click.native.stop="deleteDialog(scope.row)"
:disabled="scope.row.status==2">删除
</el-button>
<el-button type="text" size="small" :disabled="scope.row.status==2" @click="detailDialog(scope.row,2)">
</el-button>
</template>
</el-table-column>
</el-table>

@ -444,9 +444,10 @@
prop="action"
show-overflow-tooltip
></el-table-column>
<el-table-column width="250" label="单据状态">
<el-table-column width="180" label="单据状态">
<template slot-scope="scope">
<el-select
style="width: 80%"
v-model="scope.row.orderStatus"
placeholder="请选择单据状态"
>
@ -457,6 +458,28 @@
</el-select>
</template>
</el-table-column>
<el-table-column width="180" label="目标单据状态">
<template slot-scope="scope">
<el-select style="width: 90%"
v-model="scope.row.syncStatus"
>
<el-option label="草稿" :value="1">草稿</el-option>
<el-option label="待审核" :value="3">待审核</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column width="180" label="是否自动补单">
<template slot-scope="scope">
<el-select style="width: 90%"
v-model="scope.row.syncChange"
>
<el-option label="是" :value="true"></el-option>
<el-option label="否" :value="false"></el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="操作" fixed="right">
<template slot-scope="scope">
<el-button
@ -538,9 +561,10 @@
prop="action"
show-overflow-tooltip
></el-table-column>
<el-table-column width="250" label="单据状态">
<el-table-column width="180" label="单据状态">
<template slot-scope="scope">
<el-select
style="width: 80%"
v-model="scope.row.orderStatus"
placeholder="请选择单据状态"
>
@ -551,6 +575,29 @@
</el-select>
</template>
</el-table-column>
<el-table-column width="180" label="目标单据状态">
<template slot-scope="scope">
<el-select style="width: 90%"
v-model="scope.row.syncStatus"
>
<el-option label="草稿" :value="1">草稿</el-option>
<el-option label="待审核" :value="3">待审核</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column width="180" label="是否自动补单">
<template slot-scope="scope">
<el-select style="width: 90%"
v-model="scope.row.syncChange"
>
<el-option label="是" :value="true"></el-option>
<el-option label="否" :value="false"></el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="操作" fixed="right">
<template slot-scope="scope">
<el-button
@ -948,6 +995,8 @@ export default {
obj.outChange = false;
obj.orderStatus = 7;
obj.direct = 2;
obj.syncStatus = 3;
obj.syncChange = false;
let isPut = true;
for (let i = 0; i < this.checkedToInBusTypes.length; i++) {
if (this.checkedToInBusTypes[i].action == obj.action) {
@ -965,6 +1014,8 @@ export default {
obj.outChange = false;
obj.direct = 1;
obj.orderStatus = 7;
obj.syncStatus = 3;
obj.syncChange = false;
let isPut = true;
for (let i = 0; i < this.checkedBusTypes.length; i++) {
if (this.checkedBusTypes[i].action == obj.action) {

@ -72,7 +72,7 @@
</el-table-column>
<el-table-column label="开始时间" width="180" prop="startTime" show-overflow-tooltip sortable="custom"
:sort-orders="['desc', 'asc']"></el-table-column>
:sort-orders="['ascending', 'descending']"></el-table-column>
<el-table-column label="结束时间" width="180" prop="endTime" show-overflow-tooltip></el-table-column>
<el-table-column label="同步信息" prop="remark" show-overflow-tooltip></el-table-column>
@ -230,8 +230,12 @@ export default {
handleSortChange(column, prop, order) {
if (column.order === 'descending') {
this.filterQuery.sort = 'desc'
} else {
this.filterQuery.sort = 'asc'
}
this.filterQuery.orderBy = column.prop;
this.filterQuery.sort = column.order;
this.getList();
},

Loading…
Cancel
Save