Browse Source

修改样式

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

2
mycomponents/recommend/recommend.vue

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

2
pages.json

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

9
pages/inspect/coms/inspectComDetailCard.vue

@ -32,7 +32,8 @@
<uni-collapse ref="collapse1" @change=""> <uni-collapse ref="collapse1" @change="">
<uni-collapse-item :open="true"> <uni-collapse-item :open="true">
<template v-slot:title> <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> </item-compare-qty>
<view class="" style="margin-left: 20rpx; "> <view class="" style="margin-left: 20rpx; ">
<batch :batch="jobContent.batch"></batch> <batch :batch="jobContent.batch"></batch>
@ -45,7 +46,8 @@
:right-options="item.scaned?scanOptions:detailOptions"> :right-options="item.scaned?scanOptions:detailOptions">
<recommend :detail="item" :isShowPack="isShowPack" :isShowBatch="isShowBatch" <recommend :detail="item" :isShowPack="isShowPack" :isShowBatch="isShowBatch"
:isShowFromLocation="isShowLocation"></recommend> :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_box uni-flex uni-row">
<view class="cell_info uni-flex uni-row"> <view class="cell_info uni-flex uni-row">
<view class="text_lightblue"> <view class="text_lightblue">
@ -203,7 +205,8 @@
item.notPassedQty = 0; item.notPassedQty = 0;
item.inspectResult = "" item.inspectResult = ""
item.failedReason = "" item.failedReason = ""
item.handleQty = 0; // item.handleQty = 0;
item.handleQty = null;
item.photos = "" item.photos = ""
this.$forceUpdate() this.$forceUpdate()
this.$emit('remove', item) this.$emit('remove', item)

Loading…
Cancel
Save