Browse Source

完善欠款出库--增加查看欠款开票、欠款领票

master
yunuo970428 2 years ago
parent
commit
42dd81cef8
  1. 24
      anrui-buscenter/anrui-buscenter-ui/src/api/tesheshenpi/debtrelease.js
  2. 4
      anrui-buscenter/anrui-buscenter-ui/src/views/teshushenpi/debtrelease/relation/arrearsbillingInfo.vue
  3. 4
      anrui-buscenter/anrui-buscenter-ui/src/views/teshushenpi/debtrelease/relation/arrearscollectionInfo.vue
  4. 4
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/qiankuanchukuFlow/relation/arrearsbillingInfo.vue
  5. 4
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/qiankuanchukuFlow/relation/arrearscollectionInfo.vue

24
anrui-buscenter/anrui-buscenter-ui/src/api/tesheshenpi/debtrelease.js

@ -195,3 +195,27 @@ export function createjrbjdPdf(data) {
})
}
// 欠款开票详情回显
export function DetailsByQKKP(data) {
return request({
url: '/fin/v1/finbillapplication/fetchDetailsBySid/' + data,
method: 'get'
})
}
// 欠款领票详情回显
export function DetailsByQKLP(data) {
return request({
url: '/fin/v1/finbillapplication/fetchDetailsBySid/' + data,
method: 'get'
})
}
// 下载欠款开票审批单
export function createPdf(data) {
return request({
url: '/fin/v1/finbillapplication/createPdf',
method: 'post',
params: data
})
}

4
anrui-buscenter/anrui-buscenter-ui/src/views/teshushenpi/debtrelease/relation/arrearsbillingInfo.vue

@ -204,7 +204,7 @@
</template>
<script>
import { fetchDetailsBySid, createPdf } from '@/api/anruifinmanagement/arrearsbilling'
import { DetailsByQKKP, createPdf } from '@/api/tesheshenpi/debtrelease'
import { getStorage } from '@/utils/auth'
export default {
@ -286,7 +286,7 @@ export default {
methods: {
showInfo(row) {
this.viewTitle = '欠款开票详情'
fetchDetailsBySid(row.sid).then((res) => {
DetailsByQKKP(row.sid).then((res) => {
if (res.success) {
this.formobj = res.data
if (this.formobj.zjApplicationAppendxs.length > 0) {

4
anrui-buscenter/anrui-buscenter-ui/src/views/teshushenpi/debtrelease/relation/arrearscollectionInfo.vue

@ -195,7 +195,7 @@
</template>
<script>
import { fetchDetailsBySid } from '@/api/anruifinmanagement/arrearscollection'
import { DetailsByQKLP } from '@/api/tesheshenpi/debtrelease'
export default {
name: 'ArrearsScollectionInfo',
data() {
@ -272,7 +272,7 @@ export default {
methods: {
showInfo(row) {
this.viewTitle = '欠款领票及领手续'
fetchDetailsBySid(row.sid).then((res) => {
DetailsByQKLP(row.sid).then((res) => {
if (res.success) {
this.formobj = res.data
if (this.formobj.fjApplicationAppendxs.length > 0) {

4
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/qiankuanchukuFlow/relation/arrearsbillingInfo.vue

@ -204,7 +204,7 @@
</template>
<script>
import { fetchDetailsBySid, createPdf } from '@/api/anruifinmanagement/arrearsbilling'
import { DetailsByQKKP, createPdf } from '@/api/tesheshenpi/debtrelease'
import { getStorage } from '@/utils/auth'
export default {
@ -286,7 +286,7 @@ export default {
methods: {
showInfo(row) {
this.viewTitle = '欠款开票详情'
fetchDetailsBySid(row.sid).then((res) => {
DetailsByQKKP(row.sid).then((res) => {
if (res.success) {
this.formobj = res.data
if (this.formobj.zjApplicationAppendxs.length > 0) {

4
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/qiankuanchukuFlow/relation/arrearscollectionInfo.vue

@ -195,7 +195,7 @@
</template>
<script>
import { fetchDetailsBySid } from '@/api/anruifinmanagement/arrearscollection'
import { DetailsByQKLP } from '@/api/tesheshenpi/debtrelease'
export default {
name: 'ArrearsScollectionInfo',
data() {
@ -272,7 +272,7 @@ export default {
methods: {
showInfo(row) {
this.viewTitle = '欠款领票及领手续'
fetchDetailsBySid(row.sid).then((res) => {
DetailsByQKLP(row.sid).then((res) => {
if (res.success) {
this.formobj = res.data
if (this.formobj.fjApplicationAppendxs.length > 0) {

Loading…
Cancel
Save