Commit 76374b20 authored by 黄奎's avatar 黄奎

页面修改

parent 98507303
......@@ -300,6 +300,11 @@
<i class="iconfont icon-copy"></i>
</el-tooltip>
</span>
<span style="background:#85ce61;display:none;" class="newAopbdd" @click="downLoadOffer(item)">
<el-tooltip class="item" effect="dark" content="下载" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-bb-xiazai"></i>
</el-tooltip>
</span>
</div>
</div>
</li>
......@@ -793,6 +798,25 @@
this.downLoadMsg.FileName = fileName;
this.downloadBill = true;
},
downLoadOffer(item) {
console.log("item", item);
var downMsg = {
OfferId: item.ID,
};
var fileName = "【" + item.OutDateTime + "】";
if (item.Title) {
if (item.Title.length > 20) {
fileName += item.Title.substring(0, 20);
} else {
fileName += item.Title;
}
}
fileName += ".xls"
this.loading = true;
this.GetLocalFile("quotation_get_DownLoadQuotation", downMsg, fileName, res => {
this.loading = false;
});
},
//报价单下载
DownLoadFile() {
this.downloadBill = false;
......
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