From c2efd87e150d0ab5d92d398c3b367345def3cc35 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期一, 20 三月 2023 11:18:59 +0800
Subject: [PATCH] 转发按钮
---
pages/customer-page/customer-index/customer-index.vue | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index cc34f45..5b11efb 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 != item.carNum" shape="circle"></u-button>
+ <u-button text="杞彂" type="primary" @tap.stop="forwardClick(item)" shape="circle" v-if="item.carNum != item.carNumSurplus1"></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>
@@ -61,8 +61,8 @@
<script>
import card from '@/components/card/card.vue';
import { customerId } from '@/utils/status';
-import colorGradient from '@/uni_modules/uview-ui/libs/function/colorGradient';
-
+// 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