Commit 73a5d1f5 authored by 黄奎's avatar 黄奎

页面修改

parent b9836316
......@@ -21,8 +21,7 @@
</style>
<template>
<div class="flexOne groupts">
<div class="productQuerybottomLayer ownScrollbarStyle">
<div class="productQuerybottomLayer ownScrollbarStyle" style="height:650px;">
<p>
修改订单211
<span class="fr">
......@@ -48,16 +47,15 @@
</el-select>
</el-form-item>
<el-form-item v-if="addMsg.GroupType == '3'" label="是否用房" prop="GroupTypeNeedHouse">
<el-switch @change="$forceUpdate()" v-model="addMsg.GroupTypeNeedHouse" active-value="0"
inactive-value="1"></el-switch>
<el-switch @change="$forceUpdate()" v-model="addMsg.GroupTypeNeedHouse" active-value="0" inactive-value="1">
</el-switch>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="联系人" prop="ContactName" v-show="addMsg.CustomerType == 3 || addMsg.CustomerType == 4">
<el-input v-model="addMsg.ContactName"></el-input>
</el-form-item>
<el-form-item label="联系电话" prop="ContactMobile"
v-show="addMsg.CustomerType == 3 || addMsg.CustomerType == 4">
<el-form-item label="联系电话" prop="ContactMobile" v-show="addMsg.CustomerType == 3 || addMsg.CustomerType == 4">
<el-input v-model="addMsg.ContactMobile"></el-input>
</el-form-item>
<el-form-item label="客户门店" prop="CustomerId" v-show="
......@@ -513,7 +511,7 @@
</el-row>
</el-form>
</div>
</div>
</template>
<script>
export default {
......@@ -1074,7 +1072,7 @@
this.addMsg.OneSex = x.OneSex;
this.addMsg.ScenicRefundArr = res.data.data.ScenicRefundArr;
this.getScenicRefund(obj.tcid, obj.orderId);
this.getScenicRefund(this.orderQueryMsg.TCID, this.orderQueryMsg.OrderId);
this.getPlatformAccount(
obj.platformAccountTypeId,
obj.platformAccount
......@@ -1732,25 +1730,17 @@
(res) => {
if (res.data.resultCode == 1) {
this.$message.success(res.data.message);
this.$refs["addMsg"].resetFields();
this.clearMsg();
this.getList();
this.isShowLayer = false;
if (res.data.data == 1) {
// this.$router.push({
// name: "passengerSaleList",
// query: {
// id: this.goLVurl.orderId,
// tcid: this.goLVurl.tcid,
// tcnum: this.goLVurl.tcnum,
// isOrder: this.goLVurl.isOrder,
// blank: "y",
// tab: "旅客名单",
// },
// });
}
//调用父页面刷新方法
this.$emit("success");
} else {
this.isShowLayer = false;
this.$message.error(res.data.message);
}
},
......@@ -2087,11 +2077,10 @@
this.getTradeWay();
this.canEditUnitPrice();
},
watch:{
watch: {
//监听订单属性编号
orderprops: {
handler(newVal) {
console.log("newVal", this.orderprops)
this.orderQueryMsg.OrderId = this.orderprops.OrderId;
this.orderQueryMsg.TCID = this.orderprops.TCID;
this.getDetail();
......
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