diff --git a/src/views/modules/marketing/points-mall/popup/add-or-update.vue b/src/views/modules/marketing/points-mall/popup/add-or-update.vue index bcdbc87..e38cfcf 100644 --- a/src/views/modules/marketing/points-mall/popup/add-or-update.vue +++ b/src/views/modules/marketing/points-mall/popup/add-or-update.vue @@ -312,7 +312,7 @@ export default { modalData: {}, ruleForm: { productList: [], - isRefundEarnestMoney: 1, //定金可退 1是 2否 + isRefundEarnestMoney: 1, //定金可退 1是 0 }, tableData: [], rules: {}, @@ -450,4 +450,4 @@ export default { }; \ No newline at end of file + diff --git a/src/views/modules/presale/products/popup/add-or-update.vue b/src/views/modules/presale/products/popup/add-or-update.vue index a2a8212..ea97f05 100644 --- a/src/views/modules/presale/products/popup/add-or-update.vue +++ b/src/views/modules/presale/products/popup/add-or-update.vue @@ -76,7 +76,7 @@ - @@ -406,7 +406,7 @@ export default { modalData: {}, ruleForm: { productList: [], - isRefundEarnestMoney: 1 //定金可退 1是 2否 + isRefundEarnestMoney: 1 //定金可退 1是 0 }, pickerOptions: { disabledDate(time) { @@ -517,7 +517,7 @@ export default { estimatedStartDeliveryTime: '', estimatedEndDeliveryTime: '', productList: [], - isRefundEarnestMoney: 1 //定金可退 1是 2否 + isRefundEarnestMoney: 1 //定金可退 1是 0 } this.modalConfig.title = '新增预售' this.isAdd = true @@ -546,7 +546,7 @@ export default { balancePaymentEndTime: row.balancePaymentEndTime, estimatedStartDeliveryTime: row.estimatedStartDeliveryTime, estimatedEndDeliveryTime: row.estimatedEndDeliveryTime, - isRefundEarnestMoney: row.isRefundEarnestMoney, + isRefundEarnestMoney: Number(row.isRefundEarnestMoney), productSpecificationList: row.productSpecificationList }) // (this.ruleForm = { @@ -562,6 +562,7 @@ export default { // isRefundEarnestMoney: row.isRefundEarnestMoney, // productSpecificationList: row.productSpecificationList, // }), + console.log(this.ruleForm) console.log(this.orderTime, this.arrears, this.delivery) // this.ruleForm = row; diff --git a/src/views/modules/presale/products/popup/view-products.vue b/src/views/modules/presale/products/popup/view-products.vue index 6d0f2e7..451ef40 100644 --- a/src/views/modules/presale/products/popup/view-products.vue +++ b/src/views/modules/presale/products/popup/view-products.vue @@ -38,8 +38,8 @@ > 是 - @@ -217,7 +217,7 @@ export default { modalData: {}, ruleForm: { productList: [], - isRefundEarnestMoney: 1, //定金可退 1是 2否 + isRefundEarnestMoney: 1, //定金可退 1是 0 }, pickerOptions: { disabledDate(time) { @@ -264,7 +264,7 @@ export default { estimatedStartDeliveryTime: "", estimatedEndDeliveryTime: "", productList: [], - isRefundEarnestMoney: 1, //定金可退 1是 2否 + isRefundEarnestMoney: 1, //定金可退 1是 0 }; this.modalConfig.title = "新增预售"; this.isAdd = true; @@ -293,7 +293,7 @@ export default { balancePaymentEndTime: row.balancePaymentEndTime, estimatedStartDeliveryTime: row.estimatedStartDeliveryTime, estimatedEndDeliveryTime: row.estimatedEndDeliveryTime, - isRefundEarnestMoney: row.isRefundEarnestMoney, + isRefundEarnestMoney: Number(row.isRefundEarnestMoney), productSpecificationList: row.productSpecificationList, }), console.log(this.orderTime, this.arrears, this.delivery); @@ -381,4 +381,4 @@ export default { }; \ No newline at end of file +