Browse Source

样式+默认选择物料

hella_online_20240829
wangyufei 4 months ago
parent
commit
4088c602ed
  1. 5
      src/pages/fg/coms/comReceiptPopup.vue
  2. 11
      src/pages/fg/receiptByPlan.vue

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

@ -402,7 +402,10 @@
// 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;
} }

11
src/pages/fg/receiptByPlan.vue

@ -6,6 +6,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;"> <view class="" style="font-size: 35rpx;padding: 10rpx; padding-left: 15rpx;">
生产计划{{dataContent.planNumber}} 生产计划{{dataContent.planNumber}}
</view> </view>
@ -32,12 +34,12 @@
</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: 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 ">
@ -480,14 +482,11 @@
.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