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

页面修改

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