|
...
|
...
|
@@ -22,7 +22,7 @@ |
|
22
|
22
|
</view>
|
|
23
|
23
|
|
|
24
|
24
|
<view class="section">
|
|
25
|
|
- <view class="row"><text class="label">撤销确认凭证</text><text class="value act">{{ form.confirmationVoucherFileName }}</text></view>
|
|
|
25
|
+ <view class="row"><text class="label">撤销确认凭证</text><text class="value act" @click="downloadFile(form.confirmationVoucherFileId, form.confirmationVoucherFileName)">{{ form.confirmationVoucherFileName }}</text></view>
|
|
26
|
26
|
</view>
|
|
27
|
27
|
</view>
|
|
28
|
28
|
</scroll-view>
|
|
...
|
...
|
@@ -34,6 +34,7 @@ |
|
34
|
34
|
import { getDetailApi, cancelApi } from '@/api/revoke_list.js'
|
|
35
|
35
|
import Product from './product.vue'
|
|
36
|
36
|
import DetailButtons from '@/components/detail-buttons/index.vue'
|
|
|
37
|
+import { downloadFile } from '@/utils/downloadFile.js'
|
|
37
|
38
|
|
|
38
|
39
|
export default {
|
|
39
|
40
|
name: 'RevokeListDetail',
|
|
...
|
...
|
@@ -111,6 +112,7 @@ export default { |
|
111
|
112
|
uni.setStorageSync(CACHE_KEY, this.getBusinessId())
|
|
112
|
113
|
uni.navigateTo({ url: '/pages/flow/audit_detail' })
|
|
113
|
114
|
},
|
|
|
115
|
+ downloadFile,
|
|
114
|
116
|
onAudit() {
|
|
115
|
117
|
const CACHE_KEY = 'sourceBusinessId'
|
|
116
|
118
|
uni.setStorageSync(CACHE_KEY, this.getBusinessId())
|
...
|
...
|
|