|
|
@ -10,16 +10,16 @@ |
|
|
|
<uni-swipe-action ref="swipeAction"> |
|
|
|
<uni-swipe-action-item :right-options="item.scaned?scanOptions:detailOptions" |
|
|
|
@click="swipeClick($event,item)"> |
|
|
|
<recommend :detail="item" :isShowFromLocation="true" :isShowToLocation="true"></recommend> |
|
|
|
<recommend :detail="item" :isShowFromLocation="true" :isShowToLocation="true"></recommend> |
|
|
|
</uni-swipe-action-item> |
|
|
|
</uni-swipe-action> |
|
|
|
</view> |
|
|
|
<!-- <view class='split_line'></view> --> |
|
|
|
</uni-collapse-item> |
|
|
|
</uni-collapse> |
|
|
|
<balance-qty-edit ref="qtyEdit" :allowEditQty="allowEditQty" :settingParam="settingParam" @confirm="confirm" :allowEditStatus="true"></balance-qty-edit> |
|
|
|
<win-scan-location ref="scanLocationCode" title="目标库位" @getLocation='getLocation' |
|
|
|
></win-scan-location> |
|
|
|
<balance-qty-edit ref="qtyEdit" :settingParam="settingParam" :allowEditQty="allowEditQty" @confirm="confirm" |
|
|
|
:allowEditStatus="true"></balance-qty-edit> |
|
|
|
<win-scan-location ref="scanLocationCode" title="目标库位" @getLocation='getLocation'></win-scan-location> |
|
|
|
<detail-info-popup ref="detailInfoPopup"></detail-info-popup> |
|
|
|
<comMessage ref="message"></comMessage> |
|
|
|
</view> |
|
|
@ -69,8 +69,8 @@ |
|
|
|
}, |
|
|
|
allowEditQty: { |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
} |
|
|
|
default: false |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
// dataContent: { |
|
|
@ -84,7 +84,7 @@ |
|
|
|
this.detailOptions = getDetailOption(); |
|
|
|
} |
|
|
|
if (this.scanOptions.length == 0) { |
|
|
|
this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, this.settingParam |
|
|
|
this.scanOptions = getPurchaseReceiptOption("TRUE", this.settingParam |
|
|
|
.allowModifyLocation) |
|
|
|
} |
|
|
|
}, |
|
|
@ -135,7 +135,7 @@ |
|
|
|
}, |
|
|
|
//扫描源库位 |
|
|
|
getLocation(location, code) { |
|
|
|
this.locatonItem.toLocationCode =code; |
|
|
|
this.locatonItem.toLocationCode = code; |
|
|
|
this.$emit('updateData') |
|
|
|
}, |
|
|
|
} |
|
|
|