fix: 设置定金不可退配置为0
This commit is contained in:
parent
f5f010c6f1
commit
eb0cb2a0a6
|
@ -312,7 +312,7 @@ export default {
|
|||
modalData: {},
|
||||
ruleForm: {
|
||||
productList: [],
|
||||
isRefundEarnestMoney: 1, //定金可退 1是 2否
|
||||
isRefundEarnestMoney: 1, //定金可退 1是 0
|
||||
},
|
||||
tableData: [],
|
||||
rules: {},
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="1"
|
||||
>是</el-radio
|
||||
>
|
||||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="2"
|
||||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="0"
|
||||
>否</el-radio
|
||||
>
|
||||
<span>
|
||||
|
@ -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;
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
>
|
||||
<el-date-picker
|
||||
@change="getArrearsTime"
|
||||
format="yyyy-MM-dd"
|
||||
data-format="yyyy-MM-dd"
|
||||
format="yyyy-MM-dd HH:mm"
|
||||
data-format="yyyy-MM-dd HH:mm"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
v-model="arrears"
|
||||
type="datetimerange"
|
||||
|
@ -73,7 +73,7 @@
|
|||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="1"
|
||||
>是</el-radio
|
||||
>
|
||||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="2"
|
||||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="0"
|
||||
>否</el-radio
|
||||
>
|
||||
<span>
|
||||
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue