Browse Source

修改托码合并

wms3.0_pda
niexiting 11 months ago
parent
commit
f6180814d0
  1. 2
      mycomponents/container/targetContainer.vue
  2. 12
      pages/pallet/record/bindPalletRecord.vue

2
mycomponents/container/targetContainer.vue

@ -3,7 +3,7 @@
padding-bottom: 15rpx; padding-bottom: 15rpx;
padding-left: 10rpx; padding-left: 10rpx;
padding-right: 10rpx; padding-right: 10rpx;
font-size:32rpx;background-color: #fff;"> font-size:32rpx;">
<text style="font-size: 35rpx;">{{title}} </text> <text style="font-size: 35rpx;">{{title}} </text>
<view class="uni-flex u-col-center" @click="showLocation"> <view class="uni-flex u-col-center" @click="showLocation">
<text style="color:#3FBAFF;font-size: 35rpx;" v-if="containerCode==''&&isShowEdit==true">&nbsp 请扫描</text> <text style="color:#3FBAFF;font-size: 35rpx;" v-if="containerCode==''&&isShowEdit==true">&nbsp 请扫描</text>

12
pages/pallet/record/bindPalletRecord.vue

@ -16,13 +16,13 @@
</scroll-view> </scroll-view>
</view> </view>
<targetContainer ref="scanContainer" title="托盘" :containerCode="containerCode" @getContainer="getContainer">
</targetContainer>
<view class="page-footer"> <view class="page-footer">
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">
<view class=""> <view class="">
<targetContainer ref="scanContainer" title="托盘" :containerCode="containerCode"
@getContainer="getContainer">
</targetContainer>
</view> </view>
<view class=" uni-flex uni-row"> <view class=" uni-flex uni-row">
<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>
@ -41,7 +41,7 @@
import { import {
goHome, goHome,
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
getDirectoryItemArray getDirectoryItemArray
} from '@/common/directory.js'; } from '@/common/directory.js';
@ -175,11 +175,11 @@
scanPopupGetFocus() { scanPopupGetFocus() {
this.$refs.scanPopup.getfocus(); this.$refs.scanPopup.getfocus();
}, },
scanPopupLoseFocus() { scanPopupLoseFocus() {
this.$refs.scanPopup.losefocus(); this.$refs.scanPopup.losefocus();
}, },
commit() { commit() {
if (this.containerCode == "") { if (this.containerCode == "") {

Loading…
Cancel
Save