fix: 设置定金不可退配置为0
This commit is contained in:
parent
f5f010c6f1
commit
eb0cb2a0a6
|
@ -312,7 +312,7 @@ export default {
|
||||||
modalData: {},
|
modalData: {},
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
productList: [],
|
productList: [],
|
||||||
isRefundEarnestMoney: 1, //定金可退 1是 2否
|
isRefundEarnestMoney: 1, //定金可退 1是 0
|
||||||
},
|
},
|
||||||
tableData: [],
|
tableData: [],
|
||||||
rules: {},
|
rules: {},
|
||||||
|
@ -450,4 +450,4 @@ export default {
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="1"
|
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="1"
|
||||||
>是</el-radio
|
>是</el-radio
|
||||||
>
|
>
|
||||||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="2"
|
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="0"
|
||||||
>否</el-radio
|
>否</el-radio
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
|
@ -406,7 +406,7 @@ export default {
|
||||||
modalData: {},
|
modalData: {},
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
productList: [],
|
productList: [],
|
||||||
isRefundEarnestMoney: 1 //定金可退 1是 2否
|
isRefundEarnestMoney: 1 //定金可退 1是 0
|
||||||
},
|
},
|
||||||
pickerOptions: {
|
pickerOptions: {
|
||||||
disabledDate(time) {
|
disabledDate(time) {
|
||||||
|
@ -517,7 +517,7 @@ export default {
|
||||||
estimatedStartDeliveryTime: '',
|
estimatedStartDeliveryTime: '',
|
||||||
estimatedEndDeliveryTime: '',
|
estimatedEndDeliveryTime: '',
|
||||||
productList: [],
|
productList: [],
|
||||||
isRefundEarnestMoney: 1 //定金可退 1是 2否
|
isRefundEarnestMoney: 1 //定金可退 1是 0
|
||||||
}
|
}
|
||||||
this.modalConfig.title = '新增预售'
|
this.modalConfig.title = '新增预售'
|
||||||
this.isAdd = true
|
this.isAdd = true
|
||||||
|
@ -546,7 +546,7 @@ export default {
|
||||||
balancePaymentEndTime: row.balancePaymentEndTime,
|
balancePaymentEndTime: row.balancePaymentEndTime,
|
||||||
estimatedStartDeliveryTime: row.estimatedStartDeliveryTime,
|
estimatedStartDeliveryTime: row.estimatedStartDeliveryTime,
|
||||||
estimatedEndDeliveryTime: row.estimatedEndDeliveryTime,
|
estimatedEndDeliveryTime: row.estimatedEndDeliveryTime,
|
||||||
isRefundEarnestMoney: row.isRefundEarnestMoney,
|
isRefundEarnestMoney: Number(row.isRefundEarnestMoney),
|
||||||
productSpecificationList: row.productSpecificationList
|
productSpecificationList: row.productSpecificationList
|
||||||
})
|
})
|
||||||
// (this.ruleForm = {
|
// (this.ruleForm = {
|
||||||
|
@ -562,6 +562,7 @@ export default {
|
||||||
// isRefundEarnestMoney: row.isRefundEarnestMoney,
|
// isRefundEarnestMoney: row.isRefundEarnestMoney,
|
||||||
// productSpecificationList: row.productSpecificationList,
|
// productSpecificationList: row.productSpecificationList,
|
||||||
// }),
|
// }),
|
||||||
|
console.log(this.ruleForm)
|
||||||
console.log(this.orderTime, this.arrears, this.delivery)
|
console.log(this.orderTime, this.arrears, this.delivery)
|
||||||
|
|
||||||
// this.ruleForm = row;
|
// this.ruleForm = row;
|
||||||
|
|
|
@ -38,8 +38,8 @@
|
||||||
>
|
>
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
@change="getArrearsTime"
|
@change="getArrearsTime"
|
||||||
format="yyyy-MM-dd"
|
format="yyyy-MM-dd HH:mm"
|
||||||
data-format="yyyy-MM-dd"
|
data-format="yyyy-MM-dd HH:mm"
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
value-format="yyyy-MM-dd HH:mm:ss"
|
||||||
v-model="arrears"
|
v-model="arrears"
|
||||||
type="datetimerange"
|
type="datetimerange"
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="1"
|
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="1"
|
||||||
>是</el-radio
|
>是</el-radio
|
||||||
>
|
>
|
||||||
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="2"
|
<el-radio v-model="ruleForm.isRefundEarnestMoney" :label="0"
|
||||||
>否</el-radio
|
>否</el-radio
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
|
@ -217,7 +217,7 @@ export default {
|
||||||
modalData: {},
|
modalData: {},
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
productList: [],
|
productList: [],
|
||||||
isRefundEarnestMoney: 1, //定金可退 1是 2否
|
isRefundEarnestMoney: 1, //定金可退 1是 0
|
||||||
},
|
},
|
||||||
pickerOptions: {
|
pickerOptions: {
|
||||||
disabledDate(time) {
|
disabledDate(time) {
|
||||||
|
@ -264,7 +264,7 @@ export default {
|
||||||
estimatedStartDeliveryTime: "",
|
estimatedStartDeliveryTime: "",
|
||||||
estimatedEndDeliveryTime: "",
|
estimatedEndDeliveryTime: "",
|
||||||
productList: [],
|
productList: [],
|
||||||
isRefundEarnestMoney: 1, //定金可退 1是 2否
|
isRefundEarnestMoney: 1, //定金可退 1是 0
|
||||||
};
|
};
|
||||||
this.modalConfig.title = "新增预售";
|
this.modalConfig.title = "新增预售";
|
||||||
this.isAdd = true;
|
this.isAdd = true;
|
||||||
|
@ -293,7 +293,7 @@ export default {
|
||||||
balancePaymentEndTime: row.balancePaymentEndTime,
|
balancePaymentEndTime: row.balancePaymentEndTime,
|
||||||
estimatedStartDeliveryTime: row.estimatedStartDeliveryTime,
|
estimatedStartDeliveryTime: row.estimatedStartDeliveryTime,
|
||||||
estimatedEndDeliveryTime: row.estimatedEndDeliveryTime,
|
estimatedEndDeliveryTime: row.estimatedEndDeliveryTime,
|
||||||
isRefundEarnestMoney: row.isRefundEarnestMoney,
|
isRefundEarnestMoney: Number(row.isRefundEarnestMoney),
|
||||||
productSpecificationList: row.productSpecificationList,
|
productSpecificationList: row.productSpecificationList,
|
||||||
}),
|
}),
|
||||||
console.log(this.orderTime, this.arrears, this.delivery);
|
console.log(this.orderTime, this.arrears, this.delivery);
|
||||||
|
@ -381,4 +381,4 @@ export default {
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue