盘点图片

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

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

@ -71,7 +71,13 @@
type="primary" type="primary"
style="background:#29c12b;border-color:#29c12b;" style="background:#29c12b;border-color:#29c12b;"
@click="checkSure(checkObj.row,checkObj.column,checkObj.shelveId,index)" @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> </a-button>
</div> </div>
@ -109,23 +115,13 @@ export default {
label:'盘点批次号', label:'盘点批次号',
key: 'lotnum' key: 'lotnum'
}, },
{
label:'随行工单号',
key: 'orderNum'
},
{ {
label:'盘点任务号', label:'盘点任务号',
key: 'checkNum' key: 'checkNum'
}, },
{
label:'托盘系统条码号',
key: 'wmsTrayCode'
},
{
label:'托盘扫描条码号',
key: 'trayCode'
},
{ {
label:'盘点时间', label:'盘点时间',
key: 'exportTime' key: 'exportTime'
@ -207,7 +203,30 @@ export default {
data: { data: {
row: Number(row), row: Number(row),
column: Number(column), 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 => { }).then(res => {
if (res.code == 200) { if (res.code == 200) {

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

Loading…
Cancel
Save