虚拟库确认
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<span class="filter_label">木箱</span>
|
<span class="filter_label">木箱</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<search-box v-model="val1" :focused="focusedflg" @handleChange="handleChange1"
|
<search-box v-model="val1" :focused="focusedStatus" @handleChange="handleChange1"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
focusedflg: true,
|
focusedStatus: true,
|
||||||
val1: '',
|
val1: '',
|
||||||
billCode: '',
|
billCode: '',
|
||||||
dataList: [],
|
dataList: [],
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
let res = await stoutConfirm(this.val1)
|
let res = await stoutConfirm(this.val1)
|
||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
this.val1 = ''
|
this.val1 = ''
|
||||||
this.focusedflg = true
|
this.focusedStatus = true
|
||||||
this._stivtDtlQuery()
|
this._stivtDtlQuery()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
|||||||
@@ -8,18 +8,19 @@
|
|||||||
<span class="filter_label">木箱</span>
|
<span class="filter_label">木箱</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<search-box v-model="val1" :focused="true"
|
<!-- <search-box v-model="val1" :focused="true" @handleChange="handleChange1" -->
|
||||||
|
<search-box v-model="val1" :focused="focusedStatus" @handleChange="handleChange1"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_item">
|
<!-- <view class="filter_item">
|
||||||
<view class="filter_label_wraper">
|
<view class="filter_label_wraper">
|
||||||
<span class="filter_label">物料</span>
|
<span class="filter_label">物料</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<search-box v-model="val2" />
|
<search-box v-model="val2" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
<view class="filter_label_wraper">
|
<view class="filter_label_wraper">
|
||||||
<span class="filter_label">总净重</span>
|
<span class="filter_label">总净重</span>
|
||||||
@@ -76,6 +77,7 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
focusedStatus: true,
|
||||||
val1: '',
|
val1: '',
|
||||||
val2: '',
|
val2: '',
|
||||||
billCode: '',
|
billCode: '',
|
||||||
@@ -89,6 +91,9 @@
|
|||||||
this._virtualivtQuery()
|
this._virtualivtQuery()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
handleChange1 (e) {
|
||||||
|
this._virtualivtQuery()
|
||||||
|
},
|
||||||
goIn () {
|
goIn () {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/WarehouseManage/XuniDelivery`
|
url: `/pages/WarehouseManage/XuniDelivery`
|
||||||
@@ -104,12 +109,16 @@
|
|||||||
this.net_weight_num = res.net_weight_num
|
this.net_weight_num = res.net_weight_num
|
||||||
},
|
},
|
||||||
async _virtualoutConfirm () {
|
async _virtualoutConfirm () {
|
||||||
|
if (!this.dataList.length) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.disabled1 = true
|
this.disabled1 = true
|
||||||
try {
|
try {
|
||||||
let res = await virtualoutConfirm(this.dataList, this.val1)
|
let res = await virtualoutConfirm(this.dataList, this.val1)
|
||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
this.val1 = ''
|
this.val1 = ''
|
||||||
this.val2 = ''
|
this.val2 = ''
|
||||||
|
this.focusedStatus = true
|
||||||
this._virtualivtQuery()
|
this._virtualivtQuery()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
|||||||
Reference in New Issue
Block a user