From 1db172e1eb09be68008659c9f05bf18144df553a Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期一, 04 十一月 2024 18:54:47 +0800 Subject: [PATCH] feat:集装箱更改 --- pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 48 insertions(+), 9 deletions(-) diff --git a/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue b/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue index 9c5eb71..1e88a2b 100644 --- a/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue +++ b/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue @@ -1,7 +1,7 @@ <template> <view class="bill-of-lading-details"> <view class="top-banner" - style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/loadingbanner.png') no-repeat;background-size: cover;"> + style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/loadingbanner.png') no-repeat;background-size: cover;"> <view class="top-information"> <view class="cutomer-name" v-if="orderType == '杞叆' || orderType == '杞嚭'">鍦哄湴:{{ coalDetailsData.toFiledName || '' }}</view> @@ -20,7 +20,7 @@ <view class="basic"> <view class="coalName">{{ coalDetailsData.productNames || coalDetailsData.productName }}</view> <view class="status-button" - style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/statusbutton.png') no-repeat; + style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/statusbutton.png') no-repeat; background-size: cover;"> {{coalDetailsData.statusView||''}} </view> @@ -46,19 +46,19 @@ <view class="weigh-item" v-if="isShowClean"> <view class="item"> <view class="concrete" - style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/skin.png') no-repeat;background-size: cover;"> + style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/skin.png') no-repeat;background-size: cover;"> 鐨�</view> <view class="num" v-if="weightObj.skin">{{ Number(weightObj.skin).toFixed(2) ||"" }}</view> </view> <view class="item"> <view class="concrete" - style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/hair.png') no-repeat;background-size: cover;"> + style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/hair.png') no-repeat;background-size: cover;"> 姣�</view> <view class="num" v-if="weightObj.hair">{{ Number(weightObj.hair).toFixed(2) ||"" }}</view> </view> <view class="item"> <view class="concrete" - style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clean.png') no-repeat;background-size: cover;"> + style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/clean.png') no-repeat;background-size: cover;"> 鍑�</view> <view class="num" v-if="(weightObj.clean || (weightObj.clean && weightObj.clean === 0 ))">{{ Number(weightObj.clean).toFixed(2) ||"" }}</view> </view> @@ -72,6 +72,7 @@ <view class="table"> <uni-table border id="table-box" + v-if="coalDetailsData.isWeight === 1" emptyText="鏆傛棤鏇村鏁版嵁"> <uni-tr> <uni-th align="center" >浜у搧</uni-th> @@ -102,6 +103,37 @@ ></uni-td> </uni-tr> </uni-table> + <uni-table border + id="table-box" + v-else + emptyText="鏆傛棤鏇村鏁版嵁"> + <uni-tr> + <uni-th align="center" >浜у搧</uni-th> + <!-- <uni-th align="center">鐨噸</uni-th> + <uni-th align="center">姣涢噸</uni-th> + <uni-th align="center">鍑�閲�</uni-th> --> + + <uni-th align="center">浠舵暟</uni-th> + </uni-tr> + <uni-tr v-for="(subItem, index) in tmTaskCoalList" :key="index"> + <uni-td align="center"> + <view class="name">{{ subItem.productName }}</view></uni-td> + <!-- <uni-td align='right'> + <view v-if="subItem.skin">{{ Number( subItem.skin).toFixed(2) || ''}}</view> + </uni-td> + <uni-td align='right'> + <view class="name" v-if="subItem.hair">{{ Number(subItem.hair) .toFixed(2) || '' }}</view> + </uni-td> + <uni-td align='right'> + <view class="name" v-if="(subItem.clean || (subItem.clean && subItem.clean === 0))">{{ Number( subItem.clean).toFixed(2) || '' }}</view> + </uni-td> --> + + 聽 + <uni-td align="right"> + <view>{{ subItem.productQuantity }}</view + ></uni-td> + </uni-tr> + </uni-table> </view> <!-- 璇疯緭鍏ラ泦瑁呯鍙� --> <view class="codeBox" v-if="coalDetailsData.isContainerNum"> @@ -118,7 +150,7 @@ </view> </view> <view class="origin-info" - v-if="originInfoVisible&&!isSpecial"> + v-if="originInfoVisible&&!isSpecial && isShowYuanFa"> <view class="origin-info_wrapper"> <view class="origin-info_content"> <!-- 鎶樺彔 --> @@ -200,7 +232,8 @@ <!-- <uni-th align="center">鐨噸</uni-th> <uni-th align="center">姣涢噸</uni-th> <uni-th align="center">鍑�閲�</uni-th> --> - <uni-th align="center">鏁伴噺</uni-th> + <uni-th align="center">鏁伴噺</uni-th> + </uni-tr> <uni-tr v-for="(subItem, index) in coalDetailsData.tmTaskCoalList" :key="index"> <uni-td align="center"> @@ -570,8 +603,14 @@ return tempArr[index]; } - - + }, + //鍒ゆ柇鏄惁灞曠ず 鍘熷彂淇℃伅 + isShowYuanFa(){ + if(this.coalContactClean && !this.coalDetailsData.tmTaskCoalList.length){ + return false + }else{ + return true + } } }, methods: { -- Gitblit v1.9.1