diff --git a/locale/en.json b/locale/en.json index bf0dc14..17e5f81 100644 --- a/locale/en.json +++ b/locale/en.json @@ -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", diff --git a/locale/id.json b/locale/id.json index 6c3f13d..06788e3 100644 --- a/locale/id.json +++ b/locale/id.json @@ -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", diff --git a/locale/zh-Hans.json b/locale/zh-Hans.json index 70f56b2..30a0e9f 100644 --- a/locale/zh-Hans.json +++ b/locale/zh-Hans.json @@ -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": "木箱料号", diff --git a/pages/SecondPhase/kmxk/EmptyBoxOnline.vue b/pages/SecondPhase/kmxk/EmptyBoxOnline.vue index 495be3f..de2b94f 100644 --- a/pages/SecondPhase/kmxk/EmptyBoxOnline.vue +++ b/pages/SecondPhase/kmxk/EmptyBoxOnline.vue @@ -12,6 +12,14 @@ + + + {{$t('filter.middle-box-no')}} + + + + + {{$t('filter.down-box-no')}} @@ -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() } } diff --git a/utils/getData4.js b/utils/getData4.js index 0037601..7bb8037 100644 --- a/utils/getData4.js +++ b/utils/getData4.js @@ -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 }