提交 dcd999c2 authored 作者: Ras's avatar Ras

修改收费单-》打印收费单的请求接口

上级 44754dbd
...@@ -244,9 +244,9 @@ ...@@ -244,9 +244,9 @@
<!-- http://lf.lingqingkeji.com:8080 --> <!-- http://lf.lingqingkeji.com:8080 -->
<script> <script>
window._CONFIG = {}; window._CONFIG = {};
window._CONFIG['domianURL'] = 'http://lf.lingqingkeji.com:8080/wmssystem'; // window._CONFIG['domianURL'] = 'http://lf.lingqingkeji.com:8080/wmssystem';
// window._CONFIG['domianURL'] = 'http://nf.lingqingkeji.com:8080/wmssystem'; // window._CONFIG['domianURL'] = 'http://nf.lingqingkeji.com:8080/wmssystem';
// window._CONFIG['domianURL'] = 'http://192.168.2.145:8080/wmssystem'; window._CONFIG['domianURL'] = 'http://192.168.2.145:8080/wmssystem';
window._CONFIG['casPrefixUrl'] = 'http://cas.example.org:8443/cas'; window._CONFIG['casPrefixUrl'] = 'http://cas.example.org:8443/cas';
window._CONFIG['onlinePreviewDomainURL'] = 'http://fileview.jeecg.com/onlinePreview' window._CONFIG['onlinePreviewDomainURL'] = 'http://fileview.jeecg.com/onlinePreview'
window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/static'; window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/static';
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<a-divider type="vertical" /> <a-divider type="vertical" />
<!-- <a @click="handleCopy(record)">打印收费单</a> <!-- <a @click="handleCopy(record)">打印收费单</a>
<a-divider type="vertical" /> --> <a-divider type="vertical" /> -->
<a @click="exportReceivingNotePdf(record)">查看收费单</a> <a @click="exportReceivingNotePdf(record)">打印收费单</a>
<a-divider type="vertical" /> <a-divider type="vertical" />
<a-dropdown> <a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a> <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
...@@ -223,8 +223,10 @@ ...@@ -223,8 +223,10 @@
this.$refs.copyModalForm.disableSubmit = true; this.$refs.copyModalForm.disableSubmit = true;
}, },
exportReceivingNotePdf(record){ exportReceivingNotePdf(record){
let url = `${window._CONFIG['domianURL']}/basedata/iostReceivingNote/exportReceivingNotePdf`; ///basedata/iostReceivingNote/exportReceivingNotePdf
downFile(url, {deliveryRecordId:record.deliveryRecordId}).then((data) => let url = `${window._CONFIG['domianURL']}/basedata/iostReceivingNote/exportReceivingNotePdfDaYin`;
//deliveryRecordId,id
downFile(url, {id:record.id}).then((data) =>
{ {
if (!data) { if (!data) {
this.$message.warning("文件下载失败") this.$message.warning("文件下载失败")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论