|
|
|
@ -1,89 +1,6 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="history bg-white">
|
|
|
|
<div class="history bg-white">
|
|
|
|
<div class="ant-advanced-search-form">
|
|
|
|
|
|
|
|
<a-form layout="inline" :form="queryParam">
|
|
|
|
|
|
|
|
<a-row :gutter="24">
|
|
|
|
|
|
|
|
<a-col :span="4">
|
|
|
|
|
|
|
|
<a-form-item label="巷道">
|
|
|
|
|
|
|
|
<a-select @change="handleChange" :value="select" style="width:100px">
|
|
|
|
|
|
|
|
<a-select-option v-for="i in listData" :key="i.name" :value="i.id">
|
|
|
|
|
|
|
|
{{i.name}}
|
|
|
|
|
|
|
|
</a-select-option>
|
|
|
|
|
|
|
|
</a-select>
|
|
|
|
|
|
|
|
</a-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="2">
|
|
|
|
|
|
|
|
<a-form-item label="左右">
|
|
|
|
|
|
|
|
<a-select v-model="queryParam.leftRight" @change="leftRightChange" >
|
|
|
|
|
|
|
|
<a-select-option :value=-1>
|
|
|
|
|
|
|
|
未选择
|
|
|
|
|
|
|
|
</a-select-option>
|
|
|
|
|
|
|
|
<a-select-option :value=1>
|
|
|
|
|
|
|
|
左侧
|
|
|
|
|
|
|
|
</a-select-option>
|
|
|
|
|
|
|
|
<a-select-option :value=2>
|
|
|
|
|
|
|
|
右侧
|
|
|
|
|
|
|
|
</a-select-option>
|
|
|
|
|
|
|
|
</a-select>
|
|
|
|
|
|
|
|
</a-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<a-select-option :key=1>
|
|
|
|
|
|
|
|
浅
|
|
|
|
|
|
|
|
</a-select-option>
|
|
|
|
|
|
|
|
<a-select-option :key=2>
|
|
|
|
|
|
|
|
深
|
|
|
|
|
|
|
|
</a-select-option>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</a-select>
|
|
|
|
|
|
|
|
</a-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="2" style="text-align: left">
|
|
|
|
|
|
|
|
<a-form-item label="行号">
|
|
|
|
|
|
|
|
<a-input v-model="queryParam.row" placeholder="请输入" style="width:50px;" type="number"/>
|
|
|
|
|
|
|
|
</a-form-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="2" style="text-align: left">
|
|
|
|
|
|
|
|
<a-form-item label="列号">
|
|
|
|
|
|
|
|
<a-input v-model="queryParam.column" placeholder="请输入" style="width:50px;" type="number"/>
|
|
|
|
|
|
|
|
</a-form-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="4" style="text-align: left">
|
|
|
|
|
|
|
|
<a-form-item label="盘点号">
|
|
|
|
|
|
|
|
<a-input v-model="queryParam.lotnum" placeholder="请输入" />
|
|
|
|
|
|
|
|
</a-form-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="4">
|
|
|
|
|
|
|
|
<a-form-item label="时间">
|
|
|
|
|
|
|
|
<a-range-picker
|
|
|
|
|
|
|
|
@change="onTimeChange"
|
|
|
|
|
|
|
|
v-model="time"
|
|
|
|
|
|
|
|
format="YYYY-MM-DD HH:mm"
|
|
|
|
|
|
|
|
:show-time="{
|
|
|
|
|
|
|
|
defaultValue: [moment('00:00', 'HH:mm'), moment('23:59', 'HH:mm')],
|
|
|
|
|
|
|
|
//defaultValue: [moment('00:00', 'YYYY-MM-DD HH:mm'), moment('23:59', 'YYYY-MM-DD HH:mm')],
|
|
|
|
|
|
|
|
}"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-icon slot="suffixIcon" type="calendar"/>
|
|
|
|
|
|
|
|
</a-range-picker>
|
|
|
|
|
|
|
|
</a-form-item>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
<a-col :span="4" style="text-align: right">
|
|
|
|
|
|
|
|
<a-button type="primary" @click="handleSearch">搜索</a-button>
|
|
|
|
|
|
|
|
<a-button style="margin-left: 15px" @click="reset">重置</a-button>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
</a-row>
|
|
|
|
|
|
|
|
</a-form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-table
|
|
|
|
<a-table
|
|
|
|
:columns="columns"
|
|
|
|
:columns="columns"
|
|
|
|
@ -92,21 +9,19 @@
|
|
|
|
:pagination="pagination"
|
|
|
|
:pagination="pagination"
|
|
|
|
@change="handleGetHistoryList"
|
|
|
|
@change="handleGetHistoryList"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<span slot="checkNum" slot-scope="text">
|
|
|
|
|
|
|
|
{{ text }}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span slot="goodsLocation" slot-scope="text">
|
|
|
|
|
|
|
|
{{ text.direction == 1 ?"左":"右"}}-{{ text.side == 1 ?"浅":"深"}}-{{ text.row}}-{{ text.column}}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span slot="status" slot-scope="text">
|
|
|
|
<span slot="status" slot-scope="text">
|
|
|
|
{{ statusMap[text.status] }}
|
|
|
|
{{realCheck.flag == 1?"盘点正确":"盘点异常"}}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span slot="pic" slot-scope="text" style="width:auto">
|
|
|
|
<span slot="pic" slot-scope="text" style="width:auto">
|
|
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<span style="height:100%;">
|
|
|
|
<span style="height:100%;">
|
|
|
|
<happy-scroll color="rgba(100,100,100,0.5)" size="8" class="scroll-box" style="width:320px;height:90px;">
|
|
|
|
<happy-scroll color="rgba(100,100,100,0.5)" size="8" class="scroll-box" style="width:320px;height:90px;">
|
|
|
|
<viewer><img class="historyImg" :src="imgUrl+text.pic"/></viewer>
|
|
|
|
<viewer :images="text.pics">
|
|
|
|
|
|
|
|
<img class="historyImg" v-for="(src,index) in text.pics" :src="imgUrl+src"
|
|
|
|
|
|
|
|
:key="index"/>
|
|
|
|
|
|
|
|
</viewer>
|
|
|
|
</happy-scroll>
|
|
|
|
</happy-scroll>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
@ -147,25 +62,18 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
imgUrl: imgUrl,
|
|
|
|
imgUrl: imgUrl,
|
|
|
|
columns: [
|
|
|
|
columns: [
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: "盘点批次号",
|
|
|
|
title: "条码",
|
|
|
|
dataIndex: "lotnum",
|
|
|
|
dataIndex: "code",
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: "货位({左右}-{深浅}-{行}-{列})",
|
|
|
|
|
|
|
|
scopedSlots: {customRender: 'goodsLocation'},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: "系统托盘条码号",
|
|
|
|
|
|
|
|
dataIndex: "wmsTrayCode",
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: "扫描托盘条码号",
|
|
|
|
title: "品规",
|
|
|
|
dataIndex: "trayCode",
|
|
|
|
dataIndex: "categoryName",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: "盘点状态",
|
|
|
|
title: "数量",
|
|
|
|
scopedSlots: {customRender: 'status'},
|
|
|
|
dataIndex: "count",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: "照片",
|
|
|
|
title: "照片",
|
|
|
|
@ -181,7 +89,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
this.getStreetList();
|
|
|
|
//this.getStreetList();
|
|
|
|
this.handleSearch();
|
|
|
|
this.handleSearch();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
@ -249,7 +157,7 @@ export default {
|
|
|
|
this.request();
|
|
|
|
this.request();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
request() {
|
|
|
|
request() {
|
|
|
|
this.$api.httpApi.checkLog({
|
|
|
|
this.$api.httpApi.KuKouControllerlist({
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
pageNum: this.pageNum,
|
|
|
|
pageNum: this.pageNum,
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
pageSize: this.pageSize,
|
|
|
|
|