|
@ -56,7 +56,6 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class=" uni-flex uni-row space-between"> |
|
|
<view class=" uni-flex uni-row space-between"> |
|
|
|
|
|
|
|
|
<button class="btn_single_commit" hover-class="btn_commit_after" @click="commit">提交</button> |
|
|
<button class="btn_single_commit" hover-class="btn_commit_after" @click="commit">提交</button> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -65,7 +64,7 @@ |
|
|
<win-scan-button v-if="fromLocationCode!=''" @goScan='openScanPopup'></win-scan-button> |
|
|
<win-scan-button v-if="fromLocationCode!=''" @goScan='openScanPopup'></win-scan-button> |
|
|
<win-scan-pack ref="scanPopup" @getResult='getScanResult'></win-scan-pack> |
|
|
<win-scan-pack ref="scanPopup" @getResult='getScanResult'></win-scan-pack> |
|
|
<win-scan-location ref="scanLocationCode" title="盘点库位" @getLocation='getLocation'></win-scan-location> |
|
|
<win-scan-location ref="scanLocationCode" title="盘点库位" @getLocation='getLocation'></win-scan-location> |
|
|
<count-qty-edit ref="countQtyEdit" @confirm="editConfirm" @close="editClose" :isShowStatus="true" |
|
|
<count-qty-edit ref="countQtyEdit" @confirm="editConfirm" @close="editClose" :isShowStatus="true" :isShowDesc="false" |
|
|
:allowEditStatus="editInventoryStatus" :isShowBalance="jobContent.isOpenCount=='TRUE'"> |
|
|
:allowEditStatus="editInventoryStatus" :isShowBalance="jobContent.isOpenCount=='TRUE'"> |
|
|
</count-qty-edit> |
|
|
</count-qty-edit> |
|
|
<comMessage ref="comMessage"></comMessage> |
|
|
<comMessage ref="comMessage"></comMessage> |
|
@ -324,10 +323,6 @@ |
|
|
getScanResult(result) { |
|
|
getScanResult(result) { |
|
|
let that = this; |
|
|
let that = this; |
|
|
let packInfo = result.package; |
|
|
let packInfo = result.package; |
|
|
let detail = this.createDetailInfo(packInfo); |
|
|
|
|
|
this.detailSource.unshift(detail); |
|
|
|
|
|
this.scanPopupGetFocus(); |
|
|
|
|
|
return; |
|
|
|
|
|
if (this.itemRangeValue != '') { |
|
|
if (this.itemRangeValue != '') { |
|
|
let index = this.itemRangeValue.indexOf(packInfo.itemCode) |
|
|
let index = this.itemRangeValue.indexOf(packInfo.itemCode) |
|
|
if (index < 0) { |
|
|
if (index < 0) { |
|
@ -395,7 +390,7 @@ |
|
|
createTime: new Date().getTime(), |
|
|
createTime: new Date().getTime(), |
|
|
countTime: new Date().getTime(), |
|
|
countTime: new Date().getTime(), |
|
|
countUser: this.$store.state.user.id, |
|
|
countUser: this.$store.state.user.id, |
|
|
countDescription: 'a', |
|
|
countDescription: '', |
|
|
countQty: packInfo.qty |
|
|
countQty: packInfo.qty |
|
|
} |
|
|
} |
|
|
return detail; |
|
|
return detail; |
|
|