diff --git a/src/views/statistics/bxerp/luhaotongji_reya.vue b/src/views/statistics/bxerp/luhaotongji_reya.vue new file mode 100644 index 00000000..a5abb28d --- /dev/null +++ b/src/views/statistics/bxerp/luhaotongji_reya.vue @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + {{ scope.row.总切片数 }} + {{ scope.row.总生产数 }} + + + + + {{scope.row.暗点不合格.含}} + 0 + + + + + {{((scope.row.暗点不合格.含/scope.row.总切片数)*100).toFixed(2) }}% + 0% + + + + + {{scope.row['放大率¢16mm不合格'].含}} + 0 + + + + + {{((scope.row['放大率¢16mm不合格'].含/scope.row.总切片数)*100).toFixed(2) }}% + 0% + + + + + + + {{ index+1 }} + {{ item }} + + + + + + + + + + diff --git a/src/views/statistics/bxerp/ryTestData.vue b/src/views/statistics/bxerp/ryTestData.vue index 586ad58f..0754b8d2 100644 --- a/src/views/statistics/bxerp/ryTestData.vue +++ b/src/views/statistics/bxerp/ryTestData.vue @@ -43,97 +43,97 @@ - - + + {{ scope.row.data.毛坯检测_检测项_放大率16mm }} - + {{ scope.row.data['毛坯检测_缺陷项_放大率¢16mm不合格']?0:1 }} - - + + {{ scope.row.data.毛坯检测_检测项_剪切18mm }} - + {{ scope.row.data.毛坯检测_检测项_剪切值18mm }} - + {{ !scope.row.data['毛坯检测_缺陷项_剪切¢18.3mm不合格']&&!scope.row.data['毛坯检测_缺陷项_剪切¢18.3mm可加工']?1:0 }} - + {{ scope.row.data['毛坯检测_缺陷项_剪切¢18.3mm可加工']?1:0 }} - - + + {{scope.row.data.毛坯检测_缺陷项_暗点合格?scope.row.data.毛坯检测_缺陷项_暗点合格:0 }} - + {{scope.row.data.毛坯检测_缺陷项_暗点不合格?scope.row.data.毛坯检测_缺陷项_暗点不合格:0 }} - - + + {{scope.row.data.毛坯检测_缺陷项_花朵?scope.row.data.毛坯检测_缺陷项_花朵:0 }} - + {{scope.row.data.毛坯检测_缺陷项_花朵重?scope.row.data.毛坯检测_缺陷项_花朵重:0 }} - + {{ scope.row.data.排板_检测项_对边==undefined?scope.row.data.排板_检测项_对边:'' }} - + {{ scope.row.data.装模_检测项_模具号==undefined?scope.row.data.装模_检测项_模具号:'' }} - + {{ scope.row.data.排板_检测项_丝高?scope.row.data.排板_检测项_丝高:0 }} - + - + {{ scope.row.data.排板_检测项_丝高?scope.row.data.排板_检测项_丝高:0 }} - + {{ scope.row.data.排板_检测项_丝高?scope.row.data.排板_检测项_丝高:0 }} - + {{ scope.row.data.排板_检测项_丝高?scope.row.data.排板_检测项_丝高:0 }} - + {{ scope.row.data.装炉压板出炉_压板出炉_日期?scope.row.data.装炉压板出炉_压板出炉_日期:0 }} @@ -148,22 +148,22 @@ {{ scope.row.data.装炉压板出炉_操作项_压板用时?scope.row.data.装炉压板出炉_操作项_压板用时:0 }} - + {{ scope.row.data.装炉压板出炉_压板出炉_操作人?scope.row.data.装炉压板出炉_压板出炉_操作人:0 }} - + {{ scope.row.data.装炉压板出炉_设备编号?scope.row.data.装炉压板出炉_设备编号:0 }} - + {{ scope.row.data.装模_检测项_模具号==undefined?scope.row.data.装模_检测项_模具号:'' }} - + {{ scope.row.data.装炉压板出炉_备注 }} @@ -179,8 +179,8 @@ export default { data() { return { params: { - ordering:'data__成品尺寸检测_批次号', - querys:[[{field:"wm",value:false,compare:"isnull"},{field:"data__has_key",compare:"",value:"成品尺寸检测_批次号"}]], + ordering:'data__装炉压板出炉_批次号', + querys:[[{field:"wm",value:false,compare:"isnull"},{field:"data__has_key",compare:"",value:"装炉压板出炉_批次号"}]], }, query:{ number_contains:'', @@ -195,17 +195,17 @@ export default { methods: { handleQuery(){ let that = this; - let querys = [[{field:"wm",value:false,compare:"isnull"},{field:"data__has_key",compare:"",value:"成品尺寸检测_批次号"}]]; + let querys = [[{field:"wm",value:false,compare:"isnull"},{field:"data__has_key",compare:"",value:"装炉压板出炉_批次号"}]]; let obj = {},obj1 = {},obj2 = {},obj3 = {}; - obj.field = 'data__成品尺寸检测_批次号'; + obj.field = 'data__装炉压板出炉_批次号'; obj.value = that.query.batch__contains; obj.compare = ''; - obj1.field = 'data__成品尺寸检测_日期'; + obj1.field = 'data__装炉压板出炉_日期'; obj1.value = that.query.last_time__gte; obj1.compare = 'gte'; - obj2.field = 'data__成品尺寸检测_日期'; + obj2.field = 'data__装炉压板出炉_日期'; obj2.value = that.query.last_time__lte; obj2.compare = 'lte';