diff --git a/src/api/model/pum.js b/src/api/model/pum.js index 3dc6ec7a..7ae2d41c 100644 --- a/src/api/model/pum.js +++ b/src/api/model/pum.js @@ -313,5 +313,39 @@ export default { ); } }, + }, + quotation: { + list: { + name: "报价单列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/pum/quotation/`, + data + ); + } + }, + item: { + req: async function(id){ + return await http.get( + `${config.API_URL}/pum/quotation/${id}/`, + ); + } + }, + create: { + name: "新增", + req: async function(data){ + return await http.post( + `${config.API_URL}/pum/quotation/`, + data); + } + }, + delete: { + name: "删除", + req: async function(id){ + return await http.delete( + `${config.API_URL}/pum/quotation/${id}/` + ); + } + }, } } \ No newline at end of file diff --git a/src/views/bigScreen/index_enm_bh.vue b/src/views/bigScreen/index_enm_bh.vue index 4e1af981..a99ad2ad 100644 --- a/src/views/bigScreen/index_enm_bh.vue +++ b/src/views/bigScreen/index_enm_bh.vue @@ -19,7 +19,7 @@
- 本月石灰产量
+ 本月氧化钙产量
{{ (Number(hotData.celec_consume_unit)+Number(dicData.elec_month)).toFixed(2) }} kW·h @@ -221,7 +221,7 @@
{{ (Number(hotData.coal_consume_unit)*1000+Number(dicData.elec_year)*1000).toFixed(2) }} kgce/t @@ -230,7 +230,7 @@
{{ (Number(hotData.cen_consume_unit)).toFixed(2)}}
kgce/t
@@ -1122,16 +1122,17 @@ export default {
that.hotData.cen_consume_unit = Number(ress[0].cen_consume_unit).toFixed(2);
that.hotData.celec_consume_unit =Number(ress[0].celec_consume_unit).toFixed(2);
params.mpoint = mpoint
- total_production = ress[0].total_production;
+ total_production = ress[0].total_production; // 出窑的产量(氧化钙)
return that.$API.enm.mpointstat.list.req(params);
// that.hotData.coal_consume_unit =Number(ress[0].coal_consume_unit).toFixed(2);
}).then((res) => {
if( res.length>0 ){
- let ratio = (Number(res[0].val)/Number(total_production));
+ //
+ let ratio = (Number(res[0].val)/Number(total_production)); //煤粉消耗量/出窑的产量(氧化钙)
if (ratio > 0.135){
that.hotData.coal_consume_unit = 0.130;
}else{
- that.hotData.coal_consume_unit = Number(ratio[0].val)/Number(total_production).toFixed(2);
+ that.hotData.coal_consume_unit = ratio; //煤粉消耗量/出窑的产量(氧化钙)
}
}
}
diff --git a/src/views/pum/quotation.vue b/src/views/pum/quotation.vue
new file mode 100644
index 00000000..7101a691
--- /dev/null
+++ b/src/views/pum/quotation.vue
@@ -0,0 +1,57 @@
+
+