From b2fe8c6141c425c65e4ec80a2ae95e483c16a14b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 25 八月 2025 17:00:13 +0800
Subject: [PATCH] 1.供应商往来开发联调

---
 src/pages/sales/receiptPayment/index.vue |   39 ++-------------------------------------
 1 files changed, 2 insertions(+), 37 deletions(-)

diff --git a/src/pages/sales/receiptPayment/index.vue b/src/pages/sales/receiptPayment/index.vue
index 08b2f51..4cf0a30 100644
--- a/src/pages/sales/receiptPayment/index.vue
+++ b/src/pages/sales/receiptPayment/index.vue
@@ -1,14 +1,7 @@
 <template>
 	<view class="receipt-payment">
-		<!-- 椤甸潰澶撮儴 -->
-		<van-nav-bar
-			title="鍥炴鐧昏"
-			left-text="杩斿洖"
-			left-arrow
-			@click-left="goBack"
-			fixed
-			placeholder
-		/>
+		<!-- 浣跨敤閫氱敤椤甸潰澶撮儴缁勪欢 -->
+		<PageHeader title="鍥炴鐧昏" @back="goBack" />
 
 		<!-- 鎼滅储鍜岀瓫閫夊尯鍩� -->
 		<view class="search-filter-section">
@@ -107,15 +100,6 @@
 		<view class="no-data" v-else>
 			<text>鏆傛棤鍥炴鏁版嵁</text>
 		</view>
-
-		<!-- 鍥炴鏂瑰紡閫夋嫨鍣� -->
-		<van-popup v-model:show="showPaymentType" position="bottom">
-			<van-picker
-				:columns="receipt_payment_type"
-				@confirm="onPaymentTypeConfirm"
-				@cancel="showPaymentType = false"
-			/>
-		</van-popup>
 	</view>
 </template>
 
@@ -128,13 +112,9 @@
 import { showToast } from 'vant'
 import {onShow} from "@dcloudio/uni-app";
 
-const userStore = useUserStore()
-
 // 鍝嶅簲寮忔暟鎹�
 const tableData = ref([])
 const tableLoading = ref(false)
-const showPaymentType = ref(false)
-const currentEditRow = ref(null)
 
 // 鏌ヨ鍙傛暟璁剧疆涓�-1鑾峰彇鍏ㄩ儴鏁版嵁
 const page = ref({
@@ -150,14 +130,6 @@
 	customerContractNo: '',
 	projectName: ''
 })
-
-// 鍥炴鏂瑰紡閫夐」
-const receipt_payment_type = ref([
-	{ text: '鐜伴噾', value: '1' },
-	{ text: '閾惰杞处', value: '2' },
-	{ text: '鏀エ', value: '3' },
-	{ text: '鍏朵粬', value: '4' }
-])
 
 // 鏍煎紡鍖栨暟瀛�
 const formatNumber = (value) => {
@@ -192,13 +164,6 @@
 	uni.navigateTo({ url: '/pages/sales/receiptPayment/add' })
 }
 
-// 纭鍥炴鏂瑰紡閫夋嫨
-const onPaymentTypeConfirm = (value) => {
-	if (currentEditRow.value) {
-		currentEditRow.value.receiptPaymentType = value.value
-	}
-	showPaymentType.value = false
-}
 onShow(() => {
 	getList()
 })

--
Gitblit v1.9.3