diff --git a/src/config/mork01.js b/src/config/mork01.js new file mode 100644 index 0000000..05518f9 --- /dev/null +++ b/src/config/mork01.js @@ -0,0 +1,141 @@ +/* eslint-disable */ +export const synthesizeInfo = () => { + let res = { + "inAndOutTrend": { + "in": [ + { + "date": "11-13", + "qty": "400.000" + }, + { + "date": "11-12", + "qty": "0" + }, + { + "date": "11-11", + "qty": "220" + }, + { + "date": "11-10", + "qty": "0" + }, + { + "date": "11-09", + "qty": "0" + }, + { + "date": "11-08", + "qty": "100" + }, + { + "date": "11-07", + "qty": "0" + } + ], + "out": [ + { + "date": "11-13", + "qty": "0" + }, + { + "date": "11-12", + "qty": "0" + }, + { + "date": "11-11", + "qty": "120" + }, + { + "date": "11-10", + "qty": "0" + }, + { + "date": "11-09", + "qty": "60" + }, + { + "date": "11-08", + "qty": "80" + }, + { + "date": "11-07", + "qty": "0" + } + ] + }, + "pointUse": { + "total_qty": 960, + "use_qty": 5, + "emp_qty": 955, + "use_percentage": "0.52%" + }, + "toDayInAndOut":{ + "in": { + "total_qty": 4400, + "vehicle_qty": 1119 + }, + "out": { + "total_qty": 220, + "vehicle_qty": 20 + } + }, + "ivtAnalyse": { + "total_qty": 15800.000, + "data": [ + { + "ivt_qty": 12000.000, + "material_name": "测试物料", + "percentage": "75.95%" + }, + { + "ivt_qty": 2000.000, + "material_name": "A345度等径承插口弯头45CCL1 1/8USNA0131010TH", + "percentage": "12.66%" + }, + { + "ivt_qty": 1500.000, + "material_name": "A345度等径承插口弯头45CCL1 5/8USNA0131014", + "percentage": "9.49%" + }, + { + "ivt_qty": 300.000, + "material_name": "A345度等径承插口弯头45CCL1 5/8USNA0131014TH", + "percentage": "1.90%" + }, + { + "ivt_qty": 1500.000, + "material_name": "A345度等径承插口弯头45CCL1 5/8USNA0131014", + "percentage": "9.49%" + }, + { + "ivt_qty": 300.000, + "material_name": "A345度等径承插口弯头45CCL1 5/8USNA0131014TH", + "percentage": "1.90%" + } + ] + }, + "realTask": [ + { + "task_code": 'rw001', + "point_code1": "dw-1-1", + "point_code2": "dw-2-2", + "vehicle_code": "vc123123", + "task_status": "生成" + }, + ], + "unIos": [ + { + "bill_code": 'dj001', + "io_type": "入库", + "bill_type": "待定", + "biz_date": "2025-03-28", + "stor_name": "仓库1", + "total_qty": "100", + "detail_count": "60", + "source_id": "ydh0001", + "bill_status": "生成" + }, + ] + } + return res +} diff --git a/src/pages/modules/index2.vue b/src/pages/modules/index2.vue index 1e3537a..0b70f52 100644 --- a/src/pages/modules/index2.vue +++ b/src/pages/modules/index2.vue @@ -1,6 +1,6 @@