Browse Source

修改发料任务布局

wms3.0_pda
lijuncheng 11 months ago
parent
commit
8849c9a581
  1. 4
      mycomponents/balance/handleBalance.vue
  2. 10
      mycomponents/balance/recommendBalance.vue
  3. 6
      mycomponents/package/packageDetailPopup.vue
  4. 2
      pages/issue/coms/comIssueDetailCard.vue

4
mycomponents/balance/handleBalance.vue

@ -1,12 +1,12 @@
<template> <template>
<view :class="detail.scaned?'scan_view':''" style="background-color: #ffffff;"> <view :class="detail.scaned?'scan_view':''" style="background-color: #ffffff;">
<view class="space_between" > <view class="space_between" >
<view > <view style="word-break: break-all;width: 60%;">
<pack v-if="isShowPack" :packingCode="detail.packingNumber"></pack> <pack v-if="isShowPack" :packingCode="detail.packingNumber"></pack>
<batch v-if="isShowBatch" :batch="detail.batch"></batch> <batch v-if="isShowBatch" :batch="detail.batch"></batch>
<location v-if="isShowLocation" :locationCode="detail.fromLocationCode"></location> <location v-if="isShowLocation" :locationCode="detail.fromLocationCode"></location>
</view> </view>
<view > <view style="word-break: break-all;">
<recommend-qty v-if="detail.record==null || detail.record==undefined" :dataContent="detail" <recommend-qty v-if="detail.record==null || detail.record==undefined" :dataContent="detail"
:isShowStdPack="false"></recommend-qty> :isShowStdPack="false"></recommend-qty>

10
mycomponents/balance/recommendBalance.vue

@ -1,17 +1,17 @@
<template> <template>
<view :class="detail.scaned?'scan_view':''" style="background-color: #ffffff;"> <view :class="detail.scaned?'scan_view':''" style="background-color: #fff;">
<view class="uni-flex uni-row space-between center "> <view class="uni-flex uni-row space-between center ">
<view class="uni-flex uni-row center "> <view class="uni-flex uni-row " style="width: 60%;margin-left: 30rpx;" >
<view style=" width: 20px;color: #32C1E8;"> <view style=" width: 25rpx;color: #32C1E8;">
推荐 推荐
</view> </view>
<view > <view style="word-break: break-all">
<pack v-if="isShowPack" :packingCode="detail.packingNumber"></pack> <pack v-if="isShowPack" :packingCode="detail.packingNumber"></pack>
<batch v-if="isShowBatch" :batch="detail.batch"></batch> <batch v-if="isShowBatch" :batch="detail.batch"></batch>
<location v-if="isShowLocation" :locationCode="detail.fromLocationCode"></location> <location v-if="isShowLocation" :locationCode="detail.fromLocationCode"></location>
</view> </view>
</view> </view>
<view > <view style="word-break: break-all">
<recommend-qty v-if="detail.Records==null || detail.Records.length==0" :dataContent="detail" <recommend-qty v-if="detail.Records==null || detail.Records.length==0" :dataContent="detail"
:isShowStdPack="false" :isShowStatus="false"></recommend-qty> :isShowStdPack="false" :isShowStatus="false"></recommend-qty>
<compare-qty v-else :dataContent="detail" :recommendQty="Number( detail.qty)" <compare-qty v-else :dataContent="detail" :recommendQty="Number( detail.qty)"

6
mycomponents/package/packageDetailPopup.vue

@ -61,13 +61,13 @@
this.dataList.length = 0; this.dataList.length = 0;
this.dataList.push(...[{ this.dataList.push(...[{
item_title: '包装号', item_title: '包装号',
text_wrap: this.dataContent.number content: this.dataContent.number
}, { }, {
item_title: '物料代码', item_title: '物料代码',
text_wrap: this.dataContent.itemCode content: this.dataContent.itemCode
}, { }, {
item_title: '物品名称', item_title: '物品名称',
text_wrap: this.dataContent.itemName content: this.dataContent.itemName
}, { }, {
item_title: '物品描述1', item_title: '物品描述1',
content: this.dataContent.itemDesc1 content: this.dataContent.itemDesc1

2
pages/issue/coms/comIssueDetailCard.vue

@ -21,7 +21,7 @@
</location> </location>
</view> </view>
<view v-for="(batch,index) in loacation.Batchs"> <view v-for="(batch,index) in loacation.Batchs">
<recommend-balance style='margin-left: 20px;' :detail="batch" :isShowLocation="false" <recommend-balance style='margin-left: 0rpx;' :detail="batch" :isShowLocation="false"
:isShowPack="batch.packingNumber!=null && batch.packingNumber!=''"> :isShowPack="batch.packingNumber!=null && batch.packingNumber!=''">
</recommend-balance> </recommend-balance>
<view class="uni-flex uni-row " v-if='batch.Records.length>0'> <view class="uni-flex uni-row " v-if='batch.Records.length>0'>

Loading…
Cancel
Save