Commit bf58eb19 by 无尘

fix: 修改指标

parent 9abc066f
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-12 10:47:17
* @LastEditors: 无尘
* @LastEditTime: 2020-12-01 18:02:08
* @LastEditTime: 2020-12-02 10:41:01
-->
<template>
<div class="common-app-right" style="padding: 20px 0;color: #303133">
......@@ -219,7 +219,7 @@ export default {
// 末尾补空白
let len = (that.zerofill.length + that.tableData.length) % 7;
if (len) that.zerofillLast = new Array(7 - len).fill(null);
console.log(flag, typeof(flag));
// 默认值
if (flag == false) {
that.setDefault();
......@@ -342,6 +342,16 @@ export default {
watch: {
brandId(newData) {
const that = this;
that.form = JSON.parse(JSON.stringify(that.$route.query));
that.form.performanceValue = that.form.performanceValue || 0;
// 批量操作判断
if (!!that.$route.query.multOpt && that.$route.query.multOpt == 1) {
that.form.multOpt = 1;
}else {
that.form.multOpt = '';
}
// 禁用判断
that.disableSetting = checkDisEdit(that.$route.query.performanceYm);
const { staffName, staffId, wxEnterpriseId } = localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')) : { staffName: '', staffId: '', wxEnterpriseId: '' };
that.haoban = { submitStaffName: staffName, submitStaffId: staffId, wxEnterpriseId };
that.init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment