Browse Source

修改样式

wms3.0_pda
niexiting 12 months ago
parent
commit
67a90940cb
  1. 2
      mycomponents/recommend/recommend.vue
  2. 2
      pages.json
  3. 15
      pages/inspect/coms/inspectComDetailCard.vue

2
mycomponents/recommend/recommend.vue

@ -11,7 +11,7 @@
</location>
</view>
<view>
<!-- ||detail.handleQty==0 -->
<!-- ||detail.handleQty==0 可能会有扫描到0的情况-->
<recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail"
:isShowStdPack="false"></recommend-qty>
<compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)"

2
pages.json

@ -221,7 +221,7 @@
{
"path": "pages/inspect/job/inspectFullDetail",
"style": {
"navigationBarTitleText": "到货检验(全检)详情",
"navigationBarTitleText": "全检检验详情",
"enablePullDownRefresh": true
}
},

15
pages/inspect/coms/inspectComDetailCard.vue

@ -1,9 +1,9 @@
<template>
<view class="" style="background-color: #fff;">
<view class="">
<view class="" >
<view class="">
<view class="cell_box uni-flex uni-row">
<!-- <view class="cell_info">
<!-- <view class="cell_info">
<view class="text_lightblue">类型</view>
<view>{{getInspectType(jobContent.inspectType)}}</view>
</view> -->
@ -19,7 +19,7 @@
<view class="text_lightblue">不合格数</view>
<view style="color: #F56C6C;">{{jobContent.failedQty}}{{getUnitInfo(jobContent.uom)}}</view>
</view>
<view class="cell_info">
<view class="text_lightblue">报废数</view>
<view style="color: #EC9C00">{{jobContent.crackQty}}{{getUnitInfo(jobContent.uom)}}</view>
@ -32,7 +32,8 @@
<uni-collapse ref="collapse1" @change="">
<uni-collapse-item :open="true">
<template v-slot:title>
<item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)" :isShowStdPack="false">
<item-compare-qty :dataContent="dataContent" :handleQty="Number(dataContent.handleQty)"
:isShowStdPack="false">
</item-compare-qty>
<view class="" style="margin-left: 20rpx; ">
<batch :batch="jobContent.batch"></batch>
@ -45,7 +46,8 @@
:right-options="item.scaned?scanOptions:detailOptions">
<recommend :detail="item" :isShowPack="isShowPack" :isShowBatch="isShowBatch"
:isShowFromLocation="isShowLocation"></recommend>
<view v-if="item.failedQty>0||item.crackQty>0" :class="item.scaned?'scan_view':''" style="font-size: 32rpx;padding-left: 2px;">
<view v-if="item.failedQty>0||item.crackQty>0" :class="item.scaned?'scan_view':''"
style="font-size: 32rpx;padding-left: 2px;">
<view class="cell_box uni-flex uni-row">
<view class="cell_info uni-flex uni-row">
<view class="text_lightblue">
@ -203,7 +205,8 @@
item.notPassedQty = 0;
item.inspectResult = ""
item.failedReason = ""
item.handleQty = 0;
// item.handleQty = 0;
item.handleQty = null;
item.photos = ""
this.$forceUpdate()
this.$emit('remove', item)

Loading…
Cancel
Save