Commit 18798251 authored by huangyuanyuan's avatar huangyuanyuan
parents e2aaca11 81865e10
...@@ -240,14 +240,13 @@ ...@@ -240,14 +240,13 @@
{{item.Remarks}} {{item.Remarks}}
</div> </div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td :colspan="item.colNum" style="text-align: left!important;padding-left: 20px;"> <td :colspan="item.colNum" style="text-align: left!important;padding-left: 20px;">
<div class="link"> <div class="link">
<p @click="goUrlT('productQuery',item.TCNUMS,'产品查询')">{{item.Titles}}</p> <p @click="goUrlT('productQuery',item.TCNUMS,'产品查询')">{{item.Titles}}</p>
<div v-show="outItem.StaticsReportList[0].DMCRemark!=''" class="colorE95252"> <div v-show="outItem.StaticsReportList[0].DMCRemark!=''" class="colorE95252"> 地接备注:{{outItem.StaticsReportList[0].DMCRemark}}</div>
地接备注:{{outItem.StaticsReportList[0].DMCRemark}}</div> <div v-show="item.CommonReport.Complain_Extend.Id>0" class="colorE95252">供应商投诉:{{item.CommonReport.Complain_Extend.ComplainContent}}</div>
</div> </div>
</td> </td>
</tr> </tr>
......
...@@ -121,17 +121,17 @@ ...@@ -121,17 +121,17 @@
</ul> </ul>
</div> </div>
<p>投诉情况</p> <p>投诉情况</p>
<div class="Supplier_AC_complaintList"> <!-- <div class="Supplier_AC_complaintList">
<div class="t">主题内容:</div> <div class="t">主题内容:</div>
<ul style="width:90%;"> <ul style="width:90%;">
<li v-for="subItem in themeList" @click="getTheme(subItem)" :class="{'checked':subItem.isCheck}"> <li v-for="subItem in themeList" @click="getTheme(subItem)" :class="{'checked':subItem.isCheck}">
{{subItem.Name}} {{subItem.Name}}
</li> </li>
</ul> </ul>
</div> </div> -->
<el-input type="textarea" style="margin-top:10px;" :rows="5" v-model="EditMsg.ComplainContent" <el-input type="textarea" style="margin-top:10px;" :rows="5" v-model="EditMsg.ComplainContent"
placeholder="具体问题描述,以及投诉人的姓名、联系方式"></el-input> placeholder="具体问题描述"></el-input>
</div> </div>
<p style="text-align: center; margin: 10px 0 15px 0;"> <p style="text-align: center; margin: 10px 0 15px 0;">
<input type="button" class="normalBtn" value="保存" @click="SaveData()" /> <input type="button" class="normalBtn" value="保存" @click="SaveData()" />
...@@ -196,10 +196,10 @@ ...@@ -196,10 +196,10 @@
}, },
//保存数据 //保存数据
SaveData(status) { SaveData(status) {
if (this.themeCked.length === 0) { // if (this.themeCked.length === 0) {
this.Error("请选择主题内容"); // this.Error("请选择主题内容");
return false; // return false;
} // }
//数据组装 //数据组装
this.EditMsg.ComplainContentrs = ""; this.EditMsg.ComplainContentrs = "";
let contentrArr = []; let contentrArr = [];
......
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
<div class="btn-list" style="width: 350px;position: fixed;right: 20px;top:50px"> <div class="btn-list" style="width: 350px;position: fixed;right: 20px;top:50px">
<span class="common-lefttit"></span> <span class="common-lefttit"></span>
<button class="save-Btn" @click="submitForm('addMsg')">{{$t('pub.saveBtn')}}</button> <button class="save-Btn" @click="submitForm('addMsg')">{{$t('pub.saveBtn')}}</button>
<button class="cancel-Btn" @click="goUrl('HotelManagement')">{{$t('pub.cancelBtn')}}</button> <button class="cancel-Btn" @click="goUrl('HotelManagement2')">{{$t('pub.cancelBtn')}}</button>
</div> </div>
</div> </div>
......
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
<el-form-item label="供应商" prop="Supplier"> <el-form-item label="供应商" prop="Supplier">
<el-select v-model="msg2.Supplier" placeholder="请选择"> <el-select v-model="msg2.Supplier" placeholder="请选择">
<el-option :label="$t('pub.unlimitedSel')" value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" value='0'></el-option>
<el-option v-for="(item,index) in SupplierList" :key="index" :label="item.Name" :value="item.ID"> <el-option v-for="(item,index) in SupplierList" :key="index" :label="item.Name" :value="item.ID" v-if="userInfo.SupplierId==item.ID">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -477,7 +477,7 @@ ...@@ -477,7 +477,7 @@
<el-form-item label="供应商" prop="Supplier"> <el-form-item label="供应商" prop="Supplier">
<el-select v-model="msg.Supplier" placeholder="请选择"> <el-select v-model="msg.Supplier" placeholder="请选择">
<el-option :label="$t('pub.unlimitedSel')" value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" value='0'></el-option>
<el-option v-for="(item,index) in SupplierList" :key="index" :label="item.Name" :value="item.ID"> <el-option v-for="(item,index) in SupplierList" :key="index" :label="item.Name" :value="item.ID" v-if="userInfo.SupplierId==item.ID">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -578,6 +578,7 @@ ...@@ -578,6 +578,7 @@
data: {} data: {}
}, },
editShow: false, editShow: false,
userInfo:{},
msg: { msg: {
Hotel: '0', Hotel: '0',
Supplier: 30, Supplier: 30,
...@@ -1006,7 +1007,7 @@ ...@@ -1006,7 +1007,7 @@
// 获取供应商 // 获取供应商
initSupplier() { initSupplier() {
this.ApiPost2("supplier_post_GetAllList", { this.ApiPost2("supplier_post_GetAllList", {
Type: 1 Type: 1,
}, res => { }, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.SupplierList = res.data.data; this.SupplierList = res.data.data;
...@@ -1132,6 +1133,7 @@ ...@@ -1132,6 +1133,7 @@
} }
}, },
created: function () { created: function () {
this.userInfo = this.getLocalStorageSupplier();
this.hotelId = this.$route.query.id === undefined ? '0' : this.$route.query.id; this.hotelId = this.$route.query.id === undefined ? '0' : this.$route.query.id;
this.msg.Hotel = this.$route.query.id === undefined ? '0' : this.$route.query.id; this.msg.Hotel = this.$route.query.id === undefined ? '0' : this.$route.query.id;
this.msg2.Hotel = this.$route.query.id === undefined ? '0' : this.$route.query.id; this.msg2.Hotel = this.$route.query.id === undefined ? '0' : this.$route.query.id;
......
...@@ -157,8 +157,8 @@ ...@@ -157,8 +157,8 @@
<td v-if="childIndex==0" :rowspan="subItem.hotelList.length"> <td v-if="childIndex==0" :rowspan="subItem.hotelList.length">
<a style="text-decoration:underline;color:blue;cursor:pointer" <a style="text-decoration:underline;color:blue;cursor:pointer"
@click="AddSupplierComplain(subItem.Complain_Extend.Id,subItem.Complain_Extend.TCID)"> @click="AddSupplierComplain(subItem.Complain_Extend.Id,subItem.Complain_Extend.TCID)">
<template v-if="subItem.Complain_Extend.Id>0">编辑</template> <template v-if="subItem.Complain_Extend.Id>0">编辑投诉</template>
<template v-else>添加</template> <template v-else>添加投诉</template>
</a> </a>
<a style="text-decoration:underline;color:red;cursor:pointer" v-if="subItem.Complain_Extend.Id>0" <a style="text-decoration:underline;color:red;cursor:pointer" v-if="subItem.Complain_Extend.Id>0"
@click="DeleteSupplierComplain(subItem.Complain_Extend.Id)">删除</a> @click="DeleteSupplierComplain(subItem.Complain_Extend.Id)">删除</a>
...@@ -512,7 +512,7 @@ ...@@ -512,7 +512,7 @@
.roomQuery_SupplierTable tr td { .roomQuery_SupplierTable tr td {
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
text-align: center; text-align: center;
padding: 10px 0; padding: 5px 0;
} }
.roomQuery_SupplierTable .tdLeft { .roomQuery_SupplierTable .tdLeft {
......
This diff is collapsed.
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