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