feature-JimuReport-1106-yjl
sunzehua 4 weeks ago
parent 77dbee2dd6
commit bd261fe435

@ -31,11 +31,12 @@ const CategoryData = [
const bankList = ref([]) as any
const customerList = ref([]) as any
import {
GetControllerClientList,GetCustomerServiceList
GetCustomerServiceList
} from '/@/views/operation/seaexport/api/BookingLedger'
import { GetClientBankList, GetOrgList } from './api'
import { GetFeeCurrencySelectList,GetFeeCodeSelectList,GetClientListByCode } from '/@/api/common'
import { GetFeeCurrencySelectList,GetFeeCodeSelectList,GetClientListByCode,GetControllerClientList } from '/@/api/common'
export const searchFormSchema: FormSchema[] = [
{
field: 'applicationNO',

@ -592,9 +592,9 @@ function addDetailed() {
customerId: item.customerId
})
})
const queryDataStr = JSON.parse(queryData.value.queryCondition)
const queryDataStr1 = JSON.parse(queryData.value.queryCondition)
const arr = [] as any
queryDataStr.forEach(item => {
queryDataStr1.forEach(item => {
if (item.FieldName == 'feeType') {
arr.push(item)
}

@ -656,7 +656,6 @@ const bottomFormEdit = [
{
label: '客户名称',
field: 'customerName',
required: true,
component: 'DEdit',
colProps: { span: 4 },
componentProps: (e) => {

@ -199,3 +199,10 @@ export function Reverse(parameter) {
data: parameter,
})
}
export function ApiQuery(parameter) {
return request({
url: '/feeApi/GeneralInvoice/ApiQuery',
method: 'post',
params: parameter,
})
}

@ -66,10 +66,10 @@
<a-button @click="openRed" v-repeat type="link" v-if="route.query.id">
<span class="iconfont icon-dengjizongshu"></span>冲红
</a-button>
<a-button v-repeat type="link" v-if="route.query.id">
<!-- <a-button v-repeat type="link" v-if="route.query.id">
<span class="iconfont icon-youjian"></span>邮件转发
</a-button>
<a-button v-repeat type="link" v-if="route.query.id">
</a-button> -->
<a-button @click="lookInvoice" v-repeat type="link" v-if="route.query.id">
<span class="iconfont icon-ic_search24px"></span>查看发票
</a-button>
<a-button @click="openHand" v-repeat type="link" v-if="route.query.id">
@ -415,7 +415,7 @@ import applyInvoice from './applyInvoice.vue'
import invoiceFile from './invoiceFile.vue'
import { DownOutlined } from '@ant-design/icons-vue'
import {
GetInvoiceCodeList, GetUserListAll, DeleteInvoiceDetail,
GetInvoiceCodeList, GetUserListAll, DeleteInvoiceDetail,ApiQuery,
GeneralInvoiceSave, GeneralInvoiceGet, FreeInvoiceSave, Reverse,
GeneralInvoiceGetList, GeneralInvoiceInitiate, GetClientBankList
} from '../api'
@ -816,6 +816,17 @@ const handFlag = ref(false)
function openHand() {
handFlag.value = true
}
function lookInvoice(){
loading.value = true
ApiQuery({id:route.query.id}).then(res=>{
if(res.succeeded){
window.open(res.data.pdfUrl)
}
loading.value = false
}).catch(()=>{
loading.value = false
})
}
const invoiceFileRef = ref('')
function openFile() {
invoiceFileRef.value.init()

Loading…
Cancel
Save