1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- var ServiceWorkhour={
-
- getByMaterial:function(){
- return MethodGetService.methodGet("/fbsWorkshopDispatchList/fbsWorkshopDispatchList/getProductHoursMonthReport");
-
-
-
-
-
-
- },
-
- getDayByMaterial:function(){
- return {
- "物料A 20*30":150,
- "物料B 20*35":250,
- "物料C 20*35":200,
- "物料D 20*35":400,
- };
- },
-
- getStandAndRealByMaterial:function(){
- const list = [];
- list.push({productName:"产品A",standHour:15,realHour:20});
- list.push({productName:"产品B",standHour:14,realHour:10});
- list.push({productName:"产品C",standHour:18,realHour:17});
- list.push({productName:"产品D",standHour:16,realHour:19});
- list.push({productName:"产品E",standHour:13,realHour:12});
- list.push({productName:"产品F",standHour:12,realHour:12});
- list.push({productName:"产品G",standHour:17,realHour:20});
- $.each(list, function(index,item){
- item.label = item.productName;
- item.label1 = "标准工时";
- item.sum1 = item.standHour;
- item.label2 = "实际工时";
- item.sum2 = item.realHour;
- });
- return list;
- },
-
- getDayStandAndRealByMaterial:function(){
- const list = [];
- list.push({productName:"产品A",standHour:15,realHour:20});
- list.push({productName:"产品B",standHour:14,realHour:10});
- list.push({productName:"产品C",standHour:18,realHour:17});
- list.push({productName:"产品D",standHour:16,realHour:19});
- list.push({productName:"产品E",standHour:13,realHour:12});
- list.push({productName:"产品F",standHour:12,realHour:12});
- list.push({productName:"产品G",standHour:17,realHour:20});
- $.each(list, function(index,item){
- item.label = item.productName;
- item.label1 = "标准工时";
- item.sum1 = item.standHour;
- item.label2 = "实际工时";
- item.sum2 = item.realHour;
- });
- return list;
- }
- }
|