From 0f9b3d3417d1b9f9d1db6e818cd02b4de2867987 Mon Sep 17 00:00:00 2001
From: zhangxiaoxu <819527061@qq.com>
Date: 星期二, 25 十一月 2025 15:59:03 +0800
Subject: [PATCH] 批量通过和批量驳回bug修改
---
pages/payment-form-data/payment-form-data.vue | 42 +++++++++++++++++++++++++++++++++++++++---
1 files changed, 39 insertions(+), 3 deletions(-)
diff --git a/pages/payment-form-data/payment-form-data.vue b/pages/payment-form-data/payment-form-data.vue
index 07d7420..13f2b62 100644
--- a/pages/payment-form-data/payment-form-data.vue
+++ b/pages/payment-form-data/payment-form-data.vue
@@ -33,6 +33,7 @@
v-model="dataForm.ledgerName"
placeholder="璇烽�夋嫨璐﹀"
border="none"
+ readonly
></u--input>
</u-form-item>
<u-form-item
@@ -72,6 +73,7 @@
@click="handleCustomerNameOpen(2)"
>
<u--input
+ readonly
v-model="dataForm.customerAddressName"
border="none"
placeholder="璇烽�夋嫨鐢ㄧ叅瀹㈡埛"
@@ -409,6 +411,13 @@
checkboxDM:false,
ledgerList:[],
rules: {
+ ledgerName: [
+ {
+ required: true,
+ message: '璇烽�夋嫨璐﹀',
+ trigger: ['blur', 'change']
+ }
+ ],
inputDate: [
{
required: true,
@@ -462,6 +471,8 @@
},
init() {
this.payType() //鏀舵绫诲瀷
+ this.getCustomer()
+ this.fetchCompTree()
//璐﹀閫夋嫨
let compId = uni.getStorageSync('userInfo').compId;
this.$reqGet('getLedgerList',{compId:compId}).then(res => {
@@ -539,11 +550,10 @@
this.selCustomerType = t
this.selectLevelShow = false;
this.selectCustomerCompShow = false;
- uni.showLoading({
- title: '鍔犺浇涓�...'
- });
this.selectCustomerShow = true;
this.selectCustomerData.current = 1;
+ },
+ getCustomer() { //鑾峰彇瀹㈡埛淇℃伅
this.$reqGet('customer', this.selectCustomerData).then(res => {
uni.hideLoading();
if (res.code == 0) {
@@ -589,6 +599,23 @@
this.searchCustomerForm.compName = '';
this.searchCustomerForm.levelText = '';
this.selectCustomer();
+ },
+ // 閫夋嫨瀹㈡埛
+ selectCustomer() {
+ this.selectLevelShow = false;
+ this.selectCustomerCompShow = false;
+ uni.showLoading({
+ title: '鍔犺浇涓�...'
+ });
+ this.selectCustomerShow = true;
+ this.selectCustomerData.current = 1;
+ this.$reqGet('customer', this.selectCustomerData).then(res => {
+ uni.hideLoading();
+ if (res.code == 0) {
+ this.customerData = res.data.records;
+ this.customerDataAllNum = res.data.total;
+ }
+ });
},
selectCustomerOpen() {
@@ -654,6 +681,15 @@
width: 100%;
padding: 0 vww(10);
box-sizing: border-box;
+ ::v-deep{
+ .u-checkbox__icon-wrap{
+ width: vww(16)!important;
+ height: vww(16)!important;
+ }
+ .u-checkbox{
+ margin-bottom: 0!important;
+ }
+ }
// 閫夋嫨瀹㈡埛寮规
.selectCustomerPopup {
--
Gitblit v1.9.1