1.改变左右,去除深浅

2.清空盘点
merge-requests/5/head
LAPTOP-S9HJSOEB\昊天 3 years ago
parent f6bb715188
commit 92e34d1d8c

@ -11,7 +11,7 @@
位置:
</span>
<span class="img-box-value">
{{checkObj.streetName}}-{{checkObj.direction == 1?"左":"右"}}-{{checkObj.side == 1?"浅":"深"}}-{{checkObj.row}}-{{checkObj.column}}
{{checkObj.streetName}}-{{checkObj.direction }}-{{checkObj.column}}-{{checkObj.row}}
</span>
</li>
<li>

@ -1,6 +1,17 @@
<template>
<div class="check-page">
<div class="button-box">
<a-popconfirm
title="是否清空全部盘点"
ok-text="是"
cancel-text="否"
@confirm="allStockClear"
>
<a-button type="primary" class="export-all">
盘点清空
</a-button>
</a-popconfirm>
<a-popconfirm
title="是否确定要全部盘点"
ok-text="是"
@ -243,6 +254,15 @@ export default {
})
.catch((err) => {});
},
allStockClear() {
console.log("清空盘点");
this.$api.httpApi
.allStockClear({})
.then((res) => {
message.success("盘点清空", 10);
})
.catch((err) => {});
},
initWebSocket() {
//weosocket
const wsuri = "ws://127.0.0.1:8099/ws/111";

@ -29,7 +29,7 @@
</a-form-item>
</a-col>
<a-col :span="2">
<!-- <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=0>
@ -46,7 +46,7 @@
</a-form-item>
</a-col>
</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"/>
@ -96,7 +96,7 @@
{{ text }}
</span>
<span slot="goodsLocation" slot-scope="text">
{{ text.direction == 1 ?"左":"右"}}-{{ text.side == 1 ?"浅":"深"}}-{{ text.row}}-{{ text.column}}
{{ text.direction }}-{{ text.row}}-{{ text.column}}
</span>
<span slot="status" slot-scope="text">
{{ statusMap[text.status] }}
@ -159,8 +159,9 @@ export default {
dataIndex: "streetName",
},
{
title: "货位({左右}-{深浅}-{行}-{列})",
title: "货位({1:,2:右}-{行}-{列})",
scopedSlots: {customRender: 'goodsLocation'},
width:200,
},
{

Loading…
Cancel
Save