update 到账开票、打包管理,开票新增阶段增加发票附件字段完善回显

This commit is contained in:
danshihao
2024-03-06 10:16:38 +08:00
parent 3bc7a8b081
commit 4238935f1b
2 changed files with 11 additions and 2 deletions
@@ -191,7 +191,7 @@ export default {
this.getMailContactPostalCode() this.getMailContactPostalCode()
this.visible = true this.visible = true
this.$nextTick(() => { this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model, 'invoiceAmount', 'tax','taxRate', 'noTaxAmount', 'billNo', 'billDate', 'remark')) this.form.setFieldsValue(pick(this.model, 'invoiceAmount', 'tax','taxRate', 'noTaxAmount', 'billNo', 'billDate', 'remark', 'invoiceFileId'))
this.taxRate = this.form.getFieldValue('taxRate') this.taxRate = this.form.getFieldValue('taxRate')
}) })
}, },
@@ -72,6 +72,14 @@
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
<a-row>
<a-col>
<div class="stage">
<div class="stage-title">发票附件:</div>
<div class="stage-content"><preview-file :file-id="item.invoiceFileId"></preview-file></div>
</div>
</a-col>
</a-row>
</div> </div>
</template> </template>
<a-empty v-else></a-empty> <a-empty v-else></a-empty>
@@ -93,10 +101,11 @@
import InvoicingModule from './InvoicingModule' import InvoicingModule from './InvoicingModule'
import { payBillList, revokeInvoice } from '../../../../api/incomePaymentsApi' import { payBillList, revokeInvoice } from '../../../../api/incomePaymentsApi'
import {ajaxGetDictItems} from '@api/api' import {ajaxGetDictItems} from '@api/api'
import PreviewFile from '@comp/jero/PreviewFile'
export default { export default {
name: 'InvoicingStageModule', name: 'InvoicingStageModule',
components: { InvoicingModule }, components: {PreviewFile, InvoicingModule },
provide: {}, provide: {},
props: { props: {
// 项目id // 项目id