diff --git a/src/api/PurchasingCenter/InvoiceSettlementApprove.js b/src/api/PurchasingCenter/InvoiceSettlementApprove.js
index 6c8898e1..15f3e5ac 100644
--- a/src/api/PurchasingCenter/InvoiceSettlementApprove.js
+++ b/src/api/PurchasingCenter/InvoiceSettlementApprove.js
@@ -25,18 +25,6 @@ export function searchTable2(num) {
}
})
}
-// 入库单明细查询
-export function searchInboundCardDetail(data1) {
- return request({
- url: '',
- method: 'post',
- data: {
- type: '1',
- name: '库存管理_采购入库单_入库单明细_查询数据',
- param: '采购入库单流水号=' + data1
- }
- })
-}
// 执行审批
export function excuteApprove(...data) {
return request({
diff --git a/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue
index 3cd8fa9b..0503011f 100644
--- a/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue
+++ b/src/views/PurchasingCenter/InvoiceSettlementApplication/index.vue
@@ -122,7 +122,7 @@
发票结算申请单明细
发票号:
- 追加入库记录
+ 追加入库记录
@@ -271,7 +271,7 @@
-
+
{{ scope.row.物料名称 ? scope.row.物料名称 : scope.row.零件名称 }}
@@ -536,14 +536,14 @@ export default {
this.searchTable1()
},
submitApply(row) {
- this.$confirm('确认提交申请吗?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- if (this.tableData2.length === 0) {
- this.$message.warning('发票结算申请明细为空!')
- } else {
+ if (this.tableData2.length === 0) {
+ this.$message.warning('发票结算申请明细为空!')
+ } else {
+ this.$confirm('确认提交申请吗?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
submitApply(row.发票结算申请单流水号, this.id).then(response => {
if (response.data[0].result === '1') {
this.$message.success('提交成功')
@@ -551,13 +551,13 @@ export default {
this.tableData2 = []
} else { this.$message.error('提交失败') }
})
- }
- }).catch(() => {
- this.$message({
- type: 'info',
- message: '已取消操作'
+ }).catch(() => {
+ this.$message({
+ type: 'info',
+ message: '已取消操作'
+ })
})
- })
+ }
},
searchTable2(row) {
this.applyOrderNum = row.发票结算申请单流水号
@@ -675,6 +675,9 @@ export default {
message: '已取消操作'
})
})
+ },
+ selectable(row) {
+ return Number(row.本次到票数量) > 0
}
}
}
diff --git a/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue b/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue
index 6b002293..64b91dec 100644
--- a/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue
+++ b/src/views/PurchasingCenter/InvoiceSettlementApprove/index.vue
@@ -42,6 +42,11 @@
+
+
+ {{ scope.row.供应商名称 }}
+
+
{{ scope.row.发票号 }}
@@ -72,7 +77,7 @@
{{ scope.row.审批1时间 ? scope.row.审批1时间 : '—' }}
-
+
{{ scope.row.审批人2姓名 ? scope.row.审批人2姓名 : '未审批' }}
@@ -82,7 +87,7 @@
{{ scope.row.审批2时间 ? scope.row.审批2时间 : '—' }}
-
+
{{ scope.row.审批人3姓名 ? scope.row.审批人3姓名 : '未审批' }}
@@ -92,16 +97,6 @@
{{ scope.row.审批3时间 ? scope.row.审批3时间 : '—' }}
-
-
- {{ scope.row.审批人4姓名 ? scope.row.审批人4姓名 : '未审批' }}
-
-
-
-
- {{ scope.row.审批4时间 ? scope.row.审批4时间 : '—' }}
-
-
审批
@@ -122,111 +117,43 @@
- 采购入库单
+ 发票结算申请单明细
发票号:
-
-
+
+
- {{ scope.row.入库单号 }}
+ {{ scope.row.采购物料名称 || scope.row.离线物料名称 || scope.row.采购零件名称 }}
-
+
- {{ scope.row.入库日期 ? scope.row.入库日期.split(' ')[0] : '—' }}
+ {{ scope.row.采购物料型号 || scope.row.离线物料型号 || scope.row.采购零件图号 }}
-
+
- {{ scope.row.仓库 }}
+ {{ scope.row.采购物料规格 || scope.row.离线物料规格 || scope.row.采购零件规格 }}
+
+
+
+
+ {{ scope.row.供应商名称 }}
- {{ scope.row.合同编号 }}
+ {{ scope.row.采购合同编号 || scope.row.离线合同编号 }}
- {{ scope.row.合同名称 }}
+ {{ scope.row.采购合同名称 || scope.row.离线合同名称 }}
-
+
- {{ scope.row.到货日期 ? scope.row.到货日期.split(' ')[0] : '—' }}
-
-
-
-
- {{ scope.row.业务号 }}
-
-
-
-
- {{ scope.row.供应商 }}
-
-
-
-
- {{ scope.row.业务员 }}
-
-
-
-
- {{ scope.row.业务类型 }}
-
-
-
-
- {{ scope.row.采购类型 }}
-
-
-
-
- {{ scope.row.入库类型 }}
-
-
-
-
- {{ scope.row.备注 }}
-
-
-
- 采购入库单明细
-
-
-
- {{ scope.row.名称 }}
-
-
-
-
- {{ scope.row.型号 }}
-
-
-
-
- {{ scope.row.规格 }}
-
-
-
-
- {{ scope.row.图号 }}
-
-
-
-
- {{ scope.row.数量 }}
-
-
-
-
- {{ scope.row.本币单价 }}
-
-
-
-
- {{ scope.row.sum = scope.row.本币单价 * scope.row.数量 }}
+ {{ scope.row.到票数量 }}
@@ -235,7 +162,7 @@