盘点图片

merge-requests/7/head
yiming 3 years ago
parent 1de3950a23
commit a2e5281780

@ -29,15 +29,15 @@ const routes = [{
},
component: () => import('@/views/index'),
children: [
{
path: 'videoWall',
name: 'videoWall',
meta: {
icon: 'desktop',
name: '视频墙'
},
component: () => import('@/views/videoWall/index'),
},
// {
// path: 'videoWall',
// name: 'videoWall',
// meta: {
// icon: 'desktop',
// name: '视频墙'
// },
// component: () => import('@/views/videoWall/index'),
// },
{
path: 'realTimeMonitoring',
name: 'realTimeMonitoring',
@ -93,23 +93,23 @@ const routes = [{
},
component: () => import('@/views/historyCheck/index'),
},
{
path: 'stockHistory',
name: 'stockHistory',
meta: {
icon: 'file-excel',
name: '库位历史',
},
component: () => import('@/views/stockLog/index'),
},
{
path: 'stockLogDetail',
name: 'stockLogDetail',
meta: {
name: '库位历史详情',
},
component: () => import('@/views/stockLog/logPage'),
},
// {
// path: 'stockHistory',
// name: 'stockHistory',
// meta: {
// icon: 'file-excel',
// name: '库位历史',
// },
// component: () => import('@/views/stockLog/index'),
// },
// {
// path: 'stockLogDetail',
// name: 'stockLogDetail',
// meta: {
// name: '库位历史详情',
// },
// component: () => import('@/views/stockLog/logPage'),
// },
{
path: 'roadwayManage',
name: 'roadwayManage',
@ -136,24 +136,24 @@ const routes = [{
},
component: () => import('@/views/cameraManage/model')
},
{
path: 'productSpecManage',
name: 'productSpecManage',
meta: {
icon: 'pushpin',
name: '品规管理'
},
component: () => import('@/views/productSpecManage/index')
},
{
path: 'repertoryManage',
name: 'repertoryManage',
meta: {
icon: 'wallet',
name: '库存管理'
},
component: () => import('@/views/repertoryManage/index')
},
// {
// path: 'productSpecManage',
// name: 'productSpecManage',
// meta: {
// icon: 'pushpin',
// name: '品规管理'
// },
// component: () => import('@/views/productSpecManage/index')
// },
// {
// path: 'repertoryManage',
// name: 'repertoryManage',
// meta: {
// icon: 'wallet',
// name: '库存管理'
// },
// component: () => import('@/views/repertoryManage/index')
// },
{
path: 'cameraManage/ioTable',

@ -71,7 +71,13 @@
type="primary"
style="background:#29c12b;border-color:#29c12b;"
@click="checkSure(checkObj.row,checkObj.column,checkObj.shelveId,index)"
>核对
>核对正确
</a-button>
<a-button class="btn"
type="primary"
style="background:#ff0000;border-color:#ff0000;"
@click="checkfalse(checkObj.row,checkObj.column,checkObj.shelveId,index)"
>核对错误
</a-button>
</div>
@ -109,23 +115,13 @@ export default {
label:'盘点批次号',
key: 'lotnum'
},
{
label:'随行工单号',
key: 'orderNum'
},
{
label:'盘点任务号',
key: 'checkNum'
},
{
label:'托盘系统条码号',
key: 'wmsTrayCode'
},
{
label:'托盘扫描条码号',
key: 'trayCode'
},
{
label:'盘点时间',
key: 'exportTime'
@ -207,7 +203,30 @@ export default {
data: {
row: Number(row),
column: Number(column),
shelveId: shelveId,
side: Number(this.side),
streetId: Number(this.streetId),
direction: Number(this.direction),
ok: 1
}
}).then(res => {
if (res.code == 200) {
this.$message.success('操作成功');
this.getStockInfo(this.row,this.column)
}
}).catch(err => {
});
},
checkfalse(row, column, shelveId, index) {
this.$api.httpApi.stockCheckCorrect({
data: {
row: Number(row),
column: Number(column),
side: Number(this.side),
streetId: Number(this.streetId),
direction: Number(this.direction),
ok: 0
}
}).then(res => {
if (res.code == 200) {

@ -16,7 +16,7 @@
<a-col :span="2">
<a-form-item label="左右">
<a-select v-model="queryParam.leftRight" @change="leftRightChange" >
<a-select-option :value=-1>
<a-select-option :value=0>
未选择
</a-select-option>
<a-select-option :value=1>
@ -32,7 +32,7 @@
<a-col :span="2">
<a-form-item label="深浅" v-if="queryParam.side >= 0">
<a-select style="width: 50px" :key="queryParam.side" >
<a-select-option :key=-1>
<a-select-option :key=0>
未选择
</a-select-option>
<a-select-option :key=1>
@ -127,8 +127,8 @@ export default {
statusMap: {0:"未盘点",1:"盘点异常",2:"核对正确",3:"人工核对正确"},
queryParam: {
lotnum: '',
side : -1,
leftRight : -1
side : '',
leftRight : ''
},
listData:[],
time:[],
@ -152,17 +152,14 @@ export default {
dataIndex: "lotnum",
},
{
title: "货位({左右}-{深浅}-{行}-{列})",
scopedSlots: {customRender: 'goodsLocation'},
},
{
title: "系统托盘条码号",
dataIndex: "wmsTrayCode",
title: "巷道名称",
dataIndex: "streetName",
},
{
title: "扫描托盘条码号",
dataIndex: "trayCode",
title: "货位({左右}-{深浅}-{行}-{列})",
scopedSlots: {customRender: 'goodsLocation'},
},
{
title: "盘点状态",
scopedSlots: {customRender: 'status'},
@ -173,7 +170,7 @@ export default {
width:320,
},
{
title: "时间",
title: "更新时间",
dataIndex: "createTime",
},
@ -209,8 +206,8 @@ export default {
},
handleChange(value) {
this.getStreetDetail(value)
this.queryParam.leftRight = -1
this.queryParam.side = -1
this.queryParam.leftRight = ''
this.queryParam.side = ''
},
//
@ -218,19 +215,19 @@ export default {
if (value == 1) {
//
if(this.streetDetail.leftType == 0){
this.queryParam.side = -1
this.queryParam.side = ''
}else{
this.queryParam.side = 0
}
} else if (value == 2) {
if(this.streetDetail.rightType == 0){
this.queryParam.side = -1
this.queryParam.side = ''
}else{
this.queryParam.side = 0
}
} else{
this.queryParam.side = -1
this.queryParam.side = ''
}
},
handleSearch() {
@ -285,10 +282,9 @@ export default {
this.queryParam.startTimestamp = ""
this.queryParam.endTimestamp = ""
this.queryParam.lotnum = ""
this.queryParam.side = -1
this.queryParam.leftRight = -1
this.queryParam.side = ''
this.queryParam.leftRight = ''
this.queryParam.streetId = 0
this.select = null;
this.time = []
this.pageNum = 1

Loading…
Cancel
Save