From 025e46e11cb2962fd7692adfa401333758cc779b Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 02 九月 2025 14:00:34 +0800 Subject: [PATCH] 修改组件 --- src/pages/sales/invoicingRegistration/index.vue | 55 ++++++++++++++++--------------------------------------- 1 files changed, 16 insertions(+), 39 deletions(-) diff --git a/src/pages/sales/invoicingRegistration/index.vue b/src/pages/sales/invoicingRegistration/index.vue index 4d2a79a..43f21dc 100644 --- a/src/pages/sales/invoicingRegistration/index.vue +++ b/src/pages/sales/invoicingRegistration/index.vue @@ -30,9 +30,6 @@ </view> <text class="item-id">{{ item.salesContractNo }}</text> </view> - <!-- <view class="item-tag">--> - <!-- <text class="tag-text">{{ item.recorder }}</text>--> - <!-- </view>--> </view> <up-divider></up-divider> @@ -69,23 +66,22 @@ <!-- 鎿嶄綔鎸夐挳鍖哄煙 --> <view class="action-buttons"> - <van-button - type="primary" - size="small" - @click="handleAddInvoice(item)" - class="action-btn" - :disabled="item.entryPerson != userStore.id || item.noInvoiceAmountTotal == 0" - > - 鏂板寮�绁� - </van-button> - <van-button - type="default" - size="small" - @click="handleViewDetail(item)" - class="action-btn" - > - 鏌ョ湅璇︽儏 - </van-button> + <up-button + type="primary" + size="small" + @click="handleAddInvoice(item)" + class="action-btn" + :disabled="item.noInvoiceAmountTotal == 0" + > + 鏂板寮�绁� + </up-button> + <up-button + size="small" + @click="handleViewDetail(item)" + class="action-btn" + > + 鏌ョ湅璇︽儏 + </up-button> </view> </view> </view> @@ -93,11 +89,6 @@ <view v-else class="no-data"> <text>鏆傛棤閿�鍞彴璐︽暟鎹�</text> </view> - - <!-- 娴姩鎿嶄綔鎸夐挳 --> - <!-- <view class="fab-button" @click="handleInfo('add')"> - <up-icon name="plus" size="24" color="#ffffff"></up-icon> - </view> --> </view> </template> @@ -114,11 +105,6 @@ // 閿�鍞彴璐︽暟鎹� const ledgerList = ref([]); const total = ref(0); - -// 鍚堝悓閫夋嫨鍣ㄧ浉鍏� -const contractList = ref([]); -const contractLoading = ref(false); -const contractFinished = ref(false); // 杩斿洖涓婁竴椤� const goBack = () => { @@ -141,15 +127,6 @@ // 澶勭悊鏂板寮�绁� const handleAddInvoice = (item) => { try { - // 妫�鏌ユ潈闄愶細鍙湁褰曞叆浜烘墠鑳芥柊澧炲紑绁� - if (item.entryPerson != userStore.id) { - uni.showToast({ - title: '鍙湁褰曞叆浜烘墠鑳芥柊澧炲紑绁�', - icon: 'none' - }); - return; - } - // 瀛樺偍閫変腑鐨勫悎鍚屼俊鎭� uni.setStorageSync('editData', JSON.stringify(item)); -- Gitblit v1.9.3