From 5b36142869f824399ab1ad1f0eaaea8ecf0ca83d Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期五, 17 三月 2023 19:01:35 +0800 Subject: [PATCH] 细节修改 --- pages/customer-page/customer-index/customer-index.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue index cc34f45..fb836d1 100644 --- a/pages/customer-page/customer-index/customer-index.vue +++ b/pages/customer-page/customer-index/customer-index.vue @@ -9,15 +9,15 @@ 寮� </view> <view class="card-left__utils"> - <u-button @tap.stop="receiveClick(item)" text="棰嗗彇" type="primary" v-if="item.cars == item.cars2 ? false : true" shape="circle"></u-button> - <u-button text="杞彂" type="primary" @tap.stop="forwardClick(item)" shape="circle"></u-button> + <u-button @tap.stop="receiveClick(item)" text="棰嗗彇" type="primary" v-if="item.cars2 == 0" shape="circle"></u-button> + <u-button text="杞彂" type="primary" @tap.stop="forwardClick(item)" shape="circle" v-if="item.carNumSurplus1 == 0"></u-button> </view> </template> <template v-slot:right-top> <view class="right-top"> <view class="card-right-top-row"> <view> - <text>{{ item.compName || '' }}</text> + <text>{{ item.deptName || '' }}</text> </view> <view> <text>{{ item.coalName }}</text> @@ -62,7 +62,7 @@ import card from '@/components/card/card.vue'; import { customerId } from '@/utils/status'; import colorGradient from '@/uni_modules/uview-ui/libs/function/colorGradient'; - +import { todayDate } from '@/utils/util.js'; export default { components: { card @@ -80,6 +80,7 @@ }, onShow() { this.init(); + console.log(todayDate, '鑾峰彇浠婂ぉ鐨勬棩鏈�'); }, methods: { init() { @@ -92,7 +93,7 @@ }); this.$reqGet('GetOrderPlan').then(res => { this.orderPlanData = res.data; - uni.hideLoading() + uni.hideLoading(); }); }, // 棰嗗彇鐐瑰嚮 -- Gitblit v1.9.1