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 | 52 +++++++++++++++------------------------------------- 1 files changed, 15 insertions(+), 37 deletions(-) diff --git a/src/pages/sales/invoicingRegistration/index.vue b/src/pages/sales/invoicingRegistration/index.vue index e3faef5..2f4c344 100644 --- a/src/pages/sales/invoicingRegistration/index.vue +++ b/src/pages/sales/invoicingRegistration/index.vue @@ -1,14 +1,7 @@ <template> <view class="sales-account"> - <!-- 椤甸潰澶撮儴 --> - <van-nav-bar - title="寮�绁ㄧ櫥璁�" - left-text="杩斿洖" - left-arrow - @click-left="goBack" - fixed - placeholder - /> + <!-- 浣跨敤閫氱敤椤甸潰澶撮儴缁勪欢 --> + <PageHeader title="寮�绁ㄧ櫥璁�" @back="goBack" /> <!-- 鎼滅储鍜岀瓫閫夊尯鍩� --> <view class="search-filter-section"> @@ -37,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> @@ -78,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" > @@ -100,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> @@ -121,11 +106,6 @@ // 閿�鍞彴璐︽暟鎹� const ledgerList = ref([]); const total = ref(0); - -// 鍚堝悓閫夋嫨鍣ㄧ浉鍏� -const contractList = ref([]); -const contractLoading = ref(false); -const contractFinished = ref(false); // 杩斿洖涓婁竴椤� const goBack = () => { @@ -148,15 +128,6 @@ // 澶勭悊鏂板寮�绁� const handleAddInvoice = (item) => { try { - // 妫�鏌ユ潈闄愶細鍙湁褰曞叆浜烘墠鑳芥柊澧炲紑绁� - if (item.entryPerson != userStore.id) { - uni.showToast({ - title: '鍙湁褰曞叆浜烘墠鑳芥柊澧炲紑绁�', - icon: 'none' - }); - return; - } - // 瀛樺偍閫変腑鐨勫悎鍚屼俊鎭� uni.setStorageSync('editData', JSON.stringify(item)); @@ -246,13 +217,20 @@ .header-center { flex: 1; - text-align: center; + display: flex; + justify-content: center; + align-items: center; + position: absolute; + left: 0; + right: 0; + pointer-events: none; } .page-title { font-size: 18px; font-weight: 600; color: #333; + pointer-events: auto; } .header-right { -- Gitblit v1.9.3