Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-uniapp into master_hella

hella_online_20240829
lijuncheng 4 months ago
parent
commit
f5ed14a53a
  1. 8
      src/mycomponents/qty/countQtyEdit.vue
  2. 9
      src/pages/count/job/fuzzyCountDetail.vue

8
src/mycomponents/qty/countQtyEdit.vue

@ -68,10 +68,10 @@
</view> </view>
<view v-if="isShowStatus"> <view v-if="isShowDesc">
<view class='split_line'></view> <view class='split_line'></view>
<view class="uni-flex uni-row space-between padding title u-col-center" <view class="uni-flex uni-row space-between padding title u-col-center"
style="align-items: center; padding-left: 30rpx;"> style="align-items: center;">
<text>描述 : </text> <text>描述 : </text>
<view class="uni-flex uni-row uni-center" style="align-items: center;"> <view class="uni-flex uni-row uni-center" style="align-items: center;">
<input class="desc_input" v-model="description" :focus="true" <input class="desc_input" v-model="description" :focus="true"
@ -158,6 +158,10 @@
type: Boolean, type: Boolean,
default: false default: false
}, },
isShowDesc: {
type: Boolean,
default: false
},
}, },
methods: { methods: {
checkNum(e) { checkNum(e) {

9
src/pages/count/job/fuzzyCountDetail.vue

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

Loading…
Cancel
Save