feature-JimuReport-1106-yjl
sunzehua 4 weeks ago
parent 26fda31914
commit 8479f4c72f

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<a-modal :footer="false" v-model:visible="visible" title="" width="1050px" :maskClosable="false"> <a-modal :zIndex="1100" :footer="false" v-model:visible="visible" title="" width="1050px" :maskClosable="false">
<div style="padding-bottom: 20px"> <div style="padding-bottom: 20px">
<div style="margin-bottom: 15px;padding-top: 15px;"> <div style="margin-bottom: 15px;padding-top: 15px;">
<a-button type="primary" size="small" @click="print"></a-button> <a-button type="primary" size="small" @click="print"></a-button>

@ -822,13 +822,20 @@ function openTemp() {
}) })
} }
function handleApply() { function handleApply() {
if (!loading.value) {
loading.value = true
ApplyAudit({ ids: [route.query.id] }).then(res => { ApplyAudit({ ids: [route.query.id] }).then(res => {
if (res.succeeded) { if (res.succeeded) {
createMessage.success('操作成功') createMessage.success('操作成功')
getDetail() getDetail()
} else {
loading.value = false
} }
}).catch(() => {
loading.value = false
}) })
} }
}
function handleNew() { function handleNew() {
go(`/invoiceapplyDetail?type=add`) go(`/invoiceapplyDetail?type=add`)
} }
@ -863,13 +870,21 @@ function init() {
}) })
} }
function handleWithdraw() { function handleWithdraw() {
if (!loading.value) {
loading.value = true
Withdraw({ ids: [route.query.id] }).then(res => { Withdraw({ ids: [route.query.id] }).then(res => {
if (res.succeeded) { if (res.succeeded) {
createMessage.success('操作成功') createMessage.success('操作成功')
getDetail() getDetail()
} else {
loading.value = false
} }
}).catch(()=>{
loading.value = false
}) })
} }
}
function handleAddLabel(val) { function handleAddLabel(val) {
tempContent.value += '[' + val.displayName + ']' tempContent.value += '[' + val.displayName + ']'
} }

@ -77,7 +77,7 @@
<div class="content"> <div class="content">
<div class="left"> <div class="left">
<div class="left-top"> <div class="left-top">
<div class="left-top-item" style="padding-right: 100px"> <div class="left-top-item" style="padding-right: 60px">
<editCompent :showEdit="false" ref="editCompentRef" label="发票币别:"> <editCompent :showEdit="false" ref="editCompentRef" label="发票币别:">
<template #text> <template #text>
<span> {{ form.currency }}</span> <span> {{ form.currency }}</span>

@ -6,7 +6,7 @@
<a-tab-pane :key="pdfType[0]" tab="BC文件"></a-tab-pane> <a-tab-pane :key="pdfType[0]" tab="BC文件"></a-tab-pane>
<a-tab-pane :key="pdfType[1]" tab="BC更改文件"></a-tab-pane> <a-tab-pane :key="pdfType[1]" tab="BC更改文件"></a-tab-pane>
</a-tabs> </a-tabs>
<span style="margin:0 20px;font-size: 16px;font-weight: bold;color: black">{{ pdfName }}</span> <span style="margin:0 20px;font-size: 16px;font-weight: bold;color: black;word-break: break-all">{{ pdfName }}</span>
<a-button type="link" @click="handleDownPdf"> <a-button type="link" @click="handleDownPdf">
<i class="iconfont icon-xiazai1"></i> <i class="iconfont icon-xiazai1"></i>
下载pdf文件</a-button> 下载pdf文件</a-button>

@ -274,12 +274,13 @@ function reload() {
getInfo(taskType.value) getInfo(taskType.value)
} }
const router = useRouter(); const router = useRouter();
import { useGo } from '/@/hooks/web/usePage'
const go = useGo()
function FnSee() { function FnSee() {
router.push({ path: '/BookingDetail?id=' + form.value.bookingOrderId }) go({ path: '/BookingDetail?id=' + form.value.bookingOrderId + '&source=edit' })
} }
function FnSee1() { function FnSee1() {
router.push({ path: '/CabinManagementDetails?type=Edit&id=' + form.value.bookingSlotId }) go({ path: '/CabinManagementDetail',query: { id: form.value.bookingSlotId,type:'edit'} })
} }
function copyText(text) { function copyText(text) {
const inputDom = document.createElement('textarea') const inputDom = document.createElement('textarea')

@ -845,7 +845,6 @@ function handledbclick(row) {
handleEdit(row) handleEdit(row)
} }
function handleResetFunc() { function handleResetFunc() {
console.log('handleResetFunc')
} }
function handleEdit(data) { function handleEdit(data) {
// id // id
@ -856,8 +855,6 @@ function handleEdit(data) {
if (item.recvUserId == userid) statusFlag = true if (item.recvUserId == userid) statusFlag = true
}) })
} }
console.log(data, 1111111111)
switch (data.tasK_TYPE) { switch (data.tasK_TYPE) {
case 'VGM_COMPARE': case 'VGM_COMPARE':
// VGM // VGM

Loading…
Cancel
Save