diff --git a/pages/outbound/shelf-bind-2nd.vue b/pages/outbound/shelf-bind-2nd.vue index 1a91d04..651010f 100644 --- a/pages/outbound/shelf-bind-2nd.vue +++ b/pages/outbound/shelf-bind-2nd.vue @@ -52,7 +52,8 @@ - + + @@ -88,6 +89,7 @@ let res = await getPointStatus(e) this.dataList = [] this.dataList.push(res) + this.val2 = res.vehicle_code }, toEmpty () { this.val1 = '' @@ -106,6 +108,9 @@ async _bindOrUnbind (type) { try { let res = await bindOrUnbind(this.val1, this.val2, type) + if (res.code === '200') { + this._getPointStatus(this.val1) + } this.disabled = false uni.showToast({ title: res.msg,