货架盘点

This commit is contained in:
2023-10-18 10:13:33 +08:00
parent b1afa0cc48
commit 12f5b32eaf
4 changed files with 38 additions and 3 deletions

View File

@@ -107,6 +107,13 @@
} }
} }
,{
"path" : "pages/modules/shelf-check",
"style": {
"navigationStyle": "custom"
}
}
], ],
"globalStyle": { "globalStyle": {
// "pageOrientation": "landscape", // "pageOrientation": "landscape",

View File

@@ -15,6 +15,12 @@
<input type="number" class="filter_input" v-model="val2"> <input type="number" class="filter_input" v-model="val2">
</view> </view>
</view> </view>
<view class="filter_item">
<view class="filter_label">剩余数量</view>
<view class="filter_input_wraper">
<input type="number" class="filter_input" v-model="val3">
</view>
</view>
</view> </view>
<view class="zd_wrapper grid-wraper"> <view class="zd_wrapper grid-wraper">
<view class="slide_new"> <view class="slide_new">
@@ -61,6 +67,7 @@
return { return {
val1: '', val1: '',
val2: '', val2: '',
val3: '0',
dataList: [], dataList: [],
disabled: false disabled: false
}; };
@@ -82,10 +89,11 @@
return return
} }
try { try {
let res = await manualSortingPackingTask(this.val1, this.val2) let res = await manualSortingPackingTask(this.val1, this.val2, this.val3)
this.disabled = false this.disabled = false
this.val1 = '' this.val1 = ''
this.val2 = '' this.val2 = ''
this.val3 = '0'
this._manualSortingPackingTaskShow() this._manualSortingPackingTaskShow()
uni.showToast({ uni.showToast({
title: res.message, title: res.message,

View File

@@ -0,0 +1,19 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="stylus">
</style>

View File

@@ -126,10 +126,11 @@ export const manualSortingPackingTaskShow = () => request({
data: {} data: {}
}) })
// 确认 // 确认
export const manualSortingPackingTask = (code, qty) => request({ export const manualSortingPackingTask = (code, qty, sqty) => request({
url:'/api/pda/manualSorting/packingTask', url:'/api/pda/manualSorting/packingTask',
data: { data: {
vehicle_code: code, vehicle_code: code,
qty: qty qty: qty,
surplus_quantity: sqty
} }
}) })