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' <okToHoldRecordPack ref="okToHoldRecordPackRef" :showOnePop='showOnePop'
@showFromLocationPopup='showFromLocationPopup' @itemCodeClick='openScanPopup' @showFromLocationPopup='showFromLocationPopup' @itemCodeClick='openScanPopup'
@confirm='okToHoldRecordPackConfirm' @getInputMsgResult="getInputMsgResult" @onConfirm='okToHoldRecordPackConfirm' @getInputMsgResult="getInputMsgResult"
@itemCodeScanMsg='itemCodeScanMsg'></okToHoldRecordPack> ></okToHoldRecordPack>
<win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult' :title="'箱码'"> <win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult' :title="'箱码'">
</win-scan-pack-and-location> </win-scan-pack-and-location>
<win-scan-location ref="scanFromLocationCode" title="来源库位" @getLocation='getFromLocation' <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"> <view class="uni-flex uni-row hide_border">
<button class="btn_edit_big_cancle" hover-class="btn_edit_big_after" <button class="btn_edit_big_cancle" hover-class="btn_edit_big_after"
@click="showOne = false">取消</button> @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> </view>
</u-popup> </u-popup>
@ -83,7 +83,7 @@
winScanLocation, winScanLocation,
uom uom
}, },
emits: ["showFromLocationPopup", 'itemCodeClick', 'confirm', 'getInputMsgResult', 'clearFromLocationCode', emits: ["showFromLocationPopup", 'itemCodeClick', 'onConfirm', 'getInputMsgResult', 'clearFromLocationCode',
'clickBtnClearItemCode' 'clickBtnClearItemCode'
], ],
data() { data() {
@ -120,7 +120,7 @@
} }
this.$emit("itemCodeClick"); this.$emit("itemCodeClick");
}, },
confirm() { clickConfirm() {
// this.$refs.scanLocationCode.openScanPopup() // this.$refs.scanLocationCode.openScanPopup()
let obj = { let obj = {
@ -129,7 +129,7 @@
batch: this.batch, batch: this.batch,
handleQty: this.handleQty, handleQty: this.handleQty,
} }
this.$emit("confirm", obj); this.$emit("onConfirm", obj);
// if(!obj.fromLocationCode){ // if(!obj.fromLocationCode){
// this.$refs.comMessage.showErrorMessage(''); // this.$refs.comMessage.showErrorMessage('');
// return; // return;

Loading…
Cancel
Save