Commit c1ef19eb authored by liudong1993's avatar liudong1993

1

parent df2c984a
...@@ -1161,6 +1161,7 @@ ...@@ -1161,6 +1161,7 @@
</el-option> </el-option>
</el-select> </el-select>
</p> </p>
<p>注意:如果修改为不同币种的账户,需修改单据的汇率</p>
</div> </div>
</el-form> </el-form>
......
...@@ -1099,7 +1099,7 @@ ...@@ -1099,7 +1099,7 @@
<div v-if="file.Type==1"> <div v-if="file.Type==1">
<div class="iconfont _wenjian_P" <div class="iconfont _wenjian_P"
: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="showUpLoadFileT(file)"> @click="showUpLoadFile(file)">
</div> </div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span> <span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
...@@ -1146,7 +1146,7 @@ ...@@ -1146,7 +1146,7 @@
<div class="iconfont _wenjian_P" <div class="iconfont _wenjian_P"
style="line-height: 80px;" style="line-height: 80px;"
: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="showUpLoadFileT(file)"> @click="showUpLoadFile(file)">
</div> </div>
</div> </div>
</template> </template>
...@@ -1169,7 +1169,7 @@ ...@@ -1169,7 +1169,7 @@
<div class="iconfont _wenjian_P" <div class="iconfont _wenjian_P"
style="line-height: 80px;" style="line-height: 80px;"
: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="showUpLoadFileT(file)"> @click="showUpLoadFile(file)">
</div> </div>
<span class="iconfont icon-guanbi1" <span class="iconfont icon-guanbi1"
v-if="(GetDetail.CreateBy==userInfo.EmployeeId||GetDetail.InvoiceExamineBy==userInfo.EmployeeId)&&GetDetail.InvoiceState!=2" v-if="(GetDetail.CreateBy==userInfo.EmployeeId||GetDetail.InvoiceExamineBy==userInfo.EmployeeId)&&GetDetail.InvoiceState!=2"
...@@ -2571,24 +2571,6 @@ ...@@ -2571,24 +2571,6 @@
this.saveMsg.splice(i, 1); this.saveMsg.splice(i, 1);
} }
}, },
showUpLoadFileT(i) { // 预览上传文件
if (i.Type == 3) {
this.picObj.push(i.Url);
this.imgList.push(i.Url);
this.picIsShow = true;
// this.hideFlashMan = true;
} else {
if (i.Content.substring(i.Content.lastIndexOf('.') + 1, i.Content.length).toUpperCase() == 'PDF') {
this.previewPDF(i.Url)
} else {
let dom = document.querySelector("#groupTourOrder_DownLoad");
dom.href = i.Url;
dom.click();
// window.open("https://view.officeapps.live.com/op/view.aspx?src="+i.Url)
}
}
},
showUpLoadFile(i) { // 预览上传文件 showUpLoadFile(i) { // 预览上传文件
if (i.Content.substring(i.Content.lastIndexOf('.') + 1, i.Content.length).toUpperCase() == 'PDF') { if (i.Content.substring(i.Content.lastIndexOf('.') + 1, i.Content.length).toUpperCase() == 'PDF') {
......
...@@ -684,6 +684,7 @@ ...@@ -684,6 +684,7 @@
</el-option> </el-option>
</el-select> </el-select>
</p> </p>
<p>注意:如果修改为不同币种的账户,需修改单据的汇率</p>
</div> </div>
</el-form> </el-form>
......
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