diff --git a/src/views/statistics/statistics_bang.vue b/src/views/statistics/statistics_bang.vue
index d91eca98..23402cb1 100644
--- a/src/views/statistics/statistics_bang.vue
+++ b/src/views/statistics/statistics_bang.vue
@@ -37,222 +37,466 @@
-
+
+ {{ scope.row.batch }}
-
+
+
+ {{ scope.row.data.产品规格 }}
+
-
+
-
+
-
+
+
+ {{ scope.row.data.棒料成型_count_real }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_ok }}
+
-
+
+
+ {{ scope.row.data.棒料成型_合格率 }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_n_zw }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_n_qp }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_n_zt }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_n_tw }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_n_wq }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_n_d }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_n_nl }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_n_zz }}
+
-
+
+
+ {{ scope.row.data.棒料成型_count_n_qt }}
+
-
+
+
+ {{ scope.row.data.棒料成型_出料人 }}
+
-
+
+
+ {{ scope.row.data.棒料成型_切料人 }}
+
-
-
-
+
+
+ {{ scope.row.data.棒料成型_备注 }}
+
-
+
+
+ {{ scope.row.data.七车间入库_日期 }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count_ok }}
+
-
+
+
+ {{ scope.row.data.七车间入库_合格率 }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count_n_tw }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count_n_qp }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count_n_l }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count_n_w }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count_n_b }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count_n_q }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count_n_zz }}
+
-
+
+
+ {{ scope.row.data.七车间入库_count_n_jz }}
+
-
+
+
+ {{ scope.row.data.七车间入库_车间执行人 }}
+
-
+
+
+ {{ scope.row.data.七车间入库_仓库执行人 }}
+
-
+
+
+ {{ scope.row.data.七车间入库_备注 }}
+
-
+
+
+ {{ scope.row.data.六车间领料_日期 }}
+
-
+
+
+ {{ scope.row.data.六车间领料_count }}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ {{ scope.row.data.六车间_平头_count_real }}
+
+
+
+
+ {{ scope.row.data.六车间_平头_count_n_sd }}
+
+
+
+
+ {{ scope.row.data.六车间_平头_count_n_s }}
+
+
+
+
+ {{ scope.row.data.六车间_平头_日期 }}
+
+
+
+
+ {{ scope.row.data.六车间_平头_操作人 }}
+
+
+
+
+
+ {{ scope.row.data.六车间_粘铁头_count_use }}
+
+
+
+
+ {{ scope.row.data.六车间_粘铁头_count_n_qp }}
+
+
+
+
+ {{ scope.row.data.六车间_粘铁头_count_n_s }}
+
+
+
+
+ {{ scope.row.data.六车间_粘铁头_日期 }}
+
+
+
+
+ {{ scope.row.data.六车间_粘铁头_操作人 }}
+
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_count_use }}
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_合格率 }}
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_count_n_p }}
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_count_n_dt }}
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_count_n_dl }}
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_count_n_zl }}
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_count_n_qp }}
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_count_n_zz }}
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_日期 }}
+
+
+
+
+ {{ scope.row.data.六车间_粗中细磨_操作人 }}
+
+
+
+
+
+ {{ scope.row.data.六车间_抛光_count_use }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_合格率 }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_count_n_dt }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_count_n_dl }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_count_n_qp }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_count_n_hs }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_count_n_s }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_count_n_zz }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_count_n_qt }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_日期 }}
+
+
+
+
+ {{ scope.row.data.六车间_抛光_操作人 }}
+
+
+
+
+
+ {{ scope.row.data.六车间_开槽_count_use }}
+
+
+
+
+
+ {{ scope.row.data.六车间_开槽_hs }}
+
+
+
+
+ {{ scope.row.data.六车间_开槽_日期 }}
+
+
+
+
+ {{ scope.row.data.六车间_开槽_操作人 }}
+
+
+
+
+
+
+
+
+ {{ scope.row.data.成品检验_count }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_n_hs }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_n_qt }}
+
+
+
+
+ {{ scope.row.data.成品检验_日期 }}
+
+
+
+
+ {{ scope.row.data.产品批次编号 }}
+
+
+
+
+ {{ scope.row.data.成品检验_操作人 }}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.data.六车间_批次生产合格率 }}
+
-
-
-
+
+
+ {{ scope.row.data.七车间_批次应出合格率 }}
+
@@ -267,18 +511,19 @@ export default {
name: "chart",
data() {
return {
- query: {
- batch: "",
- date:''
+ params: {
+ batch__contains:'ZJ2',
},
+ query:{
+ last_time:''
+ },
+ apiObj: this.$API.wpm.batchst,
options:[],
tableData:[],
};
},
mounted() {
- let that = this;
- that.getOptions();
- // that.getTableData();
+ this.getOptions();
},
methods: {
//获取物料批次
@@ -295,18 +540,7 @@ export default {
}
});
},
- //获取表格数据
- getTableData(){
- let that = this;
- let obj = {};
- obj.query = that.query;
- that.tableData =[];
- that.$API.bi.dataset.exec.req('batch_search', obj).then((res) => {
- if(res.data2.ds0){
- that.tableData = res.data2.ds0;
- }
- });
- },
+
searchTypeChange(){
this.query.batch = '';
},
@@ -314,7 +548,7 @@ export default {
},
handleQuery(){
- this.getTableData();
+ this.$refs.table.queryData(this.query);
},
},
};
diff --git a/src/views/statistics/statistics_guan.vue b/src/views/statistics/statistics_guan.vue
index e2bd7311..f9bb0c0b 100644
--- a/src/views/statistics/statistics_guan.vue
+++ b/src/views/statistics/statistics_guan.vue
@@ -37,237 +37,508 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ ref="table"
+ :apiObj="apiObj"
+ :params="params"
+ :query="query"
+ id="exportDiv"
+ stripe
+ >
+
+
+ {{ scope.row.产品批次编号 }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.data.产品规格 }}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.data.管料成型_count_real }}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.data.管料成型_count_ok }}
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.data.管料成型_合格率 }}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ {{ scope.row.data.管料成型_count_n_tw }}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.data.管料成型_count_n_js }}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.data.管料成型_count_n_qx }}
+
-
+
+
+ {{ scope.row.data.管料成型_count_n_dl }}
+
-
+
+
+ {{ scope.row.data.管料成型_count_n_pb }}
+
+
+
+
+ {{ scope.row.data.管料成型_count_n_dxt }}
+
+
+
+
+
+ {{ scope.row.data.管料成型_count_n_ty }}
+
+
+
+
+
+
+
+
+ {{ scope.row.data.十车间入库_count }}
+
+
+
+
+ {{ scope.row.data.十车间入库_抽检合格数 }}
+
+
+
+
+ {{ scope.row.data.十车间入库_抽检合格率 }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_pb }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_js }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_zl }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_dl }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_ty }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_zl }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_z }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_dxt }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_hs }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_qx }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_zw }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_qt }}
+
+
+
+
+ {{ scope.row.data.十车间入库_抽检人 }}
+
+
+
+
+
+
+ {{ scope.row.data.十车间入库_日期 }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count }}
+
+
+
+
+ {{ scope.row.data.十车间入库_合格数 }}
+
+
+
+
+ {{ scope.row.data.十车间入库_合格率 }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_js }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_qx }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_dl }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_hs }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_s }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_njx }}
+
+
+
+
+ {{ scope.row.data.十车间入库_count_n_qt }}
+
+
+
+
+
+ {{ scope.row.data.十车间入库_仓库执行人 }}
+
+
+
+
+
+ {{ scope.row.data.管料退火_日期 }}
+
+
+
+
+ {{ scope.row.data.管料退火_count }}
+
+
+
+
+ {{ scope.row.data.管料退火_count_ok }}
+
+
+
+
+ {{ scope.row.data.管料退火_合格率 }}
+
+
+
+
+ {{ scope.row.data.管料退火_count_n_s }}
+
+
+
+
+ {{ scope.row.data.管料退火_count_n_qt }}
+
+
+
+
+ {{ scope.row.data.管料退火_操作人 }}
+
+
+
+
+
+
+ {{ scope.row.data.六车间领料_日期 }}
+
+
+
+
+ {{ scope.row.data.六车间领料_count }}
+
+
+
+
+ {{ scope.row.data.六车间领料_仓库执行人 }}
+
+
+
+
+ {{ scope.row.data.六车间领料_车间执行人 }}
+
+
+
+
+ {{ scope.row.data.六车间领料_备注 }}
+
+
+
+
+
+
+ {{ scope.row.data.六车间_开槽_count_real }}
+
+
+
+
+ {{ scope.row.data.六车间_开槽_合格率 }}
+
+
+
+
+ {{ scope.row.data.六车间_开槽_count_n_d }}
+
+
+
+
+ {{ scope.row.data.六车间_开槽_count_n_s }}
+
+
+
+
+ {{ scope.row.data.六车间_开槽_count_n_dl }}
+
+
+
+
+ {{ scope.row.data.六车间_开槽_count_n_hx }}
+
+
+
+
+
+
+
+ {{ scope.row.data.六车间_开槽_日期 }}
+
+
+
+
+ {{ scope.row.data.六车间_开槽_操作人 }}
+
+
+
+
+
+
+
+
+
+ {{ scope.row.data.成品检验_count }}
+
+
+
+
+ {{ scope.row.data.成品检验_合格率 }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_hs }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_qx }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_zw }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_bp }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_w }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_dxt }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_jz }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_z }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_ty }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_d }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_s }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_d }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_sl }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_qt }}
+
+
+
+
+ {{ scope.row.data.成品检验_日期 }}
+
+
+
+
+ {{ scope.row.data.成品检验_检验人 }}
+
+
+
+
+
+
+ {{ scope.row.data.成品检验_count }}
+
+
+
+
+ {{ scope.row.data.成品检验_合格率 }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_n_hs }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_n_zw }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_n_qx }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_n_jz }}
+
+
+
+
+ {{ scope.row.data.成品检验_count_n_qt }}
+
+
+
+
+ {{ scope.row.data.成品检验_日期 }}
+
+
+
+
+ {{ scope.row.data.成品检验_检验人 }}
+
+
+
+
+
+ {{ scope.row.data.六车间_批次生产合格率 }}
+
+
+