diff --git a/src/api/SaleOut.js b/src/api/SaleOut.js index 2f50f5a1..e6201cde 100644 --- a/src/api/SaleOut.js +++ b/src/api/SaleOut.js @@ -151,3 +151,19 @@ export function getCustomerOutCount(query) { }) } +// 检查发票是否重复同一门店 +export function checkInvoiceExist(query, query2) { + var params = new URLSearchParams() + if (query !== '' && query !== null && query !== undefined) { + params.append('invoiceNumber', query) // 你要传给后台的参数值 key/value + } + if (query2 !== '' && query2 !== null && query2 !== undefined) { + params.append('repositoryId', query2) // 你要传给后台的参数值 key/value + } + return request({ + url: '/saleOut/checkInvoiceExist', + method: 'post', + data: params + }) +} + diff --git a/src/lang/en.js b/src/lang/en.js index 58c0c325..c97d8a36 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -571,7 +571,7 @@ export default { quantity: 'quantity' }, searchSaleOrderReport: { - id: 'serial no.', + id: 'no.', name: 'name', money: 'amount', discountMoney: 'discount', @@ -4086,8 +4086,8 @@ export default { fjf: 'additional charge', cbj: 'cost price', fx: 'direction', - transferReceipt: 'branch received company deposit', - transferExpense: 'company received branch deposit', + transferReceipt: 'branch received company', + transferExpense: 'company received branch', lrqcsj: 'input beginning data', ygssmdm: 'employee affiliated branch' }, @@ -4422,6 +4422,9 @@ export default { ecfqzzdywly: 'The second installment is only for non-sourced', hzje: 'Aggregate amount', isSecondApplyResult: 'Second installment survey', - gwpbslyyxsht: 'The item is not from a sales contract' + gwpbslyyxsht: 'The item is not from a sales contract', + bcskyw: 'Actually received is wrong', + qxxzdc: 'please select out battery', + fphcf: 'Duplicate invoice number' } } diff --git a/src/lang/zh.js b/src/lang/zh.js index ef24cfd1..38d761ab 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -4422,6 +4422,9 @@ export default { ecfqzzdywly: '二次分期只针对于无来源', hzje: '汇总金额', isSecondApplyResult: '二次分期调查', - gwpbslyyxsht: '该物品不是来源于销售合同' + gwpbslyyxsht: '该物品不是来源于销售合同', + bcskyw: '本次收款有误', + qxxzdc: '请先选择出库电池', + fphcf: '发票号重复' } } diff --git a/src/views/InstallmentApply/InstallmentApplyList.vue b/src/views/InstallmentApply/InstallmentApplyList.vue index 1b53e8a1..78a0dcff 100644 --- a/src/views/InstallmentApply/InstallmentApplyList.vue +++ b/src/views/InstallmentApply/InstallmentApplyList.vue @@ -340,7 +340,7 @@ export default { // 表格识别 tableKey: 0, // 加载表格 - listLoading: true, + listLoading: false, // 采购申请查询加展示参数 getemplist: { pageNum: 1, @@ -691,7 +691,7 @@ export default { const regionIds = this.$store.getters.regionId console.log(regionIds) // 物料需求计划列表数据 - // this.listLoading = true + this.listLoading = true const needdata = await (applylist(this.getemplist).then(res => { return res })) diff --git a/src/views/OutSourcing/AddOutSourcing.vue b/src/views/OutSourcing/AddOutSourcing.vue index cab16c0d..d0271889 100644 --- a/src/views/OutSourcing/AddOutSourcing.vue +++ b/src/views/OutSourcing/AddOutSourcing.vue @@ -170,7 +170,7 @@ - +