Commit e1a52928 authored by 黄奎's avatar 黄奎

门票免间人数修改

parent 34f99b05
......@@ -24,7 +24,7 @@
<th width="80">返佣</th>
<th width="80">总金额</th>
<th width="80">付款方式</th>
<th width="150">订团号</th>
<th width="150">订团号</th>
<th width="150">联络电话</th>
<th width="300">地址</th>
<th width="200">备注</th>
......@@ -119,9 +119,9 @@
</el-select>
</div>
</td>
<td>
<td>
<div class="w160 ScenicComDiv" v-for="subItem in item.ScenicStatisticsList">
<el-input class='w120' v-model='subItem.CombinationNum' type="text"></el-input>
<el-input class='w120' v-model='subItem.CombinationNum' type="text"></el-input>
</div>
</td>
<td>
......@@ -187,14 +187,14 @@
TCIDs: this.$route.query.id
}, res => {
if (res.data.resultCode == 1) {
this.list = res.data.data;
this.list = res.data.data;
this.list.forEach(item => {
item.ScenicStatisticsList.forEach(x => {
x.PayStyle = x.PayStyle.toString();
this.calculationPrice(x);
if(x.CombinationNum==''||x.CombinationNum==null){
x.CombinationNum = this.$route.query.NewCombinationNum;
}
if (x.CombinationNum == '' || x.CombinationNum == null) {
x.CombinationNum = this.$route.query.NewCombinationNum;
}
})
})
} else {
......@@ -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