Commit e1a52928 authored by 黄奎's avatar 黄奎

门票免间人数修改

parent 34f99b05
......@@ -192,7 +192,7 @@
item.ScenicStatisticsList.forEach(x => {
x.PayStyle = x.PayStyle.toString();
this.calculationPrice(x);
if(x.CombinationNum==''||x.CombinationNum==null){
if (x.CombinationNum == '' || x.CombinationNum == null) {
x.CombinationNum = this.$route.query.NewCombinationNum;
}
})
......@@ -207,6 +207,11 @@
this.list.forEach(item => {
item.ScenicStatisticsList.forEach(insideItem => {
insideItem.OrderState = 0;
insideItem.TicketPriceList.forEach(subItem => {
if (!subItem.Discount) {
subItem.Discount = 0;
}
});
})
})
}
......@@ -214,9 +219,16 @@
this.list.forEach(item => {
item.ScenicStatisticsList.forEach(insideItem => {
insideItem.OrderState = 1;
insideItem.TicketPriceList.forEach(subItem => {
if (!subItem.Discount) {
subItem.Discount = 0;
}
});
})
})
}
console.log("this.list", this.list);
this.apipost('dmcstatistics_get_SetTicketOrder', this.list, res => {
if (res.data.resultCode == 1) {
this.$message.success(res.data.message);
......@@ -234,6 +246,7 @@
this.getList()
},
}
</script>
<style>
.admissionStatisticsDetailsTalbe {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment