Commit 7529c0db authored by 黄奎's avatar 黄奎

页面修改

parent 69e450d9
......@@ -295,11 +295,11 @@
<i @click="goUrl('QuotationAduit',item,1)" class="iconfont icon-view"></i>
</el-tooltip>
</span>
<!-- <span style="background:#85ce61; " class="newAopbdd" @click="showDownLoad(item)">
<el-tooltip class="item" effect="dark" content="下载" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-bb-xiazai"></i>
<span style="background:#85ce61; " class="newAopbdd" @click="copyOffer(item)">
<el-tooltip class="item" effect="dark" content="复制" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-copy"></i>
</el-tooltip>
</span> -->
</span>
</div>
</div>
</li>
......@@ -537,6 +537,29 @@
},
},
methods: {
//复制报价单
copyOffer(item) {
var that = this;
var tipMsg = "是否要复制【" + item.Title + "】此报价单?";
that.Confirm(tipMsg, function () {
let offerMsg = {
OldOfferId: item.OfferId,
};
that.loading = true;
that.apipost(
"travel_post_CopyTravelOffer", offerMsg,
res => {
if (res.data.resultCode == 1) {
that.getList();
that.Success(res.data.message);
} else {
that.loading = false;
that.Error(res.data.message);
}
},
);
});
},
UploadAttachment(files) {
this.myfile = files.file;
},
......
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