Browse Source

修改样式

hella_online_20240829
niexiting 4 months ago
parent
commit
bb06d9c95c
  1. 7
      src/mycomponents/job/jobComMainDetailCard.vue
  2. 24
      src/pages/count/coms/comFuzzyCountJobCard.vue
  3. 6
      src/pages/deliver/coms/comDeliverJobCard.vue
  4. 2
      src/pages/deliver/job/deliverJob.vue
  5. 59
      src/pages/issue/coms/comIssueJobCard.vue

7
src/mycomponents/job/jobComMainDetailCard.vue

@ -12,16 +12,13 @@
<view class="u-flex u-row-between"> <view class="u-flex u-row-between">
<location v-if="isShowFromLocation&&dataContent.fromLocationCode" title="来源库位" :locationCode="dataContent.fromLocationCode"> <location v-if="isShowFromLocation&&dataContent.fromLocationCode" title="来源库位" :locationCode="dataContent.fromLocationCode">
</location> </location>
<level title="优先级" :priority="dataContent.priority" v-if="dataContent.priority !== '' && dataContent.priority !== underfind && dataContent.priority !== null "> <level title="优先级" :priority="dataContent.priority" v-if="dataContent.priority !== '' && dataContent.priority !== undefined && dataContent.priority !== null ">
</level> </level>
</view> </view>
<to-location v-if="isShowToLocation" title="目标库位" :locationCode="dataContent.toLocationCode||dataContent.locationCode"> <to-location v-if="isShowToLocation" title="目标库位" :locationCode="dataContent.toLocationCode||dataContent.locationCode">
</to-location> </to-location>
<view class="card_view " v-if="isShowDeliverType">
<text class="card_packing_code card_content ">发货类型</text>
<text class="card_content ">{{dataContent.deliverType=='CUST'?'寄售库发货':'三方库发货'}}</text>
</view>
</div> </div>
</view> </view>
</view> </view>

24
src/pages/count/coms/comFuzzyCountJobCard.vue

@ -1,17 +1,25 @@
<template> <template>
<job-com-main-card :dataContent="dataContent"> <job-com-main-card :dataContent="dataContent">
<view class="card_view"> <view class="task_item" style="border-top: 1px solid #dedede;padding-top: 20rpx;margin-top: 20rpx; ">
<text class="card_packing_code ">盘点计划</text> <view class="task_text">
<text class="card_content ">{{dataContent.planNumber}}</text>
</view>
<view v-if="dataContent.countRange!=undefined" class="">
<view v-for="(range, index) in dataContent.countRange" :key="index">
<view class="card_view"> <view class="card_view">
<text class="card_packing_code ">{{getCountScopeName(range.type)}}</text> <text class="card_packing_code ">盘点计划</text>
<text class="card_content ">{{range.value}}</text> <text class="card_content ">{{dataContent.planNumber}}</text>
</view>
</view>
<view v-if="dataContent.countRange!=undefined" class="">
<view class="task_text">
<view v-for="(range, index) in dataContent.countRange" :key="index">
<view class="card_view">
<text class="card_location ">{{getCountScopeName(range.type)}}</text>
<text class="card_content ">{{range.value}}</text>
</view>
</view>
</view> </view>
</view> </view>
</view> </view>
</job-com-main-card> </job-com-main-card>
</template> </template>

6
src/pages/deliver/coms/comDeliverJobCard.vue

@ -1,6 +1,10 @@
<template> <template>
<job-com-main-card :dataContent="dataContent"> <job-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :isShowDeliverType="isShowDeliverType" :dataContent="dataContent"></jobComMainDetailCard> <jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
<view class="card_view " style="margin-left: 10px;">
<text class="card_packing_code ">发货类型</text>
<text class="card_content ">{{dataContent.deliverType=='CUST'?'寄售库发货':'三方库发货'}}</text>
</view>
</job-com-main-card> </job-com-main-card>
</template> </template>

2
src/pages/deliver/job/deliverJob.vue

@ -11,7 +11,7 @@
<uni-swipe-action-item <uni-swipe-action-item
:right-options="item.status=='2'?detailGiveupOptions:detailOptions" :right-options="item.status=='2'?detailGiveupOptions:detailOptions"
@click="swipeClick($event,item)"> @click="swipeClick($event,item)">
<com-deliver-job-card :isShowDeliverType="true" :dataContent="item" @click='openJobDetail(item)'></com-deliver-job-card> <com-deliver-job-card :dataContent="item" @click='openJobDetail(item)'></com-deliver-job-card>
</uni-swipe-action-item> </uni-swipe-action-item>
</view> </view>
</uni-swipe-action> </uni-swipe-action>

59
src/pages/issue/coms/comIssueJobCard.vue

@ -1,39 +1,42 @@
<template> <template>
<job-com-main-card :dataContent="dataContent"> <job-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard> <jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
<view class="" > <view class="task_item" style="margin-left: 15px;">
<text style="font-size: 32rpx; margin-left: 35rpx;">生产线</text> <view class="task_text">
<text style="font-size: 35rpx; margin-left: 10rpx; font-weight: bold;" >{{dataContent.productionLineCode}}</text> <view class="card_view">
<text class="card_packing_code ">生产线</text>
<text class="card_content ">{{dataContent.productionLineCode}}</text>
</view>
</view>
</view> </view>
</job-com-main-card> </job-com-main-card>
</template> </template>
<script> <script>
import jobComMainCard from '@/mycomponents/job/jobComMainCard.vue' import jobComMainCard from '@/mycomponents/job/jobComMainCard.vue'
import jobComMainDetailCard from '@/mycomponents/job/jobComMainDetailCard.vue' import jobComMainDetailCard from '@/mycomponents/job/jobComMainDetailCard.vue'
export default { export default {
components: { components: {
jobComMainCard, jobComMainCard,
jobComMainDetailCard jobComMainDetailCard
}, },
data() { data() {
return {}; return {};
}, },
props: { props: {
dataContent: { dataContent: {
type: Object, type: Object,
default: {} default: {}
}, },
}, },
methods: { methods: {
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss">
</style> </style>
Loading…
Cancel
Save