diff --git a/src/api/TechnologyCenter/CreatePackingList.js b/src/api/TechnologyCenter/CreatePackingList.js
index 7189ec4b..b436f4cc 100644
--- a/src/api/TechnologyCenter/CreatePackingList.js
+++ b/src/api/TechnologyCenter/CreatePackingList.js
@@ -6,7 +6,7 @@ export function projectSelect() {
method: 'post',
data: {
type: '1',
- name: 'PDM_项目名称_查询数据'
+ name: 'PDM_项目名称_查询数据_按时间排序'
}
})
}
diff --git a/src/api/WorkshopProcurement/FundApproval.js b/src/api/WorkshopProcurement/FundApproval.js
index c8ff277f..dc333c70 100644
--- a/src/api/WorkshopProcurement/FundApproval.js
+++ b/src/api/WorkshopProcurement/FundApproval.js
@@ -1,52 +1,63 @@
import request from '@/utils/request'
-// 查询审核/审批/付款
+// 查询审批/付款
export function initApproval(pageCurrent, pageSize, state) {
return request({
url: '',
method: 'post',
data: {
type: '1',
- name: '采购管理_请款表_查询数据_审核审批',
- param: `审核_审批_付款状态=${state}`,
+ name: '车间采购管理_采购合同_审批付款_查询数据',
+ param: `审批_付款状态=${state}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
-// 执行审核/审批/付款
+// 执行审批/付款
export function execApproval(num1, num2, reason, person, state) {
return request({
url: '',
method: 'post',
data: {
type: '2',
- name: '采购管理_请款表_修改数据_审核审批',
- param: `采购科请款流水号=${num1}&审核_审批_付款情况流水号=${num2}&未通过原因=${reason}&操作员编号=${person}&审核_审批_付款状态=${state}`
+ name: '车间采购管理_采购合同_审批付款_修改数据',
+ param: `采购合同请款流水号=${num1}&审批_付款情况流水号=${num2}&未通过原因=${reason}&操作员编号=${person}&审批_付款状态=${state}`
}
})
}
-// 查询车间合同审核/审批/付款
+// 查询车间合同审批/付款
export function initApproval1(pageCurrent, pageSize, state) {
return request({
url: '',
method: 'post',
data: {
type: '1',
- name: '车间采购管理_请款表_查询数据_审核审批',
- param: `审核_审批_付款状态=${state}`,
+ name: '车间采购管理_采购合同_审批付款_查询数据',
+ param: `审批_付款状态=${state}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
-// 执行车间合同审核/审批/付款
+export function searchRequsetFundDetail3(num) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_采购合同_请款明细_查询数据',
+ param: `采购合同请款流水号=${num}`
+ }
+ })
+}
+// 执行车间合同审批/付款
export function execApproval1(num1, num2, reason, person, state) {
return request({
url: '',
method: 'post',
data: {
type: '2',
- name: '采购管理_请款表_修改数据_审核审批',
- param: `采购科请款流水号=${num1}&审核_审批_付款情况流水号=${num2}&未通过原因=${reason}&操作员编号=${person}&审核_审批_付款状态=${state}`
+ name: '车间采购管理_采购合同_审批付款_修改数据',
+ param: `采购合同请款流水号=${num1}&审批_付款情况流水号=${num2}&未通过原因=${reason}&操作员编号=${person}&审批_付款状态=${state}`
}
})
}
diff --git a/src/api/WorkshopProcurement/InvoiceSettlementApplication1.js b/src/api/WorkshopProcurement/InvoiceSettlementApplication1.js
new file mode 100644
index 00000000..fe0d5835
--- /dev/null
+++ b/src/api/WorkshopProcurement/InvoiceSettlementApplication1.js
@@ -0,0 +1,146 @@
+import request from '@/utils/request'
+
+// 查询供应商
+export function searchSupplier() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '采购管理_供应商_查询数据_根据条件'
+ }
+ })
+}
+// 根据条件查发票结算申请单
+export function searchTable1(...group) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_发票结算申请单_查询数据',
+ param: `发票号_check=${group[0]}&发票号=${group[1]}`,
+ Pagination: group[2] + '&' + group[3]
+ }
+ })
+}
+// 编辑发票结算申请单
+export function submitEdit(...group) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_发票结算申请单_修改数据',
+ param: `发票号=${group[0]}&发票金额=${group[1]}&已付款项=${group[2]}&尚欠金额=${group[3]}&税额=${group[4]}&是否费用类=${group[5]}&备注=${group[6]}&发票结算申请单流水号=${group[7]}`
+ }
+ })
+}
+// 删除发票结算申请单
+export function submitDelete(...group) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_发票结算申请单_删除数据',
+ param: `发票结算申请单流水号=${group[0]}`
+ }
+ })
+}
+// 提交申请 发票结算申请单
+export function submitApply(...group) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '车间采购管理_发票结算申请单_提交申请',
+ param: `发票结算申请单流水号=${group[0]}&申请人=${group[1]}`
+ }
+ })
+}
+// 发票结算申请单明细列表
+export function searchTable2(num) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_发票结算申请单明细_查询数据',
+ param: `发票结算申请单流水号=${num}`
+ }
+ })
+}
+// 根据供应商查询采购合同
+export function searchPurchase(data) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_采购合同_查询数据',
+ param: '供应商流水号_check=1&供应商流水号=' + data
+ }
+ })
+}
+// 根据供应商查询离线合同
+export function searchOffline(data) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_离线合同_查询数据',
+ param: '供应商流水号_check=1&供应商流水号=' + data
+ }
+ })
+}
+// 查询采购合同明细
+export function searchPurchaseDetail(data) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_采购合同明细_查询数据',
+ param: '采购合同流水号=' + data
+ }
+ })
+}
+// 查询离线合同明细
+export function searchOfflineDetail(data) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_离线合同明细_查询数据',
+ param: '离线合同流水号=' + data
+ }
+ })
+}
+// 发票结算申请单明细增加-1采购/2离线
+export function addTable2(data, group1, group2, type) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '车间采购管理_发票结算申请单明细_增加数据',
+ param: '发票结算申请单流水号=' + data + '&合同明细流水号组=' + group1 + '&到票数量组=' + group2 + '&合同类型=' + type
+ }
+ })
+}
+// 发票结算申请单明细删除
+export function deleteTable2(data) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '车间采购管理_发票结算申请单明细_删除数据',
+ param: '发票结算申请单明细流水号=' + data
+ }
+ })
+}
diff --git a/src/api/WorkshopProcurement/InvoiceSettlementApprove1.js b/src/api/WorkshopProcurement/InvoiceSettlementApprove1.js
new file mode 100644
index 00000000..84d6c7f6
--- /dev/null
+++ b/src/api/WorkshopProcurement/InvoiceSettlementApprove1.js
@@ -0,0 +1,39 @@
+import request from '@/utils/request'
+
+// 根据条件查发票结算申请单
+export function searchTable1(...group) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_发票结算申请单_查询数据',
+ param: `时间段_check=${group[0]}&开始日期=${group[1]}&结束日期=${group[2]}&是否提交=1`,
+ Pagination: group[3] + '&' + group[4]
+ }
+ })
+}
+// 发票结算申请单明细列表
+export function searchTable2(num) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_发票结算申请单明细_查询数据',
+ param: `发票结算申请单流水号=${num}`
+ }
+ })
+}
+// 执行审批
+export function excuteApprove(...data) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_发票结算申请单_执行审批',
+ param: `发票结算申请单流水号=${data[0]}&人员编号=${data[1]}&审批代号=${data[2]}`
+ }
+ })
+}
diff --git a/src/api/WorkshopProcurement/OfflineContractRequestFund1.js b/src/api/WorkshopProcurement/OfflineContractRequestFund1.js
index 9c14ec59..922c91e3 100644
--- a/src/api/WorkshopProcurement/OfflineContractRequestFund1.js
+++ b/src/api/WorkshopProcurement/OfflineContractRequestFund1.js
@@ -1,27 +1,38 @@
import request from '@/utils/request'
// 查询请款表
-export function searchRequestFund(pageCurrent, pageSize, check1, start, end) {
+export function searchRequestFund(pageCurrent, pageSize, check1, start, end, check2, num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_离线合同_请款_查询数据',
- param: `时间段_check=${check1}&开始时间=${start}&结束时间=${end}`,
+ param: `时间段_check=${check1}&开始时间=${start}&结束时间=${end}&供应商流水号_check=${check2}&供应商流水号=${num}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
-// 查询离线合同待请款信息
-export function searchOfflineContract(num) {
+// 查询供应商
+export function searchSupplier() {
return request({
url: '',
method: 'post',
data: {
type: '1',
- name: '车间采购管理_离线合同_待请款_查询数据',
- param: `供应商流水号=${num}`
+ name: '采购管理_供应商_查询数据_根据条件'
+ }
+ })
+}
+// 查询离线合同待请款信息
+export function searchOfflineContract(check, num) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_离线合同_查询数据',
+ param: `供应商流水号_check=${check}&供应商流水号=${num}`
}
})
}
diff --git a/src/api/WorkshopProcurement/PurchaseContractRequestFund1.js b/src/api/WorkshopProcurement/PurchaseContractRequestFund1.js
new file mode 100644
index 00000000..dac0b585
--- /dev/null
+++ b/src/api/WorkshopProcurement/PurchaseContractRequestFund1.js
@@ -0,0 +1,73 @@
+import request from '@/utils/request'
+
+// 查询请款表
+export function searchRequestFund(pageCurrent, pageSize, check1, start, end, check2, num) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_采购合同_请款_查询数据',
+ param: `时间段_check=${check1}&开始时间=${start}&结束时间=${end}&供应商流水号_check=${check2}&供应商流水号=${num}`,
+ Pagination: pageCurrent + '&' + pageSize
+ }
+ })
+}
+// 查询供应商
+export function searchSupplier() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '采购管理_供应商_查询数据_根据条件'
+ }
+ })
+}
+export function submitRequestFund(contractGroup, sumGroup, supplier, money, person) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '2',
+ name: '车间采购管理_采购合同_请款_增加数据',
+ param: `采购合同流水号组=${contractGroup}&合同总额组=${sumGroup}&供应商流水号=${supplier}&请款金额=${money}&请款人=${person}`
+ }
+ })
+}
+// 查询离线合同待请款信息
+export function searchRequsetFundDetail(num) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_采购合同_请款明细_查询数据',
+ param: `采购合同请款流水号=${num}`
+ }
+ })
+}
+// 取消请款
+export function cancelRequestFund(num) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_采购合同_请款_删除数据',
+ param: `采购合同请款流水号=${num}`
+ }
+ })
+}
+// 查询离线合同待请款信息
+export function searchPurchaseContract(check, num) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间采购管理_采购合同_查询数据',
+ param: `供应商流水号_check=${check}&供应商流水号=${num}`
+ }
+ })
+}
diff --git a/src/icons/svg/InvoiceSettlementApplication1.svg b/src/icons/svg/InvoiceSettlementApplication1.svg
new file mode 100644
index 00000000..6640f8dc
--- /dev/null
+++ b/src/icons/svg/InvoiceSettlementApplication1.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/icons/svg/InvoiceSettlementApprove1.svg b/src/icons/svg/InvoiceSettlementApprove1.svg
new file mode 100644
index 00000000..300ca023
--- /dev/null
+++ b/src/icons/svg/InvoiceSettlementApprove1.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/icons/svg/PurchaseContractRequestFund1.svg b/src/icons/svg/PurchaseContractRequestFund1.svg
new file mode 100644
index 00000000..a5c6b119
--- /dev/null
+++ b/src/icons/svg/PurchaseContractRequestFund1.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/utils/request.js b/src/utils/request.js
index 7b2655fc..0a45cef9 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -13,6 +13,7 @@ export const upload = `http://192.168.1.231:8411/submit/uploadFile.ashx` // Cont
export const upload2 = `http://192.168.1.231:8411/submit/upload2.ashx` // delivery
export const upload3 = `http://192.168.1.231:8411/submit/upload3.ashx` // performancebond
export const uploadInvoiceScan = `http://192.168.1.231:8411/submit/uploadInvoiceScan.ashx` // invoice
+export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoiceScan1.ashx` // invoice(workshop)
export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement
const service = axios.create({
// baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`,
diff --git a/src/views/ManufacturingCenter/GroupMatching/index.vue b/src/views/ManufacturingCenter/GroupMatching/index.vue
index 54545849..cab4d0d6 100644
--- a/src/views/ManufacturingCenter/GroupMatching/index.vue
+++ b/src/views/ManufacturingCenter/GroupMatching/index.vue
@@ -112,7 +112,6 @@
- {{ scope.row.货位存量 }}
+ {{ scope.row.数量 }}
-
+
- {{ scope.row.类型名称 }}
+ {{ scope.row.实际到货数量 }}
+
+
+
+
+ {{ scope.row.到货时间 }}
@@ -177,7 +181,6 @@
{
- console.log(response)
+ for (let i = 0; i < response.data.rows.length; i++) {
+ if (response.data.rows[i].到货时间 !== '' || response.data.rows[i].到货时间 !== null) {
+ response.data.rows[i].到货时间 = response.data.rows[i].到货时间.split(' ', 2)[0]
+ }
+ }
this.tableDataPurchase = response.data.rows
- this.listLoading1 = false
this.total4 = parseInt(response.data.total)
})
searchTable1(this.check, this.entryNameValue, this.check1, this.machine, this.check2, this.groupNum, this.check3, this.year, this.check4, this.month, this.check5, this.time, this.pageCurrent, this.pageSize).then(response => {
- console.log(response)
this.tableData1 = response.data.rows
- this.listLoading2 = false
this.total5 = parseInt(response.data.total)
})
} else {
@@ -946,22 +950,6 @@ export default {
sums[index] = '入库数量'
} else if (index === 7) {
sums[index] = this.totalNum + ' 件'
- // const values = data.map(item => item['入库时间'])
- // console.log(values)
- // if (!values.every(value => value !== '')) {
- // sums[index] = values.reduce((prev, curr) => {
- // const value = curr
- // console.log(value)
- // if (value !== '') {
- // return this.totalNum1 + 1
- // } else {
- // return this.totalNum1
- // }
- // }, '')
- // sums[index] += '件'
- // } else {
- // sums[index] = 'N/A'
- // }
}
})
return sums
diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue
index 1fa02eb3..da0905d4 100644
--- a/src/views/ManufacturingCenter/InitialProduction/index.vue
+++ b/src/views/ManufacturingCenter/InitialProduction/index.vue
@@ -186,7 +186,7 @@
@current-change="handleCurrentChange"/>
- 投产
+ 投产
@@ -350,6 +350,7 @@ export default {
jieguo: 0,
value: '',
title: null,
+ listLoading3: false,
temp: 0,
ComponentflowNumber: '', // 组件零件基本件流水号
TypeflowNumber: '',
@@ -787,6 +788,7 @@ export default {
},
// 投产
production() {
+ this.listLoading3 = true
this.result = 0
if (this.time_machiningFinish === '' || this.time_machiningFinish === null) {
this.$message.error('请输入加工结束时间')
@@ -836,7 +838,9 @@ export default {
this.checked_baitu = false
this.checked_gaonandu = false
this.tableData1 = []
+ this.listLoading3 = false
} else if (response.data[0].result === '0') {
+ this.listLoading3 = false
this.$message.error('投产失败')
}
})
diff --git a/src/views/ManufacturingCenter/PartAssignment/index.vue b/src/views/ManufacturingCenter/PartAssignment/index.vue
index 19203fd9..b286a08d 100644
--- a/src/views/ManufacturingCenter/PartAssignment/index.vue
+++ b/src/views/ManufacturingCenter/PartAssignment/index.vue
@@ -1087,7 +1087,6 @@ export default {
})
},
handleSelectionChange(val) {
- console.log(val)
if (this.PartType === '基本件') {
this.MaterialNum = []
this.BasicPartsNumber = []
@@ -1144,7 +1143,6 @@ export default {
},
purchaseRequisition() {
if (this.RequisitionList !== '') {
- console.log(this.time)
if (this.time !== '' && this.time !== null) {
if (this.BasicPartsNumber.length !== 0 || this.StandardPartsAndOutsourcing.length !== 0) {
this.result = 0
@@ -1152,9 +1150,7 @@ export default {
for (let i = 0; i < this.BasicPartsNumber.length; i++) {
purchaseRequisition(this.RequisitionList, this.projectName, this.projectFloatValue, this.MachineToolNumber, this.machineFloatValue, this.groupName, this.groupFloatValue, this.BasicPartsNumber[i], this.MaterialName[i], this.PartToolNumber[i], this.Material[i], this.NumberOfParts[i], 3, this.time, this.MaterialNum[i], this.ReMarks[i]).then(response => {
this.result += parseInt(response.data[0].result)
- console.log(this.result)
if (this.result === this.BasicPartsNumber.length) {
- console.log(1111)
this.$message.success('请购成功')
searchPart(this.groupFloatValue).then(response => {
this.tableData1 = response.data
diff --git a/src/views/WorkshopProcurement/FundApproval2/index.vue b/src/views/WorkshopProcurement/FundApproval2/index.vue
index a4aadc65..f0af6e1b 100644
--- a/src/views/WorkshopProcurement/FundApproval2/index.vue
+++ b/src/views/WorkshopProcurement/FundApproval2/index.vue
@@ -3,58 +3,44 @@
-
-
- {{ 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.请款金额 }}
+
+
+
+ 查看详情
+
通过
不通过
@@ -195,7 +181,7 @@
+
+
diff --git a/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue b/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue
new file mode 100644
index 00000000..9d1d1cbf
--- /dev/null
+++ b/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue
@@ -0,0 +1,281 @@
+
+
+
+ 申请时间:
+ ~
+
+ 查询
+
+
+
+ 发票结算申请单
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ 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.审批人1姓名 ? scope.row.审批人1姓名 : '未审批' }}
+
+
+
+
+ {{ scope.row.审批1时间 ? scope.row.审批1时间 : '—' }}
+
+
+
+
+ {{ scope.row.审批人2姓名 ? scope.row.审批人2姓名 : '未审批' }}
+
+
+
+
+ {{ scope.row.审批2时间 ? scope.row.审批2时间 : '—' }}
+
+
+
+
+ {{ scope.row.审批人3姓名 ? scope.row.审批人3姓名 : '未审批' }}
+
+
+
+
+ {{ scope.row.审批3时间 ? scope.row.审批3时间 : '—' }}
+
+
+
+
+ 审批
+
+
+
+
+
+
+
+
+
+ 发票结算申请单明细
+ 发票号:
+
+
+
+
+ {{ 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.到票数量 }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/WorkshopProcurement/OfflineContractRequestFund1/index.vue b/src/views/WorkshopProcurement/OfflineContractRequestFund1/index.vue
index b2052f4d..b5c2367b 100644
--- a/src/views/WorkshopProcurement/OfflineContractRequestFund1/index.vue
+++ b/src/views/WorkshopProcurement/OfflineContractRequestFund1/index.vue
@@ -14,6 +14,14 @@
range-separator="~"
start-placeholder="开始日期"
end-placeholder="结束日期"/>
+ 供应商:
+
+
+
-
+
{{ scope.row.供应商名称 }}
@@ -73,15 +81,20 @@
-
-
+
+
{{ scope.row.离线合同编号 }}
-
+
+
+ {{ scope.row.已付金额 }}
+
+
+
{{ scope.row.请款金额 }}
@@ -103,25 +116,26 @@
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"/>
+ 累计合同总额:
+
+ 累计付款:
+
+ 累计欠款:
+
-
+
供应商:
-
+
- 查询
-
+ 查询
+
@@ -133,42 +147,49 @@
{{ scope.row.离线合同名称 }}
-
+
{{ scope.row.供应商名称 }}
-
+
{{ scope.row.采购员 }}
-
-
- {{ scope.row.付款方式内容 }}
-
-
-
+
{{ scope.row.合同总额 }}
+
+
+ {{ scope.row.已付金额 }}
+
+
+
+
+
+
+
- 合计:元
- 确定请款
+ 合计:元
+ 确定请款
-
+
+
diff --git a/src/views/WorkshopProcurement/RequestOutsourcingMaterials/index.vue b/src/views/WorkshopProcurement/RequestOutsourcingMaterials/index.vue
index 296f5255..921c1f13 100644
--- a/src/views/WorkshopProcurement/RequestOutsourcingMaterials/index.vue
+++ b/src/views/WorkshopProcurement/RequestOutsourcingMaterials/index.vue
@@ -281,6 +281,11 @@ export default {
this.contractGroup = []
searchOfflineContract(this.supplierValue).then(response => {
this.tableData01 = response.data
+ this.tableData01.map(v => {
+ this.$set(v, '请款金额', 0)
+ v.请款金额 = v.总价 - v.已付金额
+ return v
+ })
})
} else {
this.$message.error('请选择供应商')