|
@@ -41,7 +41,7 @@
|
|
|
<hr style='background-color:#5555; height:1px; border:none;' />
|
|
|
<div>
|
|
|
<template>
|
|
|
- <el-table :data="ContenList" border style="width: 100%">
|
|
|
+ <el-table :data="ContentList" border style="width: 100%">
|
|
|
<el-table-column prop="num" label="序 号" width="55">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.$index + 1 }}
|
|
@@ -91,7 +91,7 @@
|
|
|
</div>
|
|
|
<div style="width: 25%;">
|
|
|
<el-form-item label="收款方:" prop="payee" label-width="160px">
|
|
|
- <el-input placeholder="联系电话" v-model="OPContenData.payee">
|
|
|
+ <el-input placeholder="收款方" v-model="OPContenData.payee">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
@@ -166,7 +166,7 @@ export default {
|
|
|
tableInitialization: [],
|
|
|
payment: [],
|
|
|
IsAuditGM: 0,
|
|
|
- ContenList: [],
|
|
|
+ ContentList: [],
|
|
|
OPContenData: {
|
|
|
diId: '',
|
|
|
cTGGRId: '',
|
|
@@ -175,7 +175,7 @@ export default {
|
|
|
payee: '',
|
|
|
payDId: '',
|
|
|
currency: '',
|
|
|
- OPContenList: [],
|
|
|
+ OPContentList: [],
|
|
|
CreateUserId: 0
|
|
|
},
|
|
|
OPContenDataRules: {
|
|
@@ -218,7 +218,7 @@ export default {
|
|
|
//初始化下拉框
|
|
|
initializeSelect() {
|
|
|
//团组下拉框绑定
|
|
|
- var url = "/api/Groups/CarTouristGuideGroundContenInitialize"
|
|
|
+ var url = "/api/Groups/CarTouristGuideGroundContentInitialize"
|
|
|
var that = this
|
|
|
this.$axios({
|
|
|
method: 'post',
|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
debugger
|
|
|
that.tableInitialization = res.data.data.tableInitialization;
|
|
|
that.tableInitialization.forEach(function (item) {
|
|
|
- that.ContenList.push({
|
|
|
+ that.ContentList.push({
|
|
|
id: 0,
|
|
|
sId: item.id,
|
|
|
sIdName: item.name,
|
|
@@ -262,7 +262,7 @@ export default {
|
|
|
|
|
|
},
|
|
|
OpCarTouristGuideGroundContenById() {
|
|
|
- var url = "/api/Groups/OpCarTouristGuideGroundContenById"
|
|
|
+ var url = "/api/Groups/OpCarTouristGuideGroundContentById"
|
|
|
var that = this
|
|
|
this.$axios({
|
|
|
method: 'post',
|
|
@@ -284,10 +284,10 @@ export default {
|
|
|
that.OPContenData.payPercentage = CreditCardPayment.payPercentage
|
|
|
that.countCost = CreditCardPayment.payMoney
|
|
|
}
|
|
|
- var CarTouristsConten = res.data.data.carTouristsConten;
|
|
|
- if (CarTouristsConten.length != 0) {
|
|
|
- CarTouristsConten.forEach(function (item) {
|
|
|
- that.ContenList.forEach(function (item1) {
|
|
|
+ var CarTouristsContent = res.data.data.carTouristsContent;
|
|
|
+ if (CarTouristsContent.length != 0) {
|
|
|
+ CarTouristsContent.forEach(function (item) {
|
|
|
+ that.ContentList.forEach(function (item1) {
|
|
|
if (item.sId == item1.sId) {
|
|
|
item1.id = item.id
|
|
|
item1.price = item.price
|
|
@@ -322,8 +322,8 @@ export default {
|
|
|
that.OPContenData.cTGGRId = that.id
|
|
|
that.OPContenData.currency = that.currency
|
|
|
that.OPContenData.CreateUserId = that.userId
|
|
|
- that.ContenList.forEach(function (item) {
|
|
|
- that.OPContenData.OPContenList.push({
|
|
|
+ that.ContentList.forEach(function (item) {
|
|
|
+ that.OPContenData.OPContentList.push({
|
|
|
id: item.id,
|
|
|
sId: item.sId,
|
|
|
price: item.price,
|
|
@@ -332,7 +332,7 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
|
|
|
- var url = "/api/Groups/OpCarTouristGuideGroundConten"
|
|
|
+ var url = "/api/Groups/OpCarTouristGuideGroundContent"
|
|
|
that.$axios({
|
|
|
method: 'post',
|
|
|
url: url,
|
|
@@ -368,7 +368,7 @@ export default {
|
|
|
},
|
|
|
PriceChange() {
|
|
|
var countCost = 0;
|
|
|
- this.ContenList.forEach(function (item) {
|
|
|
+ this.ContentList.forEach(function (item) {
|
|
|
if (item.price != '') {
|
|
|
countCost += parseFloat(item.price)
|
|
|
}
|