Browse Source

YT-1902PDA端《ASN收货》列表页和详情页,红框部分,字号调大,与品番字号相同。加粗显示,颜色见图。

intes_online20250115
张立 4 weeks ago
parent
commit
e2fb0f3426
  1. 13
      src/mycomponents/item/item.vue
  2. 7
      src/mycomponents/item/itemCompareQty.vue
  3. 5
      src/mycomponents/job/jobComMainDetailCard.vue
  4. 6
      src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue
  5. 6
      src/pages/purchaseReceipt/coms/comReceiptJobCard.vue
  6. 2
      src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue
  7. 2
      src/pages/purchaseReceipt/job/purchaseReceiptAsnDetail.vue

13
src/mycomponents/item/item.vue

@ -5,7 +5,7 @@
<view class="card_itemCode" :class="openPopup(dataContent)">
{{dataContent.itemCode}}
</view>
<view class="card_itemName" style="word-break:break-all;overflow:hidden;white-space:normal;display: flex;align-items: center;">
<view class="card_itemName" style="word-break:break-all;overflow:hidden;white-space:normal;display: flex;align-items: center;" :class="isSpecial ? 'special':''">
<view style="max-width: 50%;">{{dataContent.itemName}}</view>
<view style="padding-left: 8rpx;padding-right: 8rpx;" v-if="dataContent.itemCode && dataContent.itemDesc1">|</view>
<view style="flex:1;max-width: 50%;" v-if="dataContent.itemCode && dataContent.itemDesc1">{{dataContent.itemDesc1}}</view>
@ -30,7 +30,11 @@
dataContent: {
type: Object,
default: {}
}
},
isSpecial: {
type: Boolean,
default: false
},
},
watch: {
@ -45,4 +49,9 @@
</script>
<style>
.special{
color: blue!important;
font-size: 40rpx;
font-weight: bold;
}
</style>

7
src/mycomponents/item/itemCompareQty.vue

@ -1,7 +1,7 @@
<template>
<view class="uni-flex uni-row space-between uni-inline-item" style=" margin-left: 10px;">
<view style="flex: 1;">
<item :dataContent="dataContent"></item>
<item :dataContent="dataContent" :isSpecial='isSpecial'></item>
</view>
<!-- 显示采购标包数量和单位 -->
<view style="width: 40%;display: flex; flex-direction: column; align-items: flex-end; justify-content:flex-end;margin-right: 10rpx;word-break:break-word; " >
@ -67,7 +67,10 @@
type: Boolean,
default: false
},
isSpecial: {
type: Boolean,
default: false
},
},
watch: {

5
src/mycomponents/job/jobComMainDetailCard.vue

@ -6,6 +6,7 @@
:isShowPackCount="isShowPackCount"
:handleQty="dataContent.handleQty" :isShowPackUnit="false"
:isShowSupplierQty='isShowSupplierQty'
:isSpecial='isSpecial'
></itemCompareQty>
<!-- :objTextStyle="{'fontWeight':'bold','fontSize':'40rpx'}" -->
<div class="u-p-l-10">
@ -113,6 +114,10 @@
type:Boolean,
default:false
},
isSpecial: {
type: Boolean,
default: false
},
},

6
src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue

@ -7,7 +7,7 @@
<uni-swipe-action-item :right-options="dataContent.handleQty>0? removeOptions:options"
@click="swipeClick($event,dataContent)">
<itemCompareQty :dataContent="dataContent" :handleQty="dataContent.handleQty"
:isShowPackUnit="false" :isShowSupplierQty='isShowSupplierQty'></itemCompareQty>
:isShowPackUnit="false" :isShowSupplierQty='isShowSupplierQty' :isSpecial='isSpecial'></itemCompareQty>
</uni-swipe-action-item>
</uni-swipe-action>
</template>
@ -100,6 +100,10 @@
type: Boolean,
default: true
},
isSpecial: {
type: Boolean,
default: false
},
},
watch: {

6
src/pages/purchaseReceipt/coms/comReceiptJobCard.vue

@ -1,6 +1,6 @@
<template>
<jobComMainCardAsn :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent" :isShowSupplierQty='isShowSupplierQty' :isShowBatchDeliNo='isShowBatchDeliNo' :isShowBatch='isShowBatch'></jobComMainDetailCard>
<jobComMainDetailCard :dataContent="dataContent" :isShowSupplierQty='isShowSupplierQty' :isShowBatchDeliNo='isShowBatchDeliNo' :isShowBatch='isShowBatch' :isSpecial='isSpecial'></jobComMainDetailCard>
</jobComMainCardAsn>
</template>
@ -33,6 +33,10 @@
type: Boolean,
default: false
},
isSpecial: {
type: Boolean,
default: false
},
},
methods: {

2
src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue

@ -7,7 +7,7 @@
<view v-for="(item, index) in jobList" :key="index">
<uni-swipe-action-item @click="swipeClick($event,item)">
<com-receipt-job-card :dataContent="item" @click='openJobDetail(item)' :isShowSupplierQty='true'
:isShowBatch='false' :isShowBatchDeliNo='true'></com-receipt-job-card>
:isShowBatch='false' :isShowBatchDeliNo='true' :isSpecial='true'></com-receipt-job-card>
</uni-swipe-action-item>
</view>
</uni-swipe-action>

2
src/pages/purchaseReceipt/job/purchaseReceiptAsnDetail.vue

@ -15,7 +15,7 @@
<comReceiptDetailCardBacth ref='comReceiptDetailCardBacthRef' :dataContent="item" :index="index"
:settingParam="jobContent" @remove="updateData" @updateData="updateData"
:locationAreaTypeList='toLocationAreaTypeList' :isNumPackTips='true' :isShowSupplierQty='true' :isShowBatchSupplierQty='fasle' :isShowPackUnit='false' :isShowStatus='false'
:isShowBatch="false" :isShowBatchDeliNo='true' packTitle='看板编号'>
:isShowBatch="false" :isShowBatchDeliNo='true' packTitle='看板编号' :isSpecial='true'>
</comReceiptDetailCardBacth>
</view>
</view>

Loading…
Cancel
Save