From 5d51aeded717c667a22096174168e4e5e59bde39 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 22 八月 2025 15:38:57 +0800 Subject: [PATCH] 1.来票登记开发联调 --- src/pages/sales/invoicingRegistration/index.vue | 32 +++++--------------------------- 1 files changed, 5 insertions(+), 27 deletions(-) diff --git a/src/pages/sales/invoicingRegistration/index.vue b/src/pages/sales/invoicingRegistration/index.vue index 4d2a79a..2f4c344 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> @@ -71,16 +68,16 @@ <view class="action-buttons"> <van-button type="primary" - size="small" + size="small" @click="handleAddInvoice(item)" class="action-btn" - :disabled="item.entryPerson != userStore.id || item.noInvoiceAmountTotal == 0" + :disabled="item.noInvoiceAmountTotal == 0" > 鏂板寮�绁� </van-button> - <van-button - type="default" - size="small" + <van-button + type="default" + size="small" @click="handleViewDetail(item)" class="action-btn" > @@ -93,11 +90,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 +106,6 @@ // 閿�鍞彴璐︽暟鎹� const ledgerList = ref([]); const total = ref(0); - -// 鍚堝悓閫夋嫨鍣ㄧ浉鍏� -const contractList = ref([]); -const contractLoading = ref(false); -const contractFinished = ref(false); // 杩斿洖涓婁竴椤� const goBack = () => { @@ -141,15 +128,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