扫码异常接口缓存线接口

This commit is contained in:
2023-03-30 10:45:00 +08:00
parent 5315ea7016
commit 76e762e84e
10 changed files with 68 additions and 49 deletions

View File

@@ -25,7 +25,7 @@
</view>
<view class="search-item search-item-btns">
<button class="confirm-button" @tap="toSearch">查询</button>
<button class="confirm-button" :disabled="disabled" @tap="toSure">确认</button>
<button class="confirm-button" :class="{'confirm-button_disabled': !pkId}" :disabled="disabled" @tap="toSure">确认</button>
</view>
</view>
<!-- <view class="confirm-button-wrap">
@@ -95,8 +95,8 @@
this.index1 = e
if (this.index1) {
this._getCacheLine(e)
this.index2 = ''
}
this.index2 = ''
},
/** 选择器2 */
selectChange2(e) {
@@ -110,11 +110,11 @@
},
async _getCacheLine (id) {
let res = await getCacheLine(id)
this.options2 = [...res.result]
this.options2 = [...res]
},
async _inOutExceptionInstQuery () {
let res = await inOutExceptionInstQuery('2',this.index2,this.val1)
this.dataList = [...res.result]
this.dataList = [...res]
},
async toSure () {
this.disabled = true