Commit ecf3ccc0 authored by youjie's avatar youjie

no message

parent 1011da7d
...@@ -954,7 +954,7 @@ ...@@ -954,7 +954,7 @@
金额:<el-input style="width:300px" v-model="EditMsg.TotalPrice"></el-input> 金额:<el-input style="width:300px" v-model="EditMsg.TotalPrice"></el-input>
</div> --> </div> -->
<div style="margin-bottom: 5px;">金额:<el-input style="width:300px" v-model="EditMsg.TotalPrice"></el-input></div> <div style="margin-bottom: 5px;">金额:<el-input style="width:300px" v-model="EditMsg.TotalPrice"></el-input></div>
<div>人数:<el-input style="width:300px" v-model="EditMsg.PeopleNum"></el-input></div> <div>人数:<el-input style="width:300px" type="number" v-model="EditMsg.PeopleNum"></el-input></div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="mini" @click="EditVisible = false">取 消</el-button> <el-button size="mini" @click="EditVisible = false">取 消</el-button>
<el-button size="mini" type="danger" @click="PerferPrice">确 定</el-button> <el-button size="mini" type="danger" @click="PerferPrice">确 定</el-button>
...@@ -1091,6 +1091,9 @@ ...@@ -1091,6 +1091,9 @@
this.makeAdocument(row, index, num, 'Offset') this.makeAdocument(row, index, num, 'Offset')
}, },
PerferPrice() { PerferPrice() {
if(this.EditMsg.PeopleNum==''||this.EditMsg.PeopleNum==null){
this.EditMsg.PeopleNum = 0
}
this.apipost('dmc_get_visa_SetVisaOrderPrice', this.EditMsg, res => { this.apipost('dmc_get_visa_SetVisaOrderPrice', this.EditMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.EditVisible = false; this.EditVisible = false;
...@@ -1105,7 +1108,7 @@ ...@@ -1105,7 +1108,7 @@
this.EditVisible = true; this.EditVisible = true;
this.EditMsg.OrderId = item.id; this.EditMsg.OrderId = item.id;
this.EditMsg.TotalPrice = item.tiotalPrice; this.EditMsg.TotalPrice = item.tiotalPrice;
this.EditMsg.PeopleNum = item.peopleNum; this.EditMsg.PeopleNum = item.peopleNum?item.peopleNum:0;
}, },
goUrl2(path, id, name) { goUrl2(path, id, name) {
this.$router.push({ this.$router.push({
......
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