diff --git a/src/api/oa/erp/contractInfo/types.ts b/src/api/oa/erp/contractInfo/types.ts index 3ca2f64..567a7f7 100644 --- a/src/api/oa/erp/contractInfo/types.ts +++ b/src/api/oa/erp/contractInfo/types.ts @@ -94,6 +94,11 @@ export interface ContractInfoVO { */ oneCustomerId: string | number; + /** + * 甲方公司名称 + */ + oneCustomerName?: string; + /** * 甲方授权代表 */ diff --git a/src/api/oa/erp/finInvoiceDetail/types.ts b/src/api/oa/erp/finInvoiceDetail/types.ts index b49da0f..0650f51 100644 --- a/src/api/oa/erp/finInvoiceDetail/types.ts +++ b/src/api/oa/erp/finInvoiceDetail/types.ts @@ -39,6 +39,11 @@ export interface FinInvoiceDetailVO { */ totalPrice: number; + /** + * 金额(不含税) + */ + totalPriceNoTax: number; + /** * 税率/征收率,默认13% */ @@ -92,6 +97,11 @@ export interface FinInvoiceDetailForm extends BaseEntity { */ totalPrice?: number; + /** + * 金额(不含税) + */ + totalPriceNoTax?: number; + /** * 税率/征收率,默认13% */ @@ -141,6 +151,11 @@ export interface FinInvoiceDetailQuery extends PageQuery { */ totalPrice?: number; + /** + * 金额(不含税) + */ + totalPriceNoTax?: number; + /** * 税率/征收率,默认13% */ diff --git a/src/api/oa/erp/finInvoiceInfo/index.ts b/src/api/oa/erp/finInvoiceInfo/index.ts index 44d1236..62c6460 100644 --- a/src/api/oa/erp/finInvoiceInfo/index.ts +++ b/src/api/oa/erp/finInvoiceInfo/index.ts @@ -89,7 +89,7 @@ export function getErpFinInvoiceInfoList (query) { * 查询开票信息详细 * @param invoiceId */ -export const getContractPaymentMethodList = (contractId: string | number): AxiosPromise => { +export const getContractPaymentMethodList = (contractId: string | number): AxiosPromise => { return request({ url: '/oa/erp/finInvoiceInfo/getContractPaymentMethodList/' + contractId, method: 'get' diff --git a/src/api/oa/erp/finInvoiceInfo/types.ts b/src/api/oa/erp/finInvoiceInfo/types.ts index 0741ba3..80ca085 100644 --- a/src/api/oa/erp/finInvoiceInfo/types.ts +++ b/src/api/oa/erp/finInvoiceInfo/types.ts @@ -141,6 +141,11 @@ export interface FinInvoiceInfoVO { */ remark: string; + /** + * 发票附件ID,多个以,隔开 + */ + ossId?: string; + /** * 提前开票原因 */ @@ -170,6 +175,21 @@ export interface FinInvoiceInfoVO { * 发起日期 */ issueDate?: string; + + /** + * 合同编号 + */ + contractCode?: string; + + /** + * 有无合同(1有 2无) + */ + contractFlag?: string; + + /** + * 开票明细列表 + */ + erpFinInvoiceDetailVoList?: Array; } export interface FinInvoiceInfoForm extends BaseEntity { @@ -313,6 +333,11 @@ export interface FinInvoiceInfoForm extends BaseEntity { */ remark?: string; + /** + * 发票附件ID,多个以,隔开 + */ + ossId?: string; + /** * 提前开票原因 */ @@ -343,6 +368,16 @@ export interface FinInvoiceInfoForm extends BaseEntity { */ issueDate?: string; + /** + * 合同编号 + */ + contractCode?: string; + + /** + * 有无合同(1有 2无) + */ + contractFlag?: string; + /** * 开票明细列表 */ diff --git a/src/views/oa/erp/contractInfo/orderActivate.vue b/src/views/oa/erp/contractInfo/orderActivate.vue index 1d2fc21..51800f1 100644 --- a/src/views/oa/erp/contractInfo/orderActivate.vue +++ b/src/views/oa/erp/contractInfo/orderActivate.vue @@ -181,7 +181,7 @@ - + diff --git a/src/views/oa/erp/finInvoiceInfo/edit.vue b/src/views/oa/erp/finInvoiceInfo/edit.vue index 2c0aa24..f4eb6af 100644 --- a/src/views/oa/erp/finInvoiceInfo/edit.vue +++ b/src/views/oa/erp/finInvoiceInfo/edit.vue @@ -18,7 +18,7 @@ - + @@ -166,7 +166,6 @@ prop="ossId" v-if="routeParams.type === 'update' || routeParams.type === 'view' || routeParams.type === 'approval'" > - 开票明细
- 新增明细 - 新增明细 + 删除
- + @@ -224,30 +237,53 @@ /> - + - + + + + - -