diff --git a/fe/UI.DY.AgGridReport/public/config.js b/fe/UI.DY.AgGridReport/public/config.js
index 3c7a26e8c..95337cd89 100644
--- a/fe/UI.DY.AgGridReport/public/config.js
+++ b/fe/UI.DY.AgGridReport/public/config.js
@@ -1,3 +1,3 @@
-window.SITE_CONFIG['apiURL'] = 'http://192.168.0.157:60029'
+window.SITE_CONFIG['apiURL'] = 'http://dev.ccwin-in.com:60078'
//特殊使用埃驰pc端访问地址(如备料报表)
window.SITE_CONFIG['businessURL'] = 'http://dev.ccwin-in.com:10099'
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/api/api.js b/fe/UI.DY.AgGridReport/src/api/api.js
index ddc912504..4d108f252 100644
--- a/fe/UI.DY.AgGridReport/src/api/api.js
+++ b/fe/UI.DY.AgGridReport/src/api/api.js
@@ -9,5 +9,35 @@ export function getReportPageList(procName, data) {
// 获取 物料
export function getItemCodeList() {
- return axiosUtil.ajax_post(procApi+'Proc_Zheng_InputWhere_ItemCode',{})
-}
\ No newline at end of file
+ return axiosUtil.ajax_post(procApi+'Proc_InputWhere_ItemCode',{})
+}
+
+// 获取 库位
+export function getLocationCodeList() {
+ return axiosUtil.ajax_post(procApi+'Proc_InputWhere_LocationCode',{})
+}
+
+// 获取 发货类型
+export function getDeliverRequestType() {
+ return axiosUtil.ajax_post(procApi+'Proc_InputWhere_DeliverRequest_Type',{})
+}
+
+// 获取 供应商
+export function getSupplierCode() {
+ return axiosUtil.ajax_post(procApi+'Proc_InputWhere_SupplierCode',{})
+}
+
+// 获取 ERP库位
+export function getLocationErpCode() {
+ return axiosUtil.ajax_post(procApi+'Proc_InputWhere_LocationErpCode',{})
+}
+
+// 获取 领料类别
+export function getUnplannedIssueType() {
+ return axiosUtil.ajax_post(procApi+'Proc_InputWhere_UnplannedIssue_Type',{})
+}
+
+// 获取 退料类别
+export function getUnplannedReceiptType() {
+ return axiosUtil.ajax_post(procApi+'Proc_InputWhere_UnplannedReceipt_Type',{})
+}
diff --git a/fe/UI.DY.AgGridReport/src/components/reportPage/index.vue b/fe/UI.DY.AgGridReport/src/components/reportPage/index.vue
index a86670bf6..9ad189ce7 100644
--- a/fe/UI.DY.AgGridReport/src/components/reportPage/index.vue
+++ b/fe/UI.DY.AgGridReport/src/components/reportPage/index.vue
@@ -116,7 +116,7 @@ export default {
},
// 更新表格数据
updateTableData(data){
- this.$refs.AgTable_Ref.updateTableData(data)
+ if(this.$refs.AgTable_Ref)this.$refs.AgTable_Ref.updateTableData(data)
},
// 更新导出数据
updateDownloadData(data){
diff --git a/fe/UI.DY.AgGridReport/src/components/reportPageHeader/index.vue b/fe/UI.DY.AgGridReport/src/components/reportPageHeader/index.vue
index c6c83faab..00c684b50 100644
--- a/fe/UI.DY.AgGridReport/src/components/reportPageHeader/index.vue
+++ b/fe/UI.DY.AgGridReport/src/components/reportPageHeader/index.vue
@@ -79,6 +79,12 @@ import columnFilter from "@/components/columnFilter/index"
import exportExcel from "@/components/exportExcel/index"
import {
getItemCodeList,
+ getLocationCodeList,
+ getDeliverRequestType,
+ getSupplierCode,
+ getLocationErpCode,
+ getUnplannedIssueType,
+ getUnplannedReceiptType
} from '@/api/api'
export default {
name: "reportPageHeader",
@@ -137,13 +143,61 @@ export default {
item.options = []
if(item.type == 'select' && item.optionsProc){
// 物料
- // if(item.optionsProc == 'itemCode'){
- // getItemCodeList().then(res=>{
- // item.options = res
- // item.opL="ItemCode"
- // item.opV="ItemCode"
- // })
- // }
+ if(item.optionsProc == 'itemCode'){
+ getItemCodeList().then(res=>{
+ item.options = res
+ item.opL="ItemCode"
+ item.opV="ItemCode"
+ })
+ }
+ // 库位
+ if(item.optionsProc == 'LocationCode'){
+ getLocationCodeList().then(res=>{
+ item.options = res
+ item.opL="LocationCode"
+ item.opV="LocationCode"
+ })
+ }
+ // 发货类型
+ if(item.optionsProc == 'DeliverRequestType'){
+ getDeliverRequestType().then(res=>{
+ item.options = res
+ item.opL="KEY"
+ item.opV="VALUE"
+ })
+ }
+ // 供应商
+ if(item.optionsProc == 'SupplierCode'){
+ getSupplierCode().then(res=>{
+ item.options = res
+ item.opL="SupplierCode"
+ item.opV="SupplierCode"
+ })
+ }
+ // ERP库位
+ if(item.optionsProc == 'LocationErpCode'){
+ getLocationErpCode().then(res=>{
+ item.options = res
+ item.opL="ErpLocationCode"
+ item.opV="ErpLocationCode"
+ })
+ }
+ // 领料类别
+ if(item.optionsProc == 'UnplannedIssueType'){
+ getUnplannedIssueType().then(res=>{
+ item.options = res
+ item.opL="KEY"
+ item.opV="VALUE"
+ })
+ }
+ // 退料类别
+ if(item.optionsProc == 'UnplannedReceiptType'){
+ getUnplannedReceiptType().then(res=>{
+ item.options = res
+ item.opL="KEY"
+ item.opV="VALUE"
+ })
+ }
// //存储时效控制报表-是否超过时效
// if(item.optionsProc == 'isExceedThreshold'){
// item.options = [
diff --git a/fe/UI.DY.AgGridReport/src/router/index.js b/fe/UI.DY.AgGridReport/src/router/index.js
index 1ca517ef5..316e06b32 100644
--- a/fe/UI.DY.AgGridReport/src/router/index.js
+++ b/fe/UI.DY.AgGridReport/src/router/index.js
@@ -3,6 +3,16 @@ import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import depositSummaryReport from '../views/report/depositSummaryReport.vue'
import depositDetailsReport from '../views/report/depositDetailsReport.vue'
+import InventoryBalanceLocation from '../views/report/InventoryBalanceLocation.vue'
+import ScrapDetail from '../views/report/ScrapDetail.vue'
+import PurchaseReturnSummary from '../views/report/PurchaseReturnSummary.vue'
+import ProductDeliverySummary from '../views/report/ProductDeliverySummary.vue'
+import ProductDeliveryNoPrice from '../views/report/ProductDeliveryNoPrice.vue'
+import orderSummary from '../views/report/orderSummary.vue'
+import UnplannedIssueSummary from '../views/report/UnplannedIssueSummary.vue'
+import UnplannedReceiptSummary from '../views/report/UnplannedReceiptSummary.vue'
+import SupplierDeliver from '../views/report/SupplierDeliver.vue'
+import interfaceError from '../views/report/interfaceError.vue'
Vue.use(VueRouter)
@@ -15,12 +25,84 @@ const routes = [
title:"报表首页",
}
},
+ {
+ path: '/InventoryBalanceLocation',
+ name: 'InventoryBalanceLocation',
+ component: InventoryBalanceLocation,
+ meta:{
+ title:"库存余额报表(按库位)",
+ }
+ },
+ {
+ path: '/ScrapDetail',
+ name: 'ScrapDetail',
+ component: ScrapDetail,
+ meta:{
+ title:"报废明细报表",
+ }
+ },
+ {
+ path: '/PurchaseReturnSummary',
+ name: 'PurchaseReturnSummary',
+ component: PurchaseReturnSummary,
+ meta:{
+ title:"采购退货汇总报表",
+ }
+ },
+ {
+ path: '/ProductDeliverySummary',
+ name: 'ProductDeliverySummary',
+ component: ProductDeliverySummary,
+ meta:{
+ title:"成品发货汇总报表",
+ }
+ },
+ {
+ path: '/ProductDeliveryNoPrice',
+ name: 'ProductDeliveryNoPrice',
+ component: ProductDeliveryNoPrice,
+ meta:{
+ title:"成品发货汇总报表(无价格)",
+ }
+ },
+ {
+ path: '/orderSummary',
+ name: 'orderSummary',
+ component: orderSummary,
+ meta:{
+ title:"订单汇总报表",
+ }
+ },
+ {
+ path: '/UnplannedIssueSummary',
+ name: 'UnplannedIssueSummary',
+ component: UnplannedIssueSummary,
+ meta:{
+ title:"非生产领料汇总报表",
+ }
+ },
+ {
+ path: '/UnplannedReceiptSummary',
+ name: 'UnplannedReceiptSummary',
+ component: UnplannedReceiptSummary,
+ meta:{
+ title:"非生产退料汇总报表",
+ }
+ },
+ {
+ path: '/SupplierDeliver',
+ name: 'SupplierDeliver',
+ component: SupplierDeliver,
+ meta:{
+ title:"供应商发货报表",
+ }
+ },
{
path: '/depositSummaryReport',
name: 'depositSummaryReport',
component: depositSummaryReport,
meta:{
- title:"缴库汇总报表",
+ title:"缴库汇总差异报表",
}
},
{
@@ -30,7 +112,15 @@ const routes = [
meta:{
title:"缴库明细报表",
}
- }
+ },
+ {
+ path: '/interfaceError',
+ name: 'interfaceError',
+ component: interfaceError,
+ meta:{
+ title:"接口错误报表",
+ }
+ },
]
const router = new VueRouter({
diff --git a/fe/UI.DY.AgGridReport/src/views/report/InventoryBalanceLocation.vue b/fe/UI.DY.AgGridReport/src/views/report/InventoryBalanceLocation.vue
new file mode 100644
index 000000000..387050bcf
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/InventoryBalanceLocation.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/views/report/ProductDeliveryNoPrice.vue b/fe/UI.DY.AgGridReport/src/views/report/ProductDeliveryNoPrice.vue
new file mode 100644
index 000000000..2ce4a4fc3
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/ProductDeliveryNoPrice.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/views/report/ProductDeliverySummary.vue b/fe/UI.DY.AgGridReport/src/views/report/ProductDeliverySummary.vue
new file mode 100644
index 000000000..be2f24db5
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/ProductDeliverySummary.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/views/report/PurchaseReturnSummary.vue b/fe/UI.DY.AgGridReport/src/views/report/PurchaseReturnSummary.vue
new file mode 100644
index 000000000..6712b9875
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/PurchaseReturnSummary.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/views/report/ScrapDetail.vue b/fe/UI.DY.AgGridReport/src/views/report/ScrapDetail.vue
new file mode 100644
index 000000000..fa4b7a6ec
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/ScrapDetail.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/views/report/SupplierDeliver.vue b/fe/UI.DY.AgGridReport/src/views/report/SupplierDeliver.vue
new file mode 100644
index 000000000..06a20e56b
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/SupplierDeliver.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/views/report/UnplannedIssueSummary.vue b/fe/UI.DY.AgGridReport/src/views/report/UnplannedIssueSummary.vue
new file mode 100644
index 000000000..1c6c93b02
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/UnplannedIssueSummary.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/views/report/UnplannedReceiptSummary.vue b/fe/UI.DY.AgGridReport/src/views/report/UnplannedReceiptSummary.vue
new file mode 100644
index 000000000..cdae8cee0
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/UnplannedReceiptSummary.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/views/report/depositDetailsReport.vue b/fe/UI.DY.AgGridReport/src/views/report/depositDetailsReport.vue
index 6b2f9f9fc..44405e478 100644
--- a/fe/UI.DY.AgGridReport/src/views/report/depositDetailsReport.vue
+++ b/fe/UI.DY.AgGridReport/src/views/report/depositDetailsReport.vue
@@ -5,7 +5,7 @@
:searchForm="searchForm"
:BottomFixedItem="BottomFixedItem"
:reportName="'缴库明细报表'"
- :procName="'Bin_缴库明细对照'"
+ :procName="'Proc_缴库明细对照'"
>
diff --git a/fe/UI.DY.AgGridReport/src/views/report/depositSummaryReport.vue b/fe/UI.DY.AgGridReport/src/views/report/depositSummaryReport.vue
index 67edbab30..5eebbe77d 100644
--- a/fe/UI.DY.AgGridReport/src/views/report/depositSummaryReport.vue
+++ b/fe/UI.DY.AgGridReport/src/views/report/depositSummaryReport.vue
@@ -4,8 +4,8 @@
:searchConfig="searchConfig"
:searchForm="searchForm"
:BottomFixedItem="BottomFixedItem"
- :reportName="'缴库汇总报表'"
- :procName="'Bin_缴库汇总对照'"
+ :reportName="'缴库汇总差异报表'"
+ :procName="'Proc_缴库汇总差异报表'"
>
@@ -34,12 +34,12 @@ export default {
{ field: 'mes和tyrp差', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
],
searchConfig:[
- {type:'date',prop:'starttime',label:'起始'},
- {type:'date',prop:'endtime',label:'截止'},
+ {type:'date',prop:'beginDate',label:'起始'},
+ {type:'date',prop:'endDate',label:'截止'},
],
searchForm:{
- starttime:"",
- endtime:'',
+ beginDate:"",
+ endDate:'',
},
BottomFixedItem:['mes数量','mes和wms差','tyrp数量','wms数量'],
};
diff --git a/fe/UI.DY.AgGridReport/src/views/report/interfaceError.vue b/fe/UI.DY.AgGridReport/src/views/report/interfaceError.vue
new file mode 100644
index 000000000..798314451
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/interfaceError.vue
@@ -0,0 +1,40 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/UI.DY.AgGridReport/src/views/report/orderSummary.vue b/fe/UI.DY.AgGridReport/src/views/report/orderSummary.vue
new file mode 100644
index 000000000..26a980bb8
--- /dev/null
+++ b/fe/UI.DY.AgGridReport/src/views/report/orderSummary.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
\ No newline at end of file