- 领料单编号:
-
+
+
+ 创建时间:
+
查询
领料确认
-
+
@@ -41,44 +53,44 @@
-
+
{{ scope.row.名称 }}
-
+
{{ scope.row.图号或型号 || '—' }}
-
+
{{ scope.row.规格 || '—' }}
-
+
{{ scope.row.总数量 }}
-
+
-
+
{{ scope.row.备件数量 }}
-
+
{{ scope.row.货位存量1 }}
-
+
{{ scope.row.出库数量1 }}
@@ -96,12 +108,12 @@
-
+
{{ scope.row.机床图号 }}
-
+
{{ scope.row.组号 }}
@@ -256,6 +268,7 @@ export default {
name: 'MaterialOut',
data() {
return {
+ dateRange: '',
multipleSelection1: [],
multipleSelection: [],
pickingListNum: '', // 领料单流水号
@@ -531,9 +544,10 @@ export default {
},
// 查询领料单列表
searchList() {
- let check
+ let check, check1
this.pickingListNumber ? check = 1 : check = 0
- searchList(this.pageCurrent3, this.pageSize3, check, this.pickingListNumber).then(response => {
+ this.dateRange ? check1 = 1 : (check1 = 0, this.dateRange = '')
+ searchList(this.pageCurrent3, this.pageSize3, check, this.pickingListNumber, check1, this.dateRange[0], this.dateRange[1]).then(response => {
this.pickListTable1 = response.data.rows
this.total3 = response.data.total
})
@@ -562,9 +576,11 @@ export default {
if (res.data[i].请购单明细流水号 !== 0 && res.data[i].请购单明细流水号 !== '' && res.data[i].请购单明细流水号 !== null) {
res.data[i].货位存量1 = res.data[i].货位存量
}
+ if (res.data[i].货位存量1 > res.data[i].总数量) {
+ res.data[i].出库数量 = res.data[i].总数量
+ }
}
this.pickListTable2 = res.data
- console.log(this.pickListTable2, 111)
})
},
tableRowClassName({ row }) {
diff --git a/src/views/Inventory/PurchaseInRecord/index.vue b/src/views/Inventory/PurchaseInRecord/index.vue
index 7be537c8..56f9c850 100644
--- a/src/views/Inventory/PurchaseInRecord/index.vue
+++ b/src/views/Inventory/PurchaseInRecord/index.vue
@@ -1,6 +1,6 @@
-
+
-
+
diff --git a/src/views/Inventory/PurchaseOutRecord/index.vue b/src/views/Inventory/PurchaseOutRecord/index.vue
index dfdb79a7..0a3af739 100644
--- a/src/views/Inventory/PurchaseOutRecord/index.vue
+++ b/src/views/Inventory/PurchaseOutRecord/index.vue
@@ -1,6 +1,6 @@
-
+
查询
- 导出
+ 导出
-
+
@@ -75,7 +75,7 @@
{{ scope.row.领料人 }}
-
+
{{ scope.row.出库时间 ? scope.row.出库时间.split(' ')[0] : '-' }}
@@ -102,6 +102,7 @@ export default {
name: 'PurchaseOutRecord',
data() {
return {
+ loading_export: false,
projectValue: '', // 项目名称
project: [],
machineValue: '',
@@ -132,7 +133,8 @@ export default {
methods: {
// EXCEL 导出
// 姜福壮
- exportExcel() {
+ async exportExcel() {
+ this.loading_export = true
let check1, check2, check3, check4, check5, check6, check7
this.projectValue ? check1 = 1 : check1 = 0
this.machineValue ? check2 = 1 : check2 = 0
@@ -157,8 +159,11 @@ export default {
param[12] = ['出库时间_check', check7]
param[13] = ['出库开始时间', this.outTime[0]]
param[14] = ['出库结束时间', this.outTime[1]]
- var Data = this.CreateData('00', '报表_采购部仓库_出库记录_查询', param)
- this.exportExcel_NPOI(Data)
+ var Data = this.CreateData('2001', '报表_采购部仓库_出库记录_查询', param)
+ await this.exportExcel_NPOI(Data)
+ setTimeout(() => {
+ this.loading_export = false
+ }, 5000)
},
fetchData() {
initMachineProject().then(response => {
diff --git a/src/views/ManufacturingCenter/ProjectPlanningManagementNew/index.vue b/src/views/ManufacturingCenter/ProjectPlanningManagementNew/index.vue
index 337cad31..400a7ed3 100644
--- a/src/views/ManufacturingCenter/ProjectPlanningManagementNew/index.vue
+++ b/src/views/ManufacturingCenter/ProjectPlanningManagementNew/index.vue
@@ -22,7 +22,7 @@
查询
-
+
签订日期:
~
@@ -32,203 +32,208 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.项目编号 }}
+
-
- {{ scope.row.项目编号 }}
+
+
+
+ {{ scope.row.项目名称 }}
-
-
-
-
- {{ scope.row.项目名称 }}
-
-
-
-
- {{ scope.row.机床图号 }}
-
-
-
-
- {{ scope.row.机床名称 }}
-
-
-
-
- {{ scope.row.机床数量 }}
-
-
-
-
- {{ scope.row.合同签订日期 !== '1900-01-01' ? scope.row.合同签订日期 : '' }}
-
-
-
-
- {{ scope.row.发货节点 !== '1900-01-01' ? scope.row.发货节点 : '' }}
-
-
-
-
- {{ scope.row.设备预验收节点 !== '1900/1/1' ? scope.row.设备预验收节点 : '' }}
-
-
-
-
- {{ scope.row.安装调试节点 !== '1900/1/1' ? scope.row.安装调试节点 : '' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 确定
- 编辑
- 取消
-
-
-
-
-
-
+
+
+
+ {{ scope.row.机床图号 }}
+
+
+
+
+ {{ scope.row.机床名称 }}
+
+
+
+
+ {{ scope.row.机床数量 }}
+
+
+
+
+ {{ scope.row.合同签订日期 !== '1900-01-01' ? scope.row.合同签订日期 : '' }}
+
+
+
+
+ {{ scope.row.发货节点 !== '1900-01-01' ? scope.row.发货节点 : '' }}
+
+
+
+
+ {{ scope.row.设备预验收节点 !== '1900/1/1' ? scope.row.设备预验收节点 : '' }}
+
+
+
+
+ {{ scope.row.安装调试节点 !== '1900/1/1' ? scope.row.安装调试节点 : '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定
+ 编辑
+ 取消
+
+
+
+
+
+
+
+
+ sadasd
+
@@ -440,61 +445,11 @@ export default {
if (this.time_SignStart !== '' && this.time_SignStart !== null && this.time_SignFinish !== '' && this.time_SignFinish) { this.time_Signcheck = 1 } else { this.time_Signcheck = 0 }
if (this.time_deliveryStart !== '' && this.time_deliveryStart !== null && this.time_deliveryFinish !== '' && this.time_deliveryFinish) { this.time_deliverycheck = 1 } else { this.time_deliverycheck = 0 }
searchtable(this.projectValuecheck, this.projectValue, this.toolNumValuecheck, this.toolNumValue, this.CustomerNameValuecheck, this.CustomerNameValue, this.time_Signcheck, this.time_SignStart, this.time_SignFinish, this.time_deliverycheck, this.time_deliveryStart, this.time_deliveryFinish, this.pageCurrent, this.pageSize).then(response => {
+ console.log(response.data)
if (response.data.total === 0) {
this.loading = false
} else {
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(' ')[0]
- }
- if (response.data.rows[i].发货节点 !== '' && response.data.rows[i].发货节点 !== null) {
- response.data.rows[i].发货节点 = response.data.rows[i].发货节点.split(' ')[0]
- }
- if (response.data.rows[i].设备预验收节点 !== '' && response.data.rows[i].设备预验收节点 !== null) {
- response.data.rows[i].设备预验收节点 = response.data.rows[i].设备预验收节点.split(' ')[0]
- }
- if (response.data.rows[i].安装调试节点 !== '' && response.data.rows[i].安装调试节点 !== null) {
- response.data.rows[i].安装调试节点 = response.data.rows[i].安装调试节点.split(' ')[0]
- }
- if (response.data.rows[i].机床设计完成时间 !== '' && response.data.rows[i].机床设计完成时间 !== null) {
- response.data.rows[i].机床设计完成时间 = response.data.rows[i].机床设计完成时间.split(' ')[0]
- }
- if (response.data.rows[i].采购完成时间 !== '' && response.data.rows[i].采购完成时间 !== null) {
- response.data.rows[i].采购完成时间 = response.data.rows[i].采购完成时间.split(' ')[0]
- }
- if (response.data.rows[i].备料完成时间 !== '' && response.data.rows[i].备料完成时间 !== null) {
- response.data.rows[i].备料完成时间 = response.data.rows[i].备料完成时间.split(' ')[0]
- }
- if (response.data.rows[i].机床生产完成时间 !== '' && response.data.rows[i].机床生产完成时间 !== null) {
- response.data.rows[i].机床生产完成时间 = response.data.rows[i].机床生产完成时间.split(' ')[0]
- }
- if (response.data.rows[i].机床装配完成时间 !== '' && response.data.rows[i].机床装配完成时间 !== null) {
- response.data.rows[i].机床装配完成时间 = response.data.rows[i].机床装配完成时间.split(' ')[0]
- }
- if (response.data.rows[i].机床设计实际完成时间 !== '' && response.data.rows[i].机床设计实际完成时间 !== null) {
- response.data.rows[i].机床设计实际完成时间 = response.data.rows[i].机床设计实际完成时间.split(' ')[0]
- }
- if (response.data.rows[i].采购实际完成时间 !== '' && response.data.rows[i].采购实际完成时间 !== null) {
- response.data.rows[i].采购实际完成时间 = response.data.rows[i].采购实际完成时间.split(' ')[0]
- }
- if (response.data.rows[i].备料实际完成时间 !== '' && response.data.rows[i].备料实际完成时间 !== null) {
- response.data.rows[i].备料实际完成时间 = response.data.rows[i].备料实际完成时间.split(' ')[0]
- }
- if (response.data.rows[i].机床生产实际完成时间 !== '' && response.data.rows[i].机床生产实际完成时间 !== null) {
- response.data.rows[i].机床生产实际完成时间 = response.data.rows[i].机床生产实际完成时间.split(' ')[0]
- }
- if (response.data.rows[i].机床装配实际完成时间 !== '' && response.data.rows[i].机床装配实际完成时间 !== null) {
- response.data.rows[i].机床装配实际完成时间 = response.data.rows[i].机床装配实际完成时间.split(' ')[0]
- }
- if (response.data.rows[i].审图计划开始时间 !== '' && response.data.rows[i].审图计划开始时间 !== null) {
- response.data.rows[i].审图计划开始时间 = response.data.rows[i].审图计划开始时间.split(' ')[0]
- }
- if (response.data.rows[i].审图计划完成时间 !== '' && response.data.rows[i].审图计划完成时间 !== null) {
- response.data.rows[i].审图计划完成时间 = response.data.rows[i].审图计划完成时间.split(' ')[0]
- }
- if (response.data.rows[i].审图实际完成时间 !== '' && response.data.rows[i].审图实际完成时间 !== null) {
- response.data.rows[i].审图实际完成时间 = response.data.rows[i].审图实际完成时间.split(' ')[0]
- }
this.tableData.push({
edit: false,
项目编号: response.data.rows[i].项目编号,
diff --git a/src/views/MarketingCenter/ContractCapitalManagement/index.vue b/src/views/MarketingCenter/ContractCapitalManagement/index.vue
index 763fb8c8..07f307bc 100644
--- a/src/views/MarketingCenter/ContractCapitalManagement/index.vue
+++ b/src/views/MarketingCenter/ContractCapitalManagement/index.vue
@@ -186,7 +186,7 @@
-
+
{{ Number(scope.row.收款金额).toFixed(2) }}
@@ -301,7 +301,9 @@ export default {
num: '',
contractTotal: '',
dialogFormVisiblePeople: false,
- AccountsReceivableVisible: false
+ AccountsReceivableVisible: false,
+ maxnomoney: 0,
+ row2: ''
}
},
created() {
@@ -325,8 +327,8 @@ export default {
}
if (val.length !== 0) {
import('@/vendor/Export2Excel').then(excel => {
- const tHeader = ['合同编号', '项目名称', '客户名称', '付款方式', '合同签订日期', '合同金额(万元)', '已收(万元)', '未收(万元)', '营销经理']
- const filterVal = ['合同编号', '项目名称', '客户名称', '付款方式', '合同签订日期', '合同总金额(万元)', '到账金额(万元)', '未收金额(万元)', '营销经理']
+ const tHeader = ['合同编号', '项目名称', '客户名称', '付款方式', '合同金额(万元)', '已收(万元)', '未收(万元)', '营销经理']
+ const filterVal = ['合同编号', '项目名称', '客户名称', '付款方式', '合同总金额(万元)', '到账金额(万元)', '未收金额(万元)', '营销经理']
const list = val.data
const data = this.formatJson(filterVal, list)
excel.export_json_to_excel({
@@ -464,17 +466,19 @@ export default {
})
},
addMoney(row) {
+ this.maxnomoney = Number(row.未收金额)
this.tableData2 = []
+ this.moneyID = row.资金id
addMoney(row.资金id).then(response => {
if (response.data[0].result !== '0') {
this.$message.success('收款成功')
searchTable2(row.资金id).then(response => {
for (let i = 0; i < response.data.length; i++) {
this.tableData2.push({
- 收款金额: response.data[i].金额,
+ 收款金额: Number(response.data[i].金额).toFixed(2),
收款时间: response.data[i].入账时间,
资金明细ID: response.data[i].资金明细ID,
- 原收款金额: response.data[i].金额,
+ 原收款金额: Number(response.data[i].金额).toFixed(2),
edit: false
})
}
@@ -506,6 +510,7 @@ export default {
}
})
this.getTableData()
+ // this.getTableData2(this.row2)
} else {
this.$message.error('删除失败')
}
@@ -569,6 +574,8 @@ export default {
})
},
getTableData2(row) {
+ console.log(Number(row.未收金额))
+ this.maxnomoney = Number(row.未收金额)
this.tableData2 = []
this.moneyID = row.资金id
searchTable2(this.moneyID).then(response => {
diff --git a/src/views/MarketingCenter/ContractInformationManagement/index.vue b/src/views/MarketingCenter/ContractInformationManagement/index.vue
index ce14739d..4872b6ae 100644
--- a/src/views/MarketingCenter/ContractInformationManagement/index.vue
+++ b/src/views/MarketingCenter/ContractInformationManagement/index.vue
@@ -489,6 +489,7 @@