|
|
@ -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; |
|
|
|