空木箱上线-中木箱号

This commit is contained in:
x
2026-07-31 11:08:06 +08:00
parent cb512eae07
commit bc25d5d2ff
5 changed files with 16 additions and 2 deletions

View File

@@ -137,6 +137,7 @@
"filter.cache-point": "Cache Point",
"filter.box-no": "Wooden Box Number",
"filter.up-box-no": "Upper Wooden Box Number",
"filter.middle-box-no": "Middle Wooden Box Number",
"filter.down-box-no": "Lower Wooden Box Number",
"filter.box-code": "Wooden Box Coding",
"filter.box-type": "Wooden box part number",

View File

@@ -137,6 +137,7 @@
"filter.cache-point": "Titik Penyimpanan Sementara",
"filter.box-no": "Nomor Kotak Kayu",
"filter.up-box-no": "Nomor kotak kayu atas",
"filter.middle-box-no": "Nomor kotak kayu tengah",
"filter.down-box-no": "Nomor kotak bawah",
"filter.box-code": "Pengkodean Kotak Kayu",
"filter.box-type": "Nomor bagian kotak kayu",

View File

@@ -137,6 +137,7 @@
"filter.cache-point": "缓存点位",
"filter.box-no": "木箱号",
"filter.up-box-no": "上木箱号",
"filter.middle-box-no": "中木箱号",
"filter.down-box-no": "下木箱号",
"filter.box-code": "木箱编码",
"filter.box-type": "木箱料号",

View File

@@ -12,6 +12,14 @@
<search-box v-model="val1" />
</view>
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">{{$t('filter.middle-box-no')}}</span>
</view>
<view class="filter_input_wraper">
<search-box v-model="val4" />
</view>
</view>
<view class="filter_item is-required">
<view class="filter_label_wraper">
<span class="filter_label">{{$t('filter.down-box-no')}}</span>
@@ -55,6 +63,7 @@
val1: '',
val2: '',
val3: '',
val4: '',
disabled: false
};
},
@@ -74,7 +83,7 @@
async _boxUpLine () {
this.disabled = true
try {
let res = await boxUpLine(this.val1, this.val3, this.val2)
let res = await boxUpLine(this.val1, this.val4, this.val3, this.val2)
uni.showToast({
title: res.message,
icon: 'none'
@@ -92,6 +101,7 @@
this.val1 = ''
this.val2 = ''
this.val3 = ''
this.val4 = ''
this.$refs.scanChild.toDel()
}
}

View File

@@ -76,10 +76,11 @@ export const getBoxSpecInfo = (pcode, mcode, vcode) => request({
data: {}
})
// 木箱库-空木箱上线
export const boxUpLine = (upbno, downbno, pcode) => request({
export const boxUpLine = (upbno, mdbno, downbno, pcode) => request({
url:'api/twoPda/vehicle/boxUpLine',
data: {
up_box_no: upbno,
middle_box_no: mdbno,
down_box_no: downbno,
point_code: pcode
}