diff --git a/src/views/bigScreen/index_enm.vue b/src/views/bigScreen/index_enm.vue
index 32b2e41c..946fafdc 100644
--- a/src/views/bigScreen/index_enm.vue
+++ b/src/views/bigScreen/index_enm.vue
@@ -259,7 +259,7 @@
水泥包装工序电耗
- {{(Number(hotData.bz_elec_consume_unit) + Number(dicData.b_snbz_elec)).toFixed(2) }}
+ {{(Number(hotData.dz_elec_consume_unit)).toFixed(2) }}
kW·h/t
@@ -452,6 +452,7 @@ export default {
sn_cen_consume_unit: 0, //水泥综合能耗
sn_elec_consume_unit: 0,//水泥分布电耗
bz_elec_consume_unit: 0,//水泥包装分布电耗
+ dz_elec_consume_unit: 0,//袋装水泥分布电耗
},
dicData:{
b_sl_elec:0,
@@ -1179,9 +1180,6 @@ export default {
that.hotData.celec_consume_unit =Number(ress[0].celec_consume_unit).toFixed(2);
that.hotData.coal_consume_unit =Number(ress[0].coal_consume_unit).toFixed(2);
that.hotData.cen_consume_unit = Number(ress[0].cen_consume_unit).toFixed(2);
- console.log(that.hotData.celec_consume_unit);
- console.log(that.hotData.coal_consume_unit);
- console.log(that.hotData.cen_consume_unit);
});
});
this.$API.mtm.mgroup.list
@@ -1197,8 +1195,6 @@ export default {
this.$API.enm.enstat.req(params).then((ress) => {
that.hotData.sn_elec_consume_unit =Number(ress[0].elec_consume_unit).toFixed(2);
that.hotData.sn_cen_consume_unit = Number(ress[0].cen_consume_unit).toFixed(2);
- console.log(that.hotData.sn_elec_consume_unit);
- console.log(that.hotData.sn_cen_consume_unit);
});
});
this.$API.mtm.mgroup.list
@@ -1211,9 +1207,23 @@ export default {
params.month_s = that.currentMonth;
params.type = "month_s";
params.mgroup = that.yurefadianId;
- this.$API.enm.enstat.req(params).then((ress) => {
- that.hotData.bz_elec_consume_unit =Number(ress[0].elec_consume_unit).toFixed(2);
- console.log(that.hotData.bz_elec_consume_unit);
+ this.$API.enm.mpointstat.list.req(params).then((res) => {
+ if (res.length > 0){
+ let dz_sum = 0;
+ let dz_elec = 0;
+ res.forEach((item) =>{
+ if (item.mpoint_nickname == "袋装水泥总和"){
+ dz_sum = item.val || 0;
+ }else if( item.mpoint_nickname == "水泥包装用电合计"){
+ dz_elec = Number(item.val) || 0;
+ }
+ if (dz_sum > 0){
+ that.hotData.dz_elec_consume_unit = Number(dz_elec/dz_sum).toFixed(2);
+ }else{
+ that.hotData.dz_elec_consume_unit = 0;
+ }
+ })
+ }
});
});
},
diff --git a/src/views/em/equipment.vue b/src/views/em/equipment.vue
index c56c1084..a38bc5d2 100644
--- a/src/views/em/equipment.vue
+++ b/src/views/em/equipment.vue
@@ -4,29 +4,11 @@
新增
批量巡检
-
-
-
@@ -92,9 +74,6 @@
{{ scope.row.mgroup_name }}
-
{{ scope.row.place }}
@@ -102,13 +81,10 @@
{{ scope.row.description }}
-
-
- 巡检
-
-
- 编辑
-
+
+ 打印
+ 巡检
+ 编辑
删除
@@ -187,21 +163,6 @@
-
@@ -269,12 +230,6 @@ export default {
emitPath: false,
checkStrictly: true,
},
- // stateOptions: [
- // { label: '完好', value: 10 },
- // { label: '限用', value: 20 },
- // { label: '在修', value: 30 },
- // { label: '禁用', value: 40 },
- // ],
results_: {
'pass': '正常',
'fail': '异常',
@@ -291,7 +246,8 @@ export default {
item: {},
visible: false,
visibleRecord: false,
- excelName: ''
+ excelName: '',
+ printer_name:localStorage.getItem("printer_name"),
};
},
mounted() {
@@ -401,7 +357,22 @@ export default {
return err;
});
},
-
+table_print(row){
+ let that = this;
+ let params = {},data={};
+ data.name = row.name;
+ data.number = row.number;
+ params.data = data;
+ params.label_template_name = '设备打印模板';
+ that.$API.cm.labeltemplate.commands.req(params).then((res) => {
+ let obj = {};
+ obj.printer_commands = res.commands;
+ obj.printer_name = that.printer_name;
+ that.$API.wpm.prints.req(obj).then((response) => {
+ that.$message.success("打印成功");
+ });
+ });
+ },
//本地更新数据
handleSaveSuccess(data, mode) {
this.$refs.table.refresh();
diff --git a/src/views/enm_pack/report.vue b/src/views/enm_pack/report.vue
index 71b0f220..1455292d 100644
--- a/src/views/enm_pack/report.vue
+++ b/src/views/enm_pack/report.vue
@@ -633,7 +633,7 @@ export default {
}else if (item.mpoint_nickname == "出厂熟料"){
that.tableDatas[11][5] = item.val;
}else if (item.mpoint_nickname == "水泥包装用电合计") {
- that.tableDatas[12][5] = item.elec_consume_unit;
+ that.tableDatas[12][5] = (item.val/that.tableDatas[9][5]).toFixed(2)
that.tableDatas[13][5] = item.val;
}
}
@@ -676,7 +676,7 @@ export default {
}else if (item.mpoint_nickname == "出厂熟料"){
that.tableDatas[11][4] = item.val;
}else if (item.mpoint_nickname == "水泥包装用电合计") {
- that.tableDatas[12][4] = item.elec_consume_unit;
+ that.tableDatas[12][4] = (item.val/that.tableDatas[9][4]).toFixed(2)
that.tableDatas[13][4] = item.val;
}
}
@@ -720,7 +720,7 @@ export default {
}else if (item.mpoint_nickname == "出厂熟料"){
that.tableDatas[11][2] = item.val;
}else if (item.mpoint_nickname == "水泥包装用电合计") {
- that.tableDatas[12][2] = item.elec_consume_unit;
+ that.tableDatas[12][2] = (item.val/that.tableDatas[9][2]).toFixed(2)
that.tableDatas[13][2] = item.val;
}
}
@@ -765,9 +765,15 @@ export default {
}else if (item.mpoint_nickname == "出厂熟料"){
that.tableDatas[11][3] = item.val;
}else if (item.mpoint_nickname == "水泥包装用电合计") {
- that.tableDatas[12][3] = item.elec_consume_unit;
- that.tableDatas[13][3] = item.val;
- }
+ const demon = Number(that.tableDatas[9][3]) || 0;
+ const numer = Number(item.val) || 0;
+ if (demon !== 0){
+ that.tableDatas[12][3] = (item.val/that.tableDatas[9][3]).toFixed(2)
+ }else{
+ that.tableDatas[12][3] = 0;
+ }
+ that.tableDatas[13][3] = numer;
+ }
}
)}
});
@@ -834,8 +840,14 @@ export default {
}else if (item.mpoint_nickname == "出厂熟料"){
that.tableDatas[11][5] = item.val;
}else if (item.mpoint_nickname == "水泥包装用电合计") {
- that.tableDatas[12][5] = item.elec_consume_unit;
- that.tableDatas[13][5] = item.val;
+ const demon = Number(that.tableDatas[9][5]) || 0;
+ const numer = Number(item.val) || 0;
+ if (demon !== 0){
+ that.tableDatas[12][5] = (item.val/that.tableDatas[9][5]).toFixed(2)
+ }else{
+ that.tableDatas[12][5] = 0;
+ }
+ that.tableDatas[13][5] = numer;
}
})}
})
@@ -878,7 +890,7 @@ export default {
}else if (item.mpoint_nickname == "出厂熟料"){
that.tableDatas[11][4] = item.val;
}else if (item.mpoint_nickname == "水泥包装用电合计") {
- that.tableDatas[12][4] = item.elec_consume_unit;
+ that.tableDatas[12][4] = (item.val/that.tableDatas[9][4]).toFixed(2)
that.tableDatas[13][4] = item.val;
}
})
diff --git a/src/views/inm/helpso.vue b/src/views/inm/helpso.vue
index 4f69b8f6..738d4958 100644
--- a/src/views/inm/helpso.vue
+++ b/src/views/inm/helpso.vue
@@ -2,6 +2,12 @@
+ 导出
diff --git a/src/views/ofm/booking_form.vue b/src/views/ofm/booking_form.vue
index e97bcd3c..73dff9e1 100644
--- a/src/views/ofm/booking_form.vue
+++ b/src/views/ofm/booking_form.vue
@@ -7,13 +7,15 @@
ref="addForm"
label-width="100px"
>
-
-
-
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -41,7 +58,7 @@
:workflow_key="'booking'"
:title="bookingTitle"
:t_id="form.id"
- :ticketId="form.ticket"
+ :ticket_="form.ticket_"
@success="()=>{$emit('success')}"
:submit_b_func="submit_b_func"
ref="ticketd_b_start"
@@ -50,7 +67,7 @@
-
+
@@ -98,11 +115,15 @@ export default {
},
//表单数据
form: {
+ note: "",
mroom: "",
mdate: "",
title: "",
slots: [],
- ticket_: null
+ ticket_: null,
+ belong_dept: "",
+ participant_count: 0,
+ key_participants: "",
},
//验证规则
rules: {
@@ -168,7 +189,10 @@ export default {
let that = this;
that.getmRoomList();
that.getTid();
- if(that.type=='edit'){
+ if(that.type=='add'){
+ that.form.belong_dept = that.$TOOL.data.get("USER_INFO").dept_id;
+ }
+ if(that.type=='edit'||that.type=='show'){
that.form = that.bookingIitem;
that.mroomName = that.bookingIitem.mroom_name;
that.bookingTitle = that.mroomName+"预定";
diff --git a/src/views/ofm/mroombooking.vue b/src/views/ofm/mroombooking.vue
index 40f0ff52..bfa3df25 100644
--- a/src/views/ofm/mroombooking.vue
+++ b/src/views/ofm/mroombooking.vue
@@ -41,10 +41,17 @@
+ 查看
编辑
@@ -63,7 +70,7 @@
:editId="editId"
:bookingIitem="bookingIitem"
@success="handleSuccess"
- @cancel="handleCancel"
+ @closed="handleCancel"
>
@@ -107,6 +114,10 @@ export default {
handleCancel() {
this.limitedVisible = false;
},
+ handleSuccess(){
+ this.$refs.table.refresh();
+ this.limitedVisible = false;
+ },
handleEidt(row) {
let that = this;
that.type = "edit";
@@ -114,6 +125,13 @@ export default {
that.bookingIitem = row;
that.limitedVisible = true;
},
+ handleShow(row){
+ let that = this;
+ that.type = "show";
+ that.editId = row.id;
+ that.bookingIitem = row;
+ that.limitedVisible = true;
+ },
async handleDel(row) {
var id = row.id;
var res = await this.$API.ofm.mroombooking.delete.req(id);
diff --git a/src/views/statistics/bxerp/maopi.vue b/src/views/statistics/bxerp/maopi.vue
index 2fe8ed56..a3b64935 100644
--- a/src/views/statistics/bxerp/maopi.vue
+++ b/src/views/statistics/bxerp/maopi.vue
@@ -173,8 +173,8 @@ export default {
data() {
return {
params: {
- ordering:'-data__毛坯检测_小日期',
- ordering:'data__毛坯检测_批次号',
+ ordering:'data__毛坯检测_批次号,-data__毛坯检测_小日期,number_prefix,number_suffix',
+ annotate_field_list:["number_prefix", "number_suffix"],
querys:[[{field:"wm",value:0,compare:"isnull"},{field:"data__has_key",compare:"",value:"毛坯检测_批次号"}]],
},
query:{
diff --git a/src/views/statistics/bxerp/maopiTotal.vue b/src/views/statistics/bxerp/maopiTotal.vue
index ac599aaf..000225df 100644
--- a/src/views/statistics/bxerp/maopiTotal.vue
+++ b/src/views/statistics/bxerp/maopiTotal.vue
@@ -48,24 +48,24 @@
- {{ scope.row.data['毛坯检测_缺陷_放大率¢2mm不合格']?scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_缺陷_放大率¢2mm不合格']:scope.row.data.毛坯检测_count_use }}
+ {{ scope.row.data['毛坯检测_含缺陷_放大率¢2mm不合格']?scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_含缺陷_放大率¢2mm不合格']:scope.row.data.毛坯检测_count_use }}
- {{ scope.row.data['毛坯检测_缺陷_放大率¢2mm不合格_比例']?100-scope.row.data['毛坯检测_缺陷_放大率¢2mm不合格_比例']:100 }}%
+ {{ scope.row.data['毛坯检测_含缺陷_放大率¢2mm不合格_比例']?100-scope.row.data['毛坯检测_含缺陷_放大率¢2mm不合格_比例']:100 }}%
- {{ scope.row.data['毛坯检测_缺陷_放大率¢16mm不合格']?scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_缺陷_放大率¢16mm不合格']:scope.row.data.毛坯检测_count_use }}
+ {{ scope.row.data['毛坯检测_含缺陷_放大率¢16mm不合格']?scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_含缺陷_放大率¢16mm不合格']:scope.row.data.毛坯检测_count_use }}
- {{ scope.row.data['毛坯检测_缺陷_放大率¢16mm不合格_比例']?100-scope.row.data['毛坯检测_缺陷_放大率¢16mm不合格_比例']:100 }}%
+ {{ scope.row.data['毛坯检测_含缺陷_放大率¢16mm不合格_比例']?100-scope.row.data['毛坯检测_含缺陷_放大率¢16mm不合格_比例']:100 }}%
@@ -73,80 +73,80 @@
-
- {{ scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_缺陷_剪切¢18.3mm不合格']-scope.row.data['毛坯检测_缺陷_剪切¢18.3mm可加工'] }}
- {{ scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_缺陷_剪切¢18.3mm不合格']}}
+
+ {{ scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm不合格']-scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm可加工'] }}
+ {{ scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm不合格']}}
- {{ scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_缺陷_剪切¢18.3mm可加工'] }}
+ {{ scope.row.data.毛坯检测_count_use-scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm可加工'] }}
{{ scope.row.data.毛坯检测_count_use }}
-
- {{ 100-scope.row.data['毛坯检测_缺陷_剪切¢18.3mm不合格_比例']-scope.row.data['毛坯检测_缺陷_剪切¢18.3mm可加工_比例'] }}
- {{ 100-scope.row.data['毛坯检测_缺陷_剪切¢18.3mm不合格_比例'] }}%
+
+ {{ 100-scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm不合格_比例']-scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm可加工_比例'] }}
+ {{ 100-scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm不合格_比例'] }}%
- {{ 100-scope.row.data['毛坯检测_缺陷_剪切¢18.3mm可加工_比例'] }}%
+ {{ 100-scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm可加工_比例'] }}%
100%
- {{ scope.row.data['毛坯检测_缺陷_剪切¢18.3mm可加工']?scope.row.data['毛坯检测_缺陷_剪切¢18.3mm可加工']:0 }}
+ {{ scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm可加工']?scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm可加工']:0 }}
- {{ scope.row.data['毛坯检测_缺陷_剪切¢18.3mm可加工_比例']?scope.row.data['毛坯检测_缺陷_剪切¢18.3mm可加工_比例']:0 }}%
+ {{ scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm可加工_比例']?scope.row.data['毛坯检测_含缺陷_剪切¢18.3mm可加工_比例']:0 }}%
- {{ scope.row.data.毛坯检测_缺陷_暗点不合格?scope.row.data.毛坯检测_count_use-scope.row.data.毛坯检测_缺陷_暗点不合格:scope.row.data.毛坯检测_count_use }}
+ {{ scope.row.data.毛坯检测_含缺陷_暗点不合格?scope.row.data.毛坯检测_count_use-scope.row.data.毛坯检测_含缺陷_暗点不合格:scope.row.data.毛坯检测_count_use }}
- {{ scope.row.data.毛坯检测_缺陷_暗点不合格_比例?100-scope.row.data.毛坯检测_缺陷_暗点不合格_比例:100 }}%
+ {{ scope.row.data.毛坯检测_含缺陷_暗点不合格_比例?100-scope.row.data.毛坯检测_含缺陷_暗点不合格_比例:100 }}%
- {{ 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 }}
+ {{ scope.row.data.毛坯检测_含缺陷_崩?scope.row.data.毛坯检测_含缺陷_崩:0 }}
- {{ scope.row.data.毛坯检测_缺陷_崩_比例?100-scope.row.data.毛坯检测_缺陷_崩_比例:100 }}%
+ {{ scope.row.data.毛坯检测_含缺陷_崩_比例?100-scope.row.data.毛坯检测_含缺陷_崩_比例:100 }}%
- {{ scope.row.data.毛坯检测_缺陷_炸废?scope.row.data.毛坯检测_缺陷_炸废:0 }}
+ {{ scope.row.data.毛坯检测_含缺陷_炸废?scope.row.data.毛坯检测_含缺陷_炸废:0 }}
- {{ scope.row.data.毛坯检测_缺陷_炸废_比例?100-scope.row.data.毛坯检测_缺陷_炸废_比例:100 }}%
+ {{ scope.row.data.毛坯检测_含缺陷_炸废_比例?100-scope.row.data.毛坯检测_含缺陷_炸废_比例:100 }}%
@@ -164,16 +164,16 @@
- {{ scope.row.data.毛坯检测_缺陷_暗点不合格?scope.row.data.毛坯检测_缺陷_暗点不合格:0 }}
+ {{ scope.row.data.毛坯检测_含缺陷_暗点不合格?scope.row.data.毛坯检测_含缺陷_暗点不合格:0 }}
-
+
diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue
index 5eb03395..a9ce1c52 100644
--- a/src/views/wpm_bx/handover_form.vue
+++ b/src/views/wpm_bx/handover_form.vue
@@ -672,6 +672,7 @@ export default {
if(that.mtype==30){
that.form.recive_mgroup = that.form.send_mgroup;
}
+ that.form.mtype=that.mtype;
//合批、分批、报废,这三个交接操作直接创建并提交
if(that.mtype==20||that.mtype==30||that.type==40){
that.$API.wpm.handover.createsubmit.req(that.form).then((res) => {
diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue
index 3d806532..a7e4c610 100644
--- a/src/views/wpm_bx/inmIn.vue
+++ b/src/views/wpm_bx/inmIn.vue
@@ -93,7 +93,7 @@
min-width="150"
>
- {{scope.row.batch}}
+ {{scope.row.batch}}
{{scope.row.batch}}
diff --git a/src/views/wpm_bx/inmOut.vue b/src/views/wpm_bx/inmOut.vue
index c7a7b2cf..341754f2 100644
--- a/src/views/wpm_bx/inmOut.vue
+++ b/src/views/wpm_bx/inmOut.vue
@@ -108,7 +108,7 @@
min-width="150"
>
- {{scope.row.batch}}
+ {{scope.row.batch}}
{{scope.row.batch}}
diff --git a/src/views/wpm_bx/mlogbw_check.vue b/src/views/wpm_bx/mlogbw_check.vue
index ed50c5eb..101d6d92 100644
--- a/src/views/wpm_bx/mlogbw_check.vue
+++ b/src/views/wpm_bx/mlogbw_check.vue
@@ -41,12 +41,10 @@
@selectAllChange="selectAllChange"
@add="rowAdd"
>
-
{{ scope.row.number }}
——{{ scope.row.wpr_number_out }}
-
{{item.name}}
@@ -94,13 +94,14 @@
v-if="scope.row.isEdit"
v-model="scope.row.work_start_time"
type="datetime"
- value-format="YYYY-MM-DD HH:mm:ss"
- formatter="YYYY-MM-DD"
+ value-format="YYYY-MM-DD HH:mm"
+ formatter="YYYY-MM-DD HH:mm"
style="width: 100%;"
popper-append-to-body
+ @change = "timeChange(scope.row)"
/>
- {{ scope.row.work_start_time.split(' ')[0]}}
+ {{ scope.row.work_start_time}}
@@ -914,7 +915,8 @@ export default {
let date = new Date();
if(that.mlogbwlist[index].work_start_time==''||that.mlogbwlist[index].work_start_time==null){
that.mlogbwlist[index].work_start_time = that.$TOOL.dateFormat(date, 'yyyy-MM-dd hh:mm:ss');
- }
+ that.timeChange(that.mlogbwlist[index]);
+ }else{}
}
});
},
@@ -1177,21 +1179,6 @@ export default {
}).catch((err) => {
return err;
});
- // let retryCount = 0;
- // let MAX_RETRIES = 3;
- // that.$API.em.cd.req({method:that.setForm.cd_req_addr}).then((res) => {
- // that.qct_testitems.forEach(item0 => {
- // if(item0.testitem_cd_expr!=null){
- // that.mlogbwlist[0][item0.testitem_name]= eval(item0.testitem_cd_expr);
- // }
- // })
- // }).catch((err) => {
- // if (retryCount < MAX_RETRIES) {
- // retryCount++;
- // that.getEqData(); // 递归调用
- // }
- // return err;
- // });
},
wprChange(wprNumber){
let that = this;
@@ -1210,6 +1197,42 @@ export default {
}
});
},
+ equipRemoteMethod(row){
+ let that = this;
+ console.log('row',row);
+ console.log('scope.row.equip',row.equip);
+ },
+ timeChange(row){
+ let that = this;
+ let index = that.mlogbwlist.indexOf(row);
+ let waveNum = 1;
+ let hours =Number(row.work_start_time.split(" ")[1].split(":")[0]);
+ let minutes =Number(row.work_start_time.split(" ")[1].split(":")[1]) ;
+ console.log('hours',hours);
+ console.log('minutes',minutes);
+ if((hours==0&&minutes>29)||hours==1||(hours==2&&minutes<30)){
+ waveNum = 9;
+ }else if((hours==2&&minutes>29)||hours==3||(hours==4&&minutes<30)){
+ waveNum = 10;
+ }else if(hours==7||hours==8){
+ waveNum = 1;
+ }else if(hours==9||hours==10){
+ waveNum = 2;
+ }else if(hours==11||hours==12){
+ waveNum = 3;
+ }else if((hours==13&&minutes>29)||hours==14||(hours==15&&minutes<30)){
+ waveNum = 4;
+ }else if((hours==15&&minutes>29)||hours==16||(hours==17&&minutes<30)){
+ waveNum = 5;
+ }else if(hours==18||hours==19){
+ waveNum = 6;
+ }else if(hours==20||hours==21){
+ waveNum = 7;
+ }else if(hours==22||hours==23){
+ waveNum = 8;
+ }
+ that.mlogbwlist[index].波数 = waveNum;
+ },
saveSetting(){
let that = this;
that.$refs.dialogForm.validate((valid) => {
diff --git a/src/views/wpm_gx/handover_form.vue b/src/views/wpm_gx/handover_form.vue
index a8b7c456..515083f8 100644
--- a/src/views/wpm_gx/handover_form.vue
+++ b/src/views/wpm_gx/handover_form.vue
@@ -179,7 +179,9 @@
:accept="['.xlsx', '.xls']"
@success = "fileUPSuccess"
>
-
+
+
+ {{form.oinfo_json.test_file}}
@@ -615,6 +617,12 @@ export default {
console.log('交接记录查看',data)
let that = this;
Object.assign(this.form, data);
+ let obj = {};
+ if(data.oinfo_json&&data.oinfo_json.test_file){
+ obj.name=data.oinfo_json.test_file;
+ obj.url=data.oinfo_json.test_file;
+ this.fileList.push(obj);
+ }
that.totalCount = 0;
that.form.handoverb = data.handoverb;
data.handoverb.forEach(item=>{