Merge branches 'Dev' and 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev
| | |
| | | HRepairList: [], |
| | | |
| | | hform: { |
| | | "HBillType":"3843", |
| | | "HBarCode": "", |
| | | "HBillNo": "", |
| | | "HInterID": "0", |
| | |
| | | "HUpDateDate": "", |
| | | "HDeleteMan": "", |
| | | "HDeleteDate": "", |
| | | HMouldName: "", |
| | | HMouldSpec: "", |
| | | HMouldModel: "", |
| | | "HMouldName": "", |
| | | "HMouldSpec": "", |
| | | "HMouldModel": "", |
| | | "HStockOrgID": uni.getStorageSync("OrganizationID") || "0" // 新增 |
| | | }, |
| | | HDetailList: [{ // 后端接口提交需要 明细信息 |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | // @import "@/pages/MJGL/style/MJBillStyle.scss"; |
| | | @import "@/pages/MJGL/style/MJBillStyle.scss"; |
| | | |
| | | .picker-overlay { |
| | | position: absolute; |
| | |
| | | goBack() { |
| | | uni.navigateBack(); |
| | | }, |
| | | // 设置为自动 |
| | | setAuto() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.unlockOrientation(); |
| | | } |
| | | }, |
| | | // 设置为竖屏 |
| | | setPortrait() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.lockOrientation('portrait'); |
| | | } |
| | | }, |
| | | |
| | | }, |
| | | async onLoad(e) { |
| | | this.setAuto(); |
| | | this.operationType = e.operationType || 1; |
| | | this.hform.HInterID = e.linterid || 0; |
| | | if (this.operationType == 1) { |
| | |
| | | await this.InitHGroup(); |
| | | await this.loadCache(); |
| | | }, |
| | | onUnload(){ |
| | | this.setPortrait(); |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | |
| | | @tap="subTabSelected = subTab.id">{{ subTab.name }}</view> |
| | | </view> |
| | | <!-- 子表内容 --> |
| | | <view class="bill-main-contents"> |
| | | <view class="bill-sub-content"> |
| | | <!-- 检验项目 呈现 --> |
| | | <view v-if="subTabSelected == 1"> |
| | | <!-- 需通过显式调用忽略$event参数 --> |
| | |
| | | }); |
| | | } |
| | | }, |
| | | // 设置为自动 |
| | | setAuto() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.unlockOrientation(); |
| | | } |
| | | }, |
| | | // 设置为竖屏 |
| | | setPortrait() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.lockOrientation('portrait'); |
| | | } |
| | | }, |
| | | }, |
| | | async onLoad(e) { |
| | | this.setAuto(); |
| | | this.operationType = e.operationType || 1; |
| | | this.hform.HInterID = e.linterid || 0; |
| | | console.log(this.hform.HFirstCheckEmp) |
| | |
| | | await this.InitHEmp(); |
| | | await this.loadCache(); |
| | | }, |
| | | onUnload(){ |
| | | this.setPortrait(); |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | .bill-main-content, |
| | | .bill-sub-content { |
| | | box-sizing: border-box; |
| | | padding: 0 30rpx 0 30rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | .form-item { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 26rpx; |
| | | padding: 6rpx 0; |
| | | |
| | | .left { |
| | | width: 208rpx; |
| | | |
| | | text { |
| | | color: red; |
| | | font-weight: bold; |
| | | } |
| | | } |
| | | |
| | | .right { |
| | | // width: 450rpx; |
| | | padding: 8rpx 20rpx; |
| | | font-size: 26rpx; |
| | | flex: 1; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #acacac; |
| | | |
| | | .uni-combox { |
| | | padding: 0; |
| | | height: auto; |
| | | |
| | | .uni-input-placeholder, |
| | | .uni-input-input { |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | .uni-combox::v-deep input { |
| | | height: inherit; |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | .disabled { |
| | | border: 1px solid #e4e4e4; |
| | | background-color: #e4e4e4; |
| | | } |
| | | |
| | | .none-border { |
| | | border: none; |
| | | } |
| | | } |
| | | .bill-main-content{ |
| | | box-sizing: border-box; |
| | | padding: 0 30rpx 0 30rpx; |
| | | display: flex; |
| | | flex-direction: row; |
| | | flex-wrap: wrap; /* 超出自动换行 */ |
| | | /* 可选:设置换行后的对齐方式 */ |
| | | align-content: flex-start; /* 多行对齐方式 */ |
| | | .form-item { |
| | | width: 600rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 26rpx; |
| | | padding: 6rpx 0; |
| | | margin-right: 20rpx; |
| | | .left { |
| | | width: 208rpx; |
| | | |
| | | text { |
| | | color: red; |
| | | font-weight: bold; |
| | | } |
| | | } |
| | | |
| | | .right { |
| | | // width: 450rpx; |
| | | padding: 8rpx 20rpx; |
| | | font-size: 26rpx; |
| | | flex: 1; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #acacac; |
| | | |
| | | .uni-combox { |
| | | padding: 0; |
| | | height: auto; |
| | | |
| | | .uni-input-placeholder, |
| | | .uni-input-input { |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | .uni-combox::v-deep input { |
| | | height: inherit; |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | .right-select { |
| | | //padding: 8rpx 20rpx; |
| | | font-size: 26rpx; |
| | | flex: 1; |
| | | |
| | | } |
| | | .disabled { |
| | | border: 1px solid #e4e4e4; |
| | | background-color: #e4e4e4; |
| | | } |
| | | |
| | | .none-border { |
| | | border: none; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .bottom-btn { |
| | |
| | | color: #fff; |
| | | } |
| | | } |
| | | |
| | | ::v-deep .uni-card { |
| | | flex: 500rpx; |
| | | } |
| | | .list { |
| | | width: 100%; |
| | | |
| | | display: flex; /* 添加flex布局 */ |
| | | flex-wrap: wrap; /* 允许换行 */ |
| | | gap: 20rpx; /* 设置卡片间距 */ |
| | | |
| | | .card-detail { |
| | | width: 100%; |
| | | width: 500rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | |
| | | line-height: 120%; |
| | | padding: 20rpx 10rpx; |
| | | gap: 10rpx 0; |
| | | |
| | | |
| | | input { |
| | | font-size: 26rpx; |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | .icon-wrapper { |
| | | background-color: #3a78ff; |
| | | border-radius: 100%; |
| | |
| | | }); |
| | | } |
| | | }, |
| | | // 设置为自动 |
| | | setAuto() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.unlockOrientation(); |
| | | } |
| | | }, |
| | | // 设置为竖屏 |
| | | setPortrait() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.lockOrientation('portrait'); |
| | | } |
| | | }, |
| | | }, |
| | | async onLoad(e) { |
| | | this.setAuto(); |
| | | this.operationType = e.operationType || 1; |
| | | this.hform.HInterID = e.linterid || 0; |
| | | if (this.operationType == 1) { |
| | |
| | | await this.InitHEmp(); |
| | | await this.loadCache(); |
| | | }, |
| | | onUnload(){ |
| | | this.setPortrait(); |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | .bill-main-content, |
| | | .bill-sub-content { |
| | | box-sizing: border-box; |
| | | padding: 0 30rpx 0 30rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | .form-item { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 26rpx; |
| | | padding: 6rpx 0; |
| | | |
| | | .left { |
| | | width: 208rpx; |
| | | |
| | | text { |
| | | color: red; |
| | | font-weight: bold; |
| | | } |
| | | } |
| | | |
| | | .right { |
| | | // width: 450rpx; |
| | | padding: 8rpx 20rpx; |
| | | font-size: 26rpx; |
| | | flex: 1; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #acacac; |
| | | |
| | | .uni-combox { |
| | | padding: 0; |
| | | height: auto; |
| | | |
| | | .uni-input-placeholder, |
| | | .uni-input-input { |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | .uni-combox::v-deep input { |
| | | height: inherit; |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | .disabled { |
| | | border: 1px solid #e4e4e4; |
| | | background-color: #e4e4e4; |
| | | } |
| | | |
| | | .none-border { |
| | | border: none; |
| | | } |
| | | } |
| | | .bill-main-content{ |
| | | box-sizing: border-box; |
| | | padding: 0 30rpx 0 30rpx; |
| | | display: flex; |
| | | flex-direction: row; |
| | | flex-wrap: wrap; /* 超出自动换行 */ |
| | | /* 可选:设置换行后的对齐方式 */ |
| | | align-content: flex-start; /* 多行对齐方式 */ |
| | | .form-item { |
| | | width: 600rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 26rpx; |
| | | padding: 6rpx 0; |
| | | margin-right: 20rpx; |
| | | .left { |
| | | width: 208rpx; |
| | | |
| | | text { |
| | | color: red; |
| | | font-weight: bold; |
| | | } |
| | | } |
| | | |
| | | .right { |
| | | // width: 450rpx; |
| | | padding: 8rpx 20rpx; |
| | | font-size: 26rpx; |
| | | flex: 1; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #acacac; |
| | | |
| | | .uni-combox { |
| | | padding: 0; |
| | | height: auto; |
| | | |
| | | .uni-input-placeholder, |
| | | .uni-input-input { |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | .uni-combox::v-deep input { |
| | | height: inherit; |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | .right-select { |
| | | //padding: 8rpx 20rpx; |
| | | font-size: 26rpx; |
| | | flex: 1; |
| | | |
| | | } |
| | | .disabled { |
| | | border: 1px solid #e4e4e4; |
| | | background-color: #e4e4e4; |
| | | } |
| | | |
| | | .none-border { |
| | | border: none; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .bottom-btn { |
| | |
| | | } |
| | | } |
| | | |
| | | ::v-deep .uni-card { |
| | | flex: 500rpx; |
| | | } |
| | | .list { |
| | | width: 100%; |
| | | |
| | | display: flex; /* 添加flex布局 */ |
| | | flex-wrap: wrap; /* 允许换行 */ |
| | | gap: 20rpx; /* 设置卡片间距 */ |
| | | |
| | | .card-detail { |
| | | width: 100%; |
| | | width: 500rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | line-height: 120%; |
| | | padding: 20rpx 10rpx; |
| | | gap: 10rpx 0; |
| | | |
| | | |
| | | input { |
| | | font-size: 26rpx; |
| | | } |
| | | |
| | | |
| | | .detail { |
| | | // width: 50%; |
| | | box-sizing: border-box; |
| | | font-size: 26rpx; |
| | | color: #555; |
| | | padding-right: 20rpx; |
| | | |
| | | |
| | | text { |
| | | color: #999; |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | |
| | | .editable { |
| | | width: 50%; |
| | | display: inline-flex; |
| | | flex-direction: row; |
| | | align-items: center; |
| | | |
| | | |
| | | text { |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .sampleDestory { |
| | | border: 1px solid #acacac; |
| | | border-radius: 10%; |
| | | padding: 0 12rpx; |
| | | } |
| | | |
| | | |
| | | .editable-input { |
| | | border: 1px solid #acacac; |
| | | border-radius: 5rpx; |
| | |
| | | url: "/Gy_Employee/list", |
| | | data: { |
| | | sWhere: ` and 组织名称 = '${uni.getStorageSync( |
| | | "Organization" |
| | | )}' and 禁用标记 = ''and 审核人 !='' order by 部门代码`, |
| | | "Organization" |
| | | )}' and 禁用标记 = ''and 审核人 !=''`, |
| | | user: getUserInfo()["Czymc"], |
| | | Organization: uni.getStorageSync("Organization"), |
| | | }, |
| | |
| | | }); |
| | | } |
| | | }, |
| | | // 设置为自动 |
| | | setAuto() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.unlockOrientation(); |
| | | } |
| | | }, |
| | | // 设置为竖屏 |
| | | setPortrait() { |
| | | if (uni.getSystemInfoSync().platform === 'android' || |
| | | uni.getSystemInfoSync().platform === 'ios') { |
| | | plus.screen.lockOrientation('portrait'); |
| | | } |
| | | }, |
| | | }, |
| | | async onLoad(e) { |
| | | this.setAuto(); |
| | | this.operationType = e.operationType || 1; |
| | | this.hform.HInterID = e.linterid || 0; |
| | | if (this.operationType == 1) { |
| | |
| | | await this.InitHEmp(); |
| | | await this.loadCache() |
| | | }, |
| | | onUnload(){ |
| | | this.setPortrait(); |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | .bill-main-content, |
| | | .bill-sub-content { |
| | | .bill-main-content{ |
| | | box-sizing: border-box; |
| | | padding: 0 30rpx 0 30rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | flex-direction: row; |
| | | flex-wrap: wrap; /* 超出自动换行 */ |
| | | /* 可选:设置换行后的对齐方式 */ |
| | | align-content: flex-start; /* 多行对齐方式 */ |
| | | .form-item { |
| | | width: 100%; |
| | | width: 600rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 26rpx; |
| | | padding: 6rpx 0; |
| | | |
| | | margin-right: 20rpx; |
| | | .left { |
| | | width: 208rpx; |
| | | |
| | | |
| | | text { |
| | | color: red; |
| | | font-weight: bold; |
| | | } |
| | | } |
| | | |
| | | |
| | | .right { |
| | | // width: 450rpx; |
| | | padding: 8rpx 20rpx; |
| | |
| | | flex: 1; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #acacac; |
| | | |
| | | |
| | | .uni-combox { |
| | | padding: 0; |
| | | height: auto; |
| | | |
| | | |
| | | .uni-input-placeholder, |
| | | .uni-input-input { |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | |
| | | .uni-combox::v-deep input { |
| | | height: inherit; |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | .right-select { |
| | | //padding: 8rpx 20rpx; |
| | | font-size: 26rpx; |
| | | flex: 1; |
| | | |
| | | } |
| | | .disabled { |
| | | border: 1px solid #e4e4e4; |
| | | background-color: #e4e4e4; |
| | | } |
| | | |
| | | |
| | | .none-border { |
| | | border: none; |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | ::v-deep .uni-card { |
| | | flex: 500rpx; |
| | | } |
| | | .list { |
| | | width: 100%; |
| | | |
| | | .card-detail { |
| | | width: 100%; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | line-height: 120%; |
| | | gap: 10rpx 0; |
| | | |
| | | input { |
| | | font-size: 26rpx; |
| | | } |
| | | |
| | | .detail { |
| | | // width: 50%; |
| | | box-sizing: border-box; |
| | | font-size: 26rpx; |
| | | color: #555; |
| | | padding-right: 20rpx; |
| | | |
| | | text { |
| | | color: #999; |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | .editable { |
| | | width: 50%; |
| | | display: inline-flex; |
| | | flex-direction: row; |
| | | align-items: center; |
| | | |
| | | text { |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .editable-input { |
| | | border: 1px solid #acacac; |
| | | border-radius: 5rpx; |
| | | padding: 0 12rpx; |
| | | } |
| | | } |
| | | } |
| | | width: 100%; |
| | | display: flex; /* 添加flex布局 */ |
| | | flex-wrap: wrap; /* 允许换行 */ |
| | | gap: 20rpx; /* 设置卡片间距 */ |
| | | |
| | | .card-detail { |
| | | width: 500rpx; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | line-height: 120%; |
| | | padding: 20rpx 10rpx; |
| | | gap: 10rpx 0; |
| | | |
| | | input { |
| | | font-size: 26rpx; |
| | | } |
| | | |
| | | .detail { |
| | | // width: 50%; |
| | | box-sizing: border-box; |
| | | font-size: 26rpx; |
| | | color: #555; |
| | | padding-right: 20rpx; |
| | | |
| | | text { |
| | | color: #999; |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | |
| | | .editable { |
| | | width: 50%; |
| | | display: inline-flex; |
| | | flex-direction: row; |
| | | align-items: center; |
| | | |
| | | text { |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .editable-input { |
| | | border: 1px solid #acacac; |
| | | border-radius: 5rpx; |
| | | padding: 0 12rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .icon-wrapper { |
| | |
| | | <view class="title">栈板码</view> |
| | | <!-- 按照源单物料样式添加disabled类和禁用属性 --> |
| | | <view class="right" :class="disableBarCodePallet ? 'disabled' : ''"> |
| | | <input type="text" :focus="HBarCodePalletFocus" v-model="HBarCode_Pallet" |
| | | <input type="text" :focus="HBarCodePalletFocus" v-model="HBarCode_Pallet" v-on:click="selectAll" |
| | | @confirm="CheckBarcode(HBarCode_Pallet,1)" :disabled="disableBarCodePallet" /> |
| | | </view> |
| | | <view class="right-icon"> |
| | |
| | | <view class="title">目的仓码</view> |
| | | <!-- 按照源单物料样式添加disabled类和禁用属性 --> |
| | | <view class="right" :class="disableBarCodeDest ? 'disabled' : ''"> |
| | | <input type="text" :focus="HBarCodeDestFocus" v-model="HBarCode_Destination" |
| | | <input type="text" :focus="HBarCodeDestFocus" v-model="HBarCode_Destination" v-on:click="selectAll" |
| | | @confirm="CheckBarcode(HBarCode_Destination,2)" :disabled="disableBarCodeDest" /> |
| | | </view> |
| | | <view class="right-icon"> |
| | |
| | | <view class="title">中箱码</view> |
| | | <!-- 按照源单物料样式添加disabled类和禁用属性 --> |
| | | <view class="right" :class="disableBarCodeMiddle ? 'disabled' : ''"> |
| | | <input type="text" :focus="HBarCodeMiddleFocus" v-model="HBarCode_MiddleBox " |
| | | <input type="text" :focus="HBarCodeMiddleFocus" v-model="HBarCode_MiddleBox" v-on:click="selectAll" |
| | | @confirm="CheckBarcode(HBarCode_MiddleBox,3)" :disabled="disableBarCodeMiddle" /> |
| | | </view> |
| | | <view class="right-icon"> |
| | |
| | | |
| | | // ==================== 方法 ==================== |
| | | methods: { |
| | | //点击文本框,自动全选文本框内容 |
| | | selectAll(e){ |
| | | event.target.select(); |
| | | }, |
| | | |
| | | // 复选框变化处理 |
| | | checkboxGroupChangeHandler(e) { |
| | | let checkBoxValues = Array.from(e.detail.value) |
| | |
| | | HBarCodeType: HBarCodeType, |
| | | HInterID: this.hform.HInterID, |
| | | HBillNo: this.hform.HBillNo, |
| | | HMaker: this.hform.HMaker |
| | | HMaker: this.hform.HMaker, |
| | | HBillType: "三码合一" |
| | | }, |
| | | resFunction: (res) => { |
| | | let { |
| | |
| | | CommonUtils.playSound(1) |
| | | |
| | | if(HBarCodeType == 1){ |
| | | disableBarCodePallet: false, // 栈板码禁用状态 |
| | | //处理成功后聚焦到目的仓码输入框 |
| | | this.HBarCodeDestFocusRefresh() |
| | | }else if(HBarCodeType == 2){ |
| | | disableBarCodeDest: false, // 目的仓码禁用状态 |
| | | //处理成功后聚焦到中箱码输入框 |
| | | this.HBarCodeMiddleFocusRefresh() |
| | | }else if(HBarCodeType == 3){ |
| | | //处理成功后聚焦到SN码输入框 |
| | | this.HBarCodeFocusRefresh() |
| | | this.HBarCodeMiddleFocusRefresh() |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | } else { |
| | | CommonUtils.playSound(0) |
| | | this.HBarCodePalletFocusRefresh() |
| | | if(HBarCodeType == 1){ |
| | | this.HBarCodePalletFocusRefresh() |
| | | }else if(HBarCodeType == 2){ |
| | | this.HBarCodeDestFocusRefresh() |
| | | }else if(HBarCodeType == 3){ |
| | | this.HBarCodeMiddleFocusRefresh() |
| | | } |
| | | //this.HBarCodePalletFocusRefresh() |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: Message |
| | |
| | | url: '/CheckBarcodeController/Save_BarCode_BarcodeCheck', |
| | | data: { |
| | | "HInterID": this.hform.HInterID, |
| | | "HBillNo": this.hform.HBillNo |
| | | "HBillNo": this.hform.HBillNo, |
| | | "HBillType": "三码合一" |
| | | }, |
| | | resFunction: (res) => { |
| | | let { |
| | |
| | | } |
| | | }) |
| | | } else { |
| | | this.EnableSubmit = true |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: Message |
| | |
| | | <view class="title">栈板码</view> |
| | | <!-- 按照源单物料样式添加disabled类和禁用属性 --> |
| | | <view class="right" :class="disableBarCodePallet ? 'disabled' : ''"> |
| | | <input type="text" :focus="HBarCodePalletFocus" v-model="HBarCode_Pallet" |
| | | <input type="text" :focus="HBarCodePalletFocus" v-model="HBarCode_Pallet" v-on:click="selectAll" |
| | | @confirm="CheckBarcode(HBarCode_Pallet,1)" :disabled="disableBarCodePallet" /> |
| | | </view> |
| | | <view class="right-icon"> |
| | |
| | | <view class="title">目的仓码</view> |
| | | <!-- 按照源单物料样式添加disabled类和禁用属性 --> |
| | | <view class="right" :class="disableBarCodeDest ? 'disabled' : ''"> |
| | | <input type="text" :focus="HBarCodeDestFocus" v-model="HBarCode_Destination" |
| | | <input type="text" :focus="HBarCodeDestFocus" v-model="HBarCode_Destination" v-on:click="selectAll" |
| | | @confirm="CheckBarcode(HBarCode_Destination,2)" :disabled="disableBarCodeDest" /> |
| | | </view> |
| | | <view class="right-icon"> |
| | |
| | | <view class="title">中箱码</view> |
| | | <!-- 按照源单物料样式添加disabled类和禁用属性 --> |
| | | <view class="right" :class="disableBarCodeMiddle ? 'disabled' : ''"> |
| | | <input type="text" :focus="HBarCodeMiddleFocus" v-model="HBarCode_MiddleBox " |
| | | <input type="text" :focus="HBarCodeMiddleFocus" v-model="HBarCode_MiddleBox" v-on:click="selectAll" |
| | | @confirm="CheckBarcode(HBarCode_MiddleBox,3)" :disabled="disableBarCodeMiddle" /> |
| | | </view> |
| | | <view class="right-icon"> |
| | |
| | | <view class="title">产品码</view> |
| | | <!-- 按照源单物料样式添加disabled类和禁用属性 --> |
| | | <view class="right" :class="disableBarCodeSN ? 'disabled' : ''"> |
| | | <input type="text" :focus="HBarCodeSNFocus" v-model="HBarCode_SN" |
| | | <input type="text" :focus="HBarCodeSNFocus" v-model="HBarCode_SN" v-on:click="selectAll" |
| | | @confirm="CheckBarcode(HBarCode_SN,4)" :disabled="disableBarCodeSN" /> |
| | | </view> |
| | | <view class="right-icon"> |
| | |
| | | |
| | | // ==================== 方法 ==================== |
| | | methods: { |
| | | //点击文本框,自动全选文本框内容 |
| | | selectAll(e){ |
| | | event.target.select(); |
| | | }, |
| | | |
| | | // 复选框变化处理 |
| | | checkboxGroupChangeHandler(e) { |
| | | let checkBoxValues = Array.from(e.detail.value) |
| | |
| | | HBarCodeType: HBarCodeType, |
| | | HInterID: this.hform.HInterID, |
| | | HBillNo: this.hform.HBillNo, |
| | | HMaker: this.hform.HMaker |
| | | HMaker: this.hform.HMaker, |
| | | HBillType: "四码合一" |
| | | }, |
| | | resFunction: (res) => { |
| | | let { |
| | |
| | | CommonUtils.playSound(1) |
| | | |
| | | if(HBarCodeType == 1){ |
| | | disableBarCodePallet: false, // 栈板码禁用状态 |
| | | //处理成功后聚焦到目的仓码输入框 |
| | | this.HBarCodeDestFocusRefresh() |
| | | }else if(HBarCodeType == 2){ |
| | | disableBarCodeDest: false, // 目的仓码禁用状态 |
| | | //处理成功后聚焦到中箱码输入框 |
| | | this.HBarCodeMiddleFocusRefresh() |
| | | }else if(HBarCodeType == 3){ |
| | |
| | | } |
| | | } else { |
| | | CommonUtils.playSound(0) |
| | | this.HBarCodePalletFocusRefresh() |
| | | if(HBarCodeType == 1){ |
| | | this.HBarCodePalletFocusRefresh() |
| | | }else if(HBarCodeType == 2){ |
| | | this.HBarCodeDestFocusRefresh() |
| | | }else if(HBarCodeType == 3){ |
| | | this.HBarCodeMiddleFocusRefresh() |
| | | }else if(HBarCodeType == 4){ |
| | | this.HBarCodeSNFocusRefresh() |
| | | } |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: Message |
| | |
| | | url: '/CheckBarcodeController/Save_BarCode_BarcodeCheck', |
| | | data: { |
| | | "HInterID": this.hform.HInterID, |
| | | "HBillNo": this.hform.HBillNo |
| | | "HBillNo": this.hform.HBillNo, |
| | | "HBillType": "四码合一" |
| | | }, |
| | | resFunction: (res) => { |
| | | let { |
| | |
| | | } |
| | | }) |
| | | } else { |
| | | this.EnableSubmit = true |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: Message |