From 654934b8f1cf31017a4d5b397c12393e8a38a4e5 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 16 七月 2024 11:21:18 +0800 Subject: [PATCH] feat:库管首页样式背景图修改 --- pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue b/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue index a651a3b..e61a90e 100644 --- a/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue +++ b/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue @@ -60,7 +60,7 @@ <view class="concrete" style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clean.png') no-repeat;background-size: cover;"> 鍑�</view> - <view class="num" v-if="weightObj.clean">{{ Number(weightObj.clean).toFixed(2) ||"" }}</view> + <view class="num" v-if="(weightObj.clean || (weightObj.clean && weightObj.clean === 0 ))">{{ Number(weightObj.clean).toFixed(2) ||"" }}</view> </view> </view> </view> @@ -91,7 +91,7 @@ <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">{{ Number( subItem.clean).toFixed(2) || '' }}</view> + <view class="name" v-if="(subItem.clean || (subItem.clean && subItem.clean === 0))">{{ Number( subItem.clean).toFixed(2) || '' }}</view> </uni-td> 聽 <uni-td align="right"> @@ -230,14 +230,14 @@ <u-form-item prop='contactPicture'> <view class="label-text"> - <text style="color: #f56c6c;">*</text>鍘熷彂纾呭崟 + <text style="color: #f56c6c;">*</text>鍘熷彂鍗曟嵁 </view> <u-upload :fileList="fileList1" @afterRead="afterRead" @delete="deletePic" name="1" multiple - :maxCount="2" + :maxCount="fileList1.length ? fileList1.length : 2" width="250" height="150" :previewFullImage="true" @@ -298,7 +298,7 @@ <!-- <view class="completeOutSale"> <u-modal :show="completeOutSaleShow" title="纭" - content="鏄惁瀹屾垚澶栭攢鎻愮叅鍗�" + content="鏄惁瀹屾垚澶栭攢鏀跺彂鍗�" :showCancelButton="true" @confirm="completeOutSaleConfirm" @cancel="completeOutSaleCancel"></u-modal> @@ -324,13 +324,13 @@ combinedTitle, }, onPullDownRefresh() { - this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯� + this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯� // uni.stopPullDownRefresh(); }, onLoad(value) { this.orderPlanId = value.id; // this.yyId = value.yyId; - // this.originInfoVisible = value.orderType === '澶栬喘' + this.originInfoVisible = value.orderType === '澶栬喘' // if (value.overTmWaixiao) { // this.overTmWaixiao = value.overTmWaixiao // this.getWeightHouseObj.overTmWaixiao = value.overTmWaixiao @@ -339,7 +339,7 @@ this.changeglobalIsFirstWeighing(1) if (this.globalIsFirstWeighing === 1) { console.log('鑾峰彇璇︽儏 onload'); - this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯� + this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯� } this.init(); //鑾峰彇鏃ュ織 }, @@ -347,7 +347,7 @@ this.coalDayPage(); //鑾峰彇鏃ュ織 瀹氭椂浠诲姟 if (this.globalIsFirstWeighing === 2) { console.log('鑾峰彇璇︽儏 onShow'); - this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯� + this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯� } }, onHide() { @@ -381,8 +381,8 @@ }, coalDetailsData: { tmTaskCoalList:[] - }, // 鎻愮叅鍗曡鎯� - currentPageCoalStatus: 0, // 褰撳墠椤甸潰鎻愮叅鍗曠姸鎬� + }, // 鏀跺彂鍗曡鎯� + currentPageCoalStatus: 0, // 褰撳墠椤甸潰鏀跺彂鍗曠姸鎬� // 鑾峰彇鎵�鍦ㄧ鎴垮弬鏁� getWeightHouseObj: { deptId: '', @@ -594,7 +594,7 @@ } }); }, - // 鑾峰彇鎻愮叅鍗曡鎯� + // 鑾峰彇鏀跺彂鍗曡鎯� getTakeCoal() { uni.showLoading({ title: '鍔犺浇涓�' @@ -602,7 +602,7 @@ this.$reqGet('getTakeCoal', { takeCoalId: this.orderPlanId }).then(res => { if (res.code == 0) { uni.hideLoading(); - console.log(res, '鎻愮叅鍗曡鎯�'); + console.log(res, '鏀跺彂鍗曡鎯�'); this.coalDetailsData = res.data; this.orderType = this.coalDetailsData.orderType; // @@ -625,7 +625,7 @@ // 鑾峰彇瀹㈡湇openId鍙傛暟璧嬪�� this.getServiceOpenid.deptId = this.coalDetailsData.deptId; this.getServiceOpenid.filedId = this.coalDetailsData.filedId; - // 鑾峰彇鎻愮叅鍗曠姸鎬� + // 鑾峰彇鏀跺彂鍗曠姸鎬� this.currentPageCoalStatus = this.coalDetailsData.status; // 鑾峰彇鍘熷彂淇℃伅 this.primarySkin = this.coalDetailsData.skinTwo; -- Gitblit v1.9.1