Browse Source

样式+默认选择物料 2024/8/2

hella_vue3
王志国 1 month ago
parent
commit
6553b2d0ee
  1. 3
      src/pages/fg/coms/comReceiptPopup.vue
  2. 10
      src/pages/fg/receiptByPlan.vue

3
src/pages/fg/coms/comReceiptPopup.vue

@ -367,7 +367,8 @@ export default {
// this.showItemCodeSelect = true // this.showItemCodeSelect = true
if (this.itemCodeList.length == 1) { if (this.itemCodeList.length == 1) {
this.itemCode = this.itemCodeList[0].itemCode this.confirmSelectItem([this.itemCodeList[0]])
// this.itemCode = this.itemCodeList[0].itemCode
} else { } else {
this.showItemCodeSelect = true this.showItemCodeSelect = true
} }

10
src/pages/fg/receiptByPlan.vue

@ -5,6 +5,8 @@
<com-blank-view @goScan="openFg" v-if="!dataContent"></com-blank-view> <com-blank-view @goScan="openFg" v-if="!dataContent"></com-blank-view>
</view> </view>
<view class="" v-if="dataContent"> <view class="" v-if="dataContent">
<view class="page-header">
<view class="header-view" >
<view class="" style="font-size: 35rpx; padding: 10rpx; padding-left: 15rpx"> 生产计划{{ dataContent.planNumber }} </view> <view class="" style="font-size: 35rpx; padding: 10rpx; padding-left: 15rpx"> 生产计划{{ dataContent.planNumber }} </view>
<view class="split_line"></view> <view class="split_line"></view>
@ -27,12 +29,13 @@
</view> </view>
</view> </view>
<view class="split_line"></view> <view class="split_line"></view>
</view>
</view>
<view class="" style="padding-top: 10rpx; padding-bottom: 10rpx; margin-left: 10rpx"> <view class="" style="padding-top: 10rpx; padding-bottom: 10rpx; margin-left: 10rpx">
<item :dataContent="dataContent"></item> <item :dataContent="dataContent"></item>
</view> </view>
<view class="split_line"></view> <view class="split_line"></view>
<view class="uni-flex uni-row space-between" style="align-items: center"> <view class="uni-flex uni-row space-between" style="align-items: center;padding: 0 10rpx;">
<view style="word-break: break-all"> <view style="word-break: break-all">
<batch :batch="dataContent.batch"></batch> <batch :batch="dataContent.batch"></batch>
<view class="card_view"> <view class="card_view">
@ -405,14 +408,11 @@ page {
.header { .header {
position: fixed; position: fixed;
/* #ifdef H5 */ /* #ifdef H5 */
top: 88rpx;
/* #endif */ /* #endif */
left: 0; left: 0;
width: 100%; width: 100%;
background-color: #fff; background-color: #fff;
z-index: 10; z-index: 10;
padding: 10rpx;
/* 确保头部在内容之上 */
} }
.page-footer { .page-footer {

Loading…
Cancel
Save