Commit a8e2e278 authored by 吴春's avatar 吴春

提交机损核实

parent 283876ca
...@@ -595,7 +595,17 @@ ...@@ -595,7 +595,17 @@
</p> </p>
</el-tooltip></div> </el-tooltip></div>
</div> </div>
<div class="d4" style="width:13%"> <div class="d4" style="width:6%">
<div class="people-item" >
<span class="people-item-title">票务:</span>
{{ item.TicketCreateName }}
</div>
<div class="people-item" >
<span class="people-item-title">机票款:</span>
{{ item.JiPiao }}
</div>
</div>
<div class="d4" style="width:10%">
<div class="people-item" > <div class="people-item" >
<span class="people-item-title">团OP:</span> <span class="people-item-title">团OP:</span>
{{ item.CreateName }} {{ item.CreateName }}
...@@ -607,15 +617,15 @@ ...@@ -607,15 +617,15 @@
<span v-else-if="item.OutGroupAuditState==2">审核通过</span> <span v-else-if="item.OutGroupAuditState==2">审核通过</span>
<span v-else-if="item.OutGroupAuditState==3">审核拒绝</span> <span v-else-if="item.OutGroupAuditState==3">审核拒绝</span>
</div> </div>
<div class="people-item" > <!-- <div class="people-item" >
<span class="people-item-title">机票款:</span> <span class="people-item-title">机票款:</span>
{{ item.JiPiao }} {{ item.JiPiao }}
</div> </div> -->
</div> </div>
<div class="d5" style="width:25%"> <div class="d5" style="width:22%">
<div class="people-item" > <div class="people-item" >
<span class="people-item-title">确认状态:</span> <span class="people-item-title">确认状态:</span>
<span v-if="item.TicketLoassId>0">已确认({{item.TicketLoassByStr}}/{{item.TicketLoassTimeStr}} )</span> <span v-if="item.DamageStatus==1">已确认({{item.TicketLoassByStr}}{{item.TicketLoassTimeStr}} )</span>
<span style="color:red;" v-else>未确认</span> <span style="color:red;" v-else>未确认</span>
</div> </div>
<div class="people-item" > <div class="people-item" >
...@@ -634,10 +644,11 @@ ...@@ -634,10 +644,11 @@
<!-- {{ item.FileList }} --> <!-- {{ item.FileList }} -->
</div> </div>
</div> </div>
<div style="width:5%"> <div style="width:10%">
<div class="flex-center"> <div class="flex-center">
<el-button v-if="item.TicketLoassId==0" type="primary" size="small" @click="editItem(item,0)">确认</el-button> <el-button v-if="item.DamageStatus==0" type="primary" size="small" @click="editItem(item,2)">确认</el-button>
<el-button v-else type="primary" size="small" @click="editItem(item,0)">修改</el-button> <!-- <el-button v-if="item.TicketLoassId==0 DamageStatus" type="primary" size="small" @click="editItem(item,0)">确认</el-button> -->
<el-button type="primary" size="small" @click="editItem(item,0)">编辑备注</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -646,14 +657,14 @@ ...@@ -646,14 +657,14 @@
<div class="noData" v-else> <div class="noData" v-else>
{{ $t("system.content_noData") }} {{ $t("system.content_noData") }}
</div> </div>
<el-dialog :title='seeType==0?(queryData.Id==0?"确认":"修改"):"查看"' :visible.sync="showDialog" width="600px" height="50%"> <el-dialog :title='seeType!=1?(seeType==2?"确认":"编辑备注"):"查看"' :visible.sync="showDialog" width="600px" height="50%">
<div v-if="seeType==0"> <div v-if="seeType!=1">
<span style="width: 15%; display: inline-block">团号:</span> <span style="width: 15%; display: inline-block">团号:</span>
<span>{{ queryData.TCNUM }}{{ queryData.TCID }}</span> <span>{{ queryData.TCNUM }}{{ queryData.TCID }}</span>
</div> </div>
<div style="margin-top: 10px" v-if="seeType==0"> <div style="margin-top: 10px" v-if="seeType!=1">
<span style="width: 15%; display: inline-block">备注:</span> <span style="width: 15%; display: inline-block">备注:</span>
<el-input v-model="queryData.Notes" style="width:425px;"></el-input> <el-input v-model="queryData.Notes" style="width:425px;" maxlength="500" placeholder="请输入500字以内的备注"></el-input>
</div> </div>
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<span style="width: 15%; display: inline-block">附件:</span> <span style="width: 15%; display: inline-block">附件:</span>
...@@ -667,20 +678,20 @@ ...@@ -667,20 +678,20 @@
:preview-src-list="images"> :preview-src-list="images">
</el-image> </el-image>
</div> </div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)" v-if="seeType==0"></span> <span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)" v-if="seeType!=1"></span>
</div> </div>
<div v-if="file.Type==1"> <div v-if="file.Type==1">
<div class="iconfont" <div class="iconfont"
:class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'" :class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@click="showUpLoadFile(file)"></div> @click="showUpLoadFile(file)"></div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)" v-if="seeType==0"></span> <span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)" v-if="seeType!=1"></span>
</div> </div>
<div v-if="file.Type==2"> <div v-if="file.Type==2">
<div class="iconfont icon-excel" @click="showUpLoadFile(file)"></div> <div class="iconfont icon-excel" @click="showUpLoadFile(file)"></div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)" v-if="seeType==0"></span> <span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)" v-if="seeType!=1"></span>
</div> </div>
</template> </template>
<div class="_pic_upload financiaUpload" v-if="seeType==0"> <div class="_pic_upload financiaUpload" v-if="seeType!=1">
<el-upload drag :http-request="uploadFileBtn" :multiple="true" :show-file-list="false" action> <el-upload drag :http-request="uploadFileBtn" :multiple="true" :show-file-list="false" action>
<i class="el-icon-plus avatar-uploader-icon"></i> <i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text">{{$t('active.ld_djscwj')}}</div> <div class="el-upload__text">{{$t('active.ld_djscwj')}}</div>
...@@ -689,7 +700,7 @@ ...@@ -689,7 +700,7 @@
</div> </div>
</div> </div>
<span slot="footer" class="dialog-footer" v-if="seeType==0"> <span slot="footer" class="dialog-footer" v-if="seeType!=1">
<el-button @click="cancelLoss()">取 消</el-button> <el-button @click="cancelLoss()">取 消</el-button>
<el-button style="margin-right: 24px" type="primary" @click="submitOP">确 定</el-button> <el-button style="margin-right: 24px" type="primary" @click="submitOP">确 定</el-button>
</span> </span>
...@@ -843,8 +854,12 @@ export default { ...@@ -843,8 +854,12 @@ export default {
TCID: item.TCID , TCID: item.TCID ,
Id:item.TicketLoassId, Id:item.TicketLoassId,
TCNUM:item.TCNUM, TCNUM:item.TCNUM,
Notes: item.Notes Notes: item.Notes,
DamageStatus:item.DamageStatus
}; };
if(seeType==2){
this.queryData.DamageStatus=1;
}
this.saveMsg=JSON.parse(JSON.stringify(item.FileList)); this.saveMsg=JSON.parse(JSON.stringify(item.FileList));
this.images=[]; this.images=[];
if(this.saveMsg&&this.saveMsg.length>0){ if(this.saveMsg&&this.saveMsg.length>0){
......
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