Commit 007d48e8 authored by 黄奎's avatar 黄奎

11

parent 2fe9d53b
...@@ -185,9 +185,6 @@ ...@@ -185,9 +185,6 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li v-if="ActionMenuCode.indexOf('ThirdHotelOrder')!=-1"> <li v-if="ActionMenuCode.indexOf('ThirdHotelOrder')!=-1">
<span> <span>
<em>{{$t('sm.company')}}</em> <em>{{$t('sm.company')}}</em>
...@@ -343,7 +340,6 @@ ...@@ -343,7 +340,6 @@
<th>{{$t('salesModule.CancelFee')}}</th> <th>{{$t('salesModule.CancelFee')}}</th>
<th width="110">{{$t('fnc.khxinxi')}}</th> <th width="110">{{$t('fnc.khxinxi')}}</th>
<th>{{$t('active.cl_addPp')}}</th> <th>{{$t('active.cl_addPp')}}</th>
<!-- <th>{{$t('MarketingActi.endTime')}}</th> -->
<th width="180">{{$t('system.table_operation')}}</th> <th width="180">{{$t('system.table_operation')}}</th>
</tr> </tr>
<tbody v-for="(item,index) in dataList" :key="`d_`+index"> <tbody v-for="(item,index) in dataList" :key="`d_`+index">
...@@ -361,7 +357,6 @@ ...@@ -361,7 +357,6 @@
</div> </div>
</td> </td>
<td>{{item.ThirdOrderNo}}</td> <td>{{item.ThirdOrderNo}}</td>
<td><span class="cursorpointer text-decoration" @click="GotoUrl(item.TCNUM)" <td><span class="cursorpointer text-decoration" @click="GotoUrl(item.TCNUM)"
v-if="item.TCID">{{item.TCNUM}}({{item.TCID}})</span></td> v-if="item.TCID">{{item.TCNUM}}({{item.TCID}})</span></td>
<td>{{item.Number}}</td> <td>{{item.Number}}</td>
...@@ -443,23 +438,29 @@ ...@@ -443,23 +438,29 @@
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('sm.exitOrder')" placement="top-start" <el-tooltip class="item" effect="dark" :content="$t('sm.exitOrder')" placement="top-start"
v-if="item.IsCanOrder == 0"> v-if="item.IsCanOrder == 0">
<!--JALAN-->
<el-button type="info" v-if="item.Source==2" icon="iconfont icon-quxiao1" <el-button type="info" v-if="item.Source==2" icon="iconfont icon-quxiao1"
@click="cancelHTorder(item.ThirdOrderNo)"></el-button> @click="cancelHTorder(item.ThirdOrderNo)"></el-button>
<el-button type="info" v-else-if="item.Source==4" icon="iconfont icon-quxiao1"
@click="cancelDiDaorder(item)"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('pub.sureBtn')" placement="top-start"> <!--取消道旅订单(Source=4,道旅订单;OrderStatus=1或5 待支付,已支付)-->
<el-tooltip class="item" effect="dark" :content="$t('sm.exitOrder')" placement="top-start">
<el-button v-if="item.Source==4&&(item.OrderStatus==1||item.OrderStatus==5)" type="info"
icon="iconfont icon-quxiao1" @click="cancelDiDaorder(item)"></el-button>
</el-tooltip>
<!-- <el-tooltip class="item" effect="dark" :content="$t('pub.sureBtn')" placement="top-start">
<el-button type="success" icon="iconfont icon-duigou" v-if="item.IsCanClear == 0" <el-button type="success" icon="iconfont icon-duigou" v-if="item.IsCanClear == 0"
@click="queren(1, item.OrderID)"></el-button> @click="queren(1, item.OrderID)"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('sm.exitsure')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('sm.exitsure')" placement="top-start">
<el-button type="info" icon=" iconfont icon-quxiao1" v-if="item.IsCanClear == 1" <el-button type="info" icon=" iconfont icon-quxiao1" v-if="item.IsCanClear == 1"
@click="queren(0, item.OrderID)"></el-button> @click="queren(0, item.OrderID)"></el-button>
</el-tooltip> </el-tooltip> -->
<!--关联团队-->
<el-tooltip class="item" effect="dark" :content="$t('salesModule.UnionTeam')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('salesModule.UnionTeam')" placement="top-start">
<el-button type="warning" icon="iconfont icon-guanlian" <el-button type="warning" icon="iconfont icon-guanlian"
@click="TCID = '',GLOrderID = item.OrderID,dialogFormVisible = true"></el-button> @click="TCID = '',GLOrderID = item.OrderID,dialogFormVisible = true"></el-button>
</el-tooltip> </el-tooltip>
<!--订单详情-->
<el-tooltip class="item" effect="dark" :content="$t('fnc.xiangqing')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('fnc.xiangqing')" placement="top-start">
<el-button type="success" icon="iconfont icon-sousuo" @click="goOrderDetails(item.OrderID)"> <el-button type="success" icon="iconfont icon-sousuo" @click="goOrderDetails(item.OrderID)">
</el-button> </el-button>
...@@ -584,9 +585,8 @@ ...@@ -584,9 +585,8 @@
<button class="normalBtn" type="primary" @click="querenDidaCancelOrder">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" type="primary" @click="querenDidaCancelOrder">{{$t('pub.sureBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size=msg.pageSize :total=total> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
</el-pagination> </el-pagination>
</div> </div>
</template> </template>
...@@ -613,7 +613,7 @@ ...@@ -613,7 +613,7 @@
CStartTime: '', CStartTime: '',
CEndTime: '', CEndTime: '',
Source: '4', Source: '4',
HotelName:"",//酒店名称 HotelName: "", //酒店名称
}, },
TCID: '', TCID: '',
GLOrderID: '', GLOrderID: '',
...@@ -669,7 +669,6 @@ ...@@ -669,7 +669,6 @@
return startTime.getTime() >= time.getTime() return startTime.getTime() >= time.getTime()
} }
}, },
orderStatus: [{ orderStatus: [{
Name: this.$t('advmanager.v_all'), Name: this.$t('advmanager.v_all'),
Id: 0 Id: 0
...@@ -719,14 +718,11 @@ ...@@ -719,14 +718,11 @@
GetSupperOrderEditAuth() { GetSupperOrderEditAuth() {
var actionCode = this.$AuthCode.isQueryHistoryData; var actionCode = this.$AuthCode.isQueryHistoryData;
this.CheckUserAuth(actionCode, res => { this.CheckUserAuth(actionCode, res => {
if (res.data.resultCode == 1 && res.data.data == 1) { if (res.data.resultCode == 1 && res.data.data == 1) {} else {
} else {
let StartDate = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")) let StartDate = this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))
this.msg.StartTime = StartDate this.msg.StartTime = StartDate
} }
}); });
}, },
GotoUrl(TCNUM) { GotoUrl(TCNUM) {
this.$router.push({ this.$router.push({
...@@ -750,7 +746,6 @@ ...@@ -750,7 +746,6 @@
} }
}, err => {}); }, err => {});
}, },
getThirdOrderSourceEnumEnumList() { getThirdOrderSourceEnumEnumList() {
this.apipost("sellorder_post_GetThirdOrderSourceEnumEnumList", {}, res => { this.apipost("sellorder_post_GetThirdOrderSourceEnumEnumList", {}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -758,7 +753,6 @@ ...@@ -758,7 +753,6 @@
} }
}, err => {}); }, err => {});
}, },
//获取当前信息 //获取当前信息
getThisMsg(item) { getThisMsg(item) {
this.updatePriceDialog = true; this.updatePriceDialog = true;
...@@ -830,12 +824,11 @@ ...@@ -830,12 +824,11 @@
}); });
}); });
}, },
querenDidaCancelOrder() { querenDidaCancelOrder() {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
let EmployeeId = userInfo.EmployeeId; let EmployeeId = userInfo.EmployeeId;
this.didaCancelOrderMsg.CancelBy = EmployeeId, this.didaCancelOrderMsg.CancelBy = EmployeeId;
this.didaCancelOrderMsg.CancelType = 2; this.didaCancelOrderMsg.CancelType = 2;
this.$confirm(this.$t('objFill.v101.querqxdid'), this.$t('tips.tips'), { this.$confirm(this.$t('objFill.v101.querqxdid'), this.$t('tips.tips'), {
confirmButtonText: this.$t('pub.sureBtn'), confirmButtonText: this.$t('pub.sureBtn'),
cancelButtonText: this.$t('pub.cancelBtn'), cancelButtonText: this.$t('pub.cancelBtn'),
...@@ -911,7 +904,6 @@ ...@@ -911,7 +904,6 @@
}, },
err => {} err => {}
); );
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
......
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