Browse Source

YT-1110 修改获取焦点调用查询

intex
lijuncheng 1 day ago
parent
commit
bfa78cbaa7
  1. 4
      src/pages/inventoryMove/coms/comMoveRecord.vue
  2. 8
      src/pages/inventoryMove/coms/okToHoldRecordPack.vue

4
src/pages/inventoryMove/coms/comMoveRecord.vue

@ -36,8 +36,8 @@
<!-- 合格转隔离单独的弹窗-->
<okToHoldRecordPack ref="okToHoldRecordPackRef" :showOnePop='showOnePop'
@showFromLocationPopup='showFromLocationPopup' @itemCodeClick='openScanPopup'
@confirm='okToHoldRecordPackConfirm' @getInputMsgResult="getInputMsgResult"
@itemCodeScanMsg='itemCodeScanMsg'></okToHoldRecordPack>
@onConfirm='okToHoldRecordPackConfirm' @getInputMsgResult="getInputMsgResult"
></okToHoldRecordPack>
<win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult' :title="'箱码'">
</win-scan-pack-and-location>
<win-scan-location ref="scanFromLocationCode" title="来源库位" @getLocation='getFromLocation'

8
src/pages/inventoryMove/coms/okToHoldRecordPack.vue

@ -50,7 +50,7 @@
<view class="uni-flex uni-row hide_border">
<button class="btn_edit_big_cancle" hover-class="btn_edit_big_after"
@click="showOne = false">取消</button>
<button class="btn_edit_big_confirm" hover-class="btn_edit_big_after" @click="confirm()">确认</button>
<button class="btn_edit_big_confirm" hover-class="btn_edit_big_after" @click="clickConfirm">确认</button>
</view>
</u-popup>
@ -83,7 +83,7 @@
winScanLocation,
uom
},
emits: ["showFromLocationPopup", 'itemCodeClick', 'confirm', 'getInputMsgResult', 'clearFromLocationCode',
emits: ["showFromLocationPopup", 'itemCodeClick', 'onConfirm', 'getInputMsgResult', 'clearFromLocationCode',
'clickBtnClearItemCode'
],
data() {
@ -120,7 +120,7 @@
}
this.$emit("itemCodeClick");
},
confirm() {
clickConfirm() {
// this.$refs.scanLocationCode.openScanPopup()
let obj = {
@ -129,7 +129,7 @@
batch: this.batch,
handleQty: this.handleQty,
}
this.$emit("confirm", obj);
this.$emit("onConfirm", obj);
// if(!obj.fromLocationCode){
// this.$refs.comMessage.showErrorMessage('');
// return;

Loading…
Cancel
Save