diff --git a/components/popups/index.vue b/components/popups/index.vue
index 1c18754..99c0f4c 100644
--- a/components/popups/index.vue
+++ b/components/popups/index.vue
@@ -57,10 +57,10 @@
type: Boolean,
default: false
},
- title: {
- type: String,
- default: '请输入支付密码'
- }
+ title: {
+ type: String,
+ default: '请输入支付密码'
+ }
},
data() {
return {
@@ -92,8 +92,9 @@
} else if (item == 'del') {
if (this.value == "0.")
this.value = this.value.substring(0, 0);
- else
+ else {
this.value = this.value.substring(0, this.value.length - 1);
+ }
} else if (item == 0) {
if (this.isPay) {
this.value = this.value + item;
@@ -132,9 +133,8 @@
},
// 开启
- handleOpen() {
- this.value = '';
- console.log('123:' + this.value);
+ handleOpen(type) {
+ if (!type) this.value = "";
this.$refs.popup.open();
},
diff --git a/pages/helpPeople/formTable.vue b/pages/helpPeople/formTable.vue
index bc1f985..c25c60e 100644
--- a/pages/helpPeople/formTable.vue
+++ b/pages/helpPeople/formTable.vue
@@ -9,7 +9,8 @@
户主姓名
-
+
@@ -17,7 +18,8 @@
联系方式
-
+
@@ -25,7 +27,8 @@
家庭人数
-
+
@@ -33,14 +36,15 @@
家庭地址
-
+
-
+
助民惠农
@@ -52,8 +56,8 @@
-
-
+
+
房子出租需求
- 展开
+ {{SaveList[0]?'已完成':'展开'}}
-
@@ -74,13 +77,13 @@
style="height: 0;padding: 0;">
-
+
房子出租需求
保存
-
+
编辑
@@ -131,19 +134,16 @@
-
-
-
-
+
-
+
空闲土地出租需求
- 展开
+ {{SaveList[1]?'已完成':'展开'}}
@@ -170,7 +170,7 @@
保存
-
+
编辑
@@ -248,9 +248,7 @@
-
-
@@ -258,7 +256,7 @@
-
+
农副产品出售需求
- 展开
+ {{SaveList[2]?'已完成':'展开'}}
-
@@ -285,7 +282,7 @@
保存
-
+
编辑
@@ -435,9 +432,7 @@
-
-
@@ -446,7 +441,7 @@
-
+
空闲资产出租/出售需求
- 展开
+ {{SaveList[3]?'已完成':'展开'}}
-
@@ -473,7 +467,7 @@
保存
-
+
编辑
@@ -524,10 +518,7 @@
-
-
-
@@ -536,7 +527,7 @@
-
+
房屋装饰建设
- 展开
+ {{SaveList[4]?'已完成':'展开'}}
@@ -563,7 +554,7 @@
保存
-
+
编辑
@@ -623,14 +614,12 @@
-
-
+
-
+
确认提交
@@ -650,7 +639,6 @@
-
@@ -890,7 +878,7 @@
\ No newline at end of file
diff --git a/pages/payment/settlement.vue b/pages/payment/settlement.vue
index ed64640..9996d22 100644
--- a/pages/payment/settlement.vue
+++ b/pages/payment/settlement.vue
@@ -307,19 +307,20 @@
// start_time: "2024-03-02 14:15:17",
// uid: 889
// }]
+ let that = this;
+ const eventChannel = this.getOpenerEventChannel();
+ eventChannel.on('acceptDataFromOpenedPage', function(data) {
+ that.productData = data.productData;
+ that.platformConsumption = data.platformConsumption || [];
-
- let data = uni.getStorageSync("datas");
- this.productData = data.productData;
- this.platformConsumption = data.platformConsumption || [];
-
- this.checkForm.cart_id = data.checkForm.cart_id;
- this.payForm.cart_id = this.checkForm.cart_id;
- this.payForm.money = data.money;
- this.payForm.merName = data.merName;
- this.payForm.key = data.key;
- this.total_coupon = data.money;
- this.checkForm.key = data.key;
+ that.checkForm.cart_id = data.checkForm.cart_id;
+ that.payForm.cart_id = that.checkForm.cart_id;
+ that.payForm.money = data.money;
+ that.payForm.merName = data.merName;
+ that.payForm.key = data.key;
+ that.total_coupon = data.money;
+ that.checkForm.key = data.key;
+ });
// #ifdef H5
this.from = this.$wechat.isWeixin() ? 'weixin' : 'h5'
@@ -585,8 +586,8 @@
if (!that.payType) return that.$util.Tips({
title: '请选择支付方式'
});
-
-
+
+
if (that.payType == 'balance' && +this.userInfo.now_money < +this.payForm.money) {
return that.$util.Tips({
title: '余额不足,请选择其他的支付方式!'