Commit c2542279 by 无尘

fix: 修改编辑日指标

parent d60c64b6
.color1[data-v-fb85156c]{font-size:16px;padding-right:15px;font-weight:600}.content-data[data-v-fb85156c]{position:relative}.content-data .color2[data-v-fb85156c]{position:relative;font-size:14px;font-weight:400}.content-data .color2[data-v-fb85156c]:not(:first-of-type){padding-left:16px}.content-data .color2[data-v-fb85156c]:not(:first-of-type):before{content:"|";position:absolute;left:0;color:#dcdfe6}.target-title[data-v-fb85156c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:1145px;margin:20px}.target-title span[data-v-fb85156c]{font-weight:600}.target-table[data-v-fb85156c]{width:1145px;margin:0 20px 50px}.table-title[data-v-fb85156c]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#ebecf0}.table-title li[data-v-fb85156c]{width:163px;height:48px;line-height:48px;text-indent:35px;font-weight:500}.table-title li[data-v-fb85156c]:not(:last-of-type){border-right:1px solid #dcdfe6}.table-content[data-v-fb85156c]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table-content li[data-v-fb85156c]{width:163px;height:70px;padding:5px 0 8px 10px;border-bottom:1px solid #dcdfe6}.table-content li[data-v-fb85156c]:not(:nth-of-type(7n)){border-right:1px solid #dcdfe6}.el-input-number[data-v-fb85156c] .el-input__inner{text-align:left;border:none;background-color:#f5f7fa}.el-form-item[data-v-fb85156c]{margin-bottom:10px}[data-v-fb85156c] .el-alert--danger{width:456px;margin-bottom:20px;background:#fffbe6;border-radius:2px;border:1px solid #ffe58f}[data-v-fb85156c] .el-alert--danger .el-alert__icon{color:#faad14}
\ No newline at end of file
.color1[data-v-44e3415a]{font-size:16px;padding-right:15px;font-weight:600}.content-data[data-v-44e3415a]{position:relative}.content-data .color2[data-v-44e3415a]{position:relative;font-size:14px;font-weight:400}.content-data .color2[data-v-44e3415a]:not(:first-of-type){padding-left:16px}.content-data .color2[data-v-44e3415a]:not(:first-of-type):before{content:"|";position:absolute;left:0;color:#dcdfe6}.target-title[data-v-44e3415a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:1145px;margin:20px}.target-title span[data-v-44e3415a]{font-weight:600}.target-table[data-v-44e3415a]{width:1145px;margin:0 20px 50px}.table-title[data-v-44e3415a]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#ebecf0}.table-title li[data-v-44e3415a]{width:163px;height:48px;line-height:48px;text-indent:35px;font-weight:500}.table-title li[data-v-44e3415a]:not(:last-of-type){border-right:1px solid #dcdfe6}.table-content[data-v-44e3415a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table-content li[data-v-44e3415a]{width:163px;height:70px;padding:5px 0 8px 10px;border-bottom:1px solid #dcdfe6}.table-content li[data-v-44e3415a]:not(:nth-of-type(7n)){border-right:1px solid #dcdfe6}.el-input-number[data-v-44e3415a] .el-input__inner{text-align:left;border:none;background-color:#f5f7fa}.el-form-item[data-v-44e3415a]{margin-bottom:10px}[data-v-44e3415a] .el-alert--danger{width:456px;margin-bottom:20px;background:#fffbe6;border-radius:2px;border:1px solid #ffe58f}[data-v-44e3415a] .el-alert--danger .el-alert__icon{color:#faad14}
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-12 10:47:17
* @LastEditors: 无尘
* @LastEditTime: 2020-11-23 16:55:42
* @LastEditTime: 2020-11-23 17:18:37
-->
<template>
<div class="common-app-right" style="padding: 20px 0;color: #303133">
......@@ -20,7 +20,7 @@
<span class="color2">月指标:¥ </span>
<span class="color1">{{ parseFloat(form.performanceValue).toFixed(2) }}</span>
<span class="color2">日指标总和:¥ </span>
<span class="color1" :style="{ color: totalDayTarget > form.performanceValue ? '#F5222D' : '#606266' }">{{ parseFloat(totalDayTarget).toFixed(2) }}</span>
<span class="color1" :style="{ color: totalDayTarget != form.performanceValue ? '#F5222D' : '#606266' }">{{ parseFloat(totalDayTarget).toFixed(2) }}</span>
</div>
</el-form-item>
</el-form>
......@@ -54,7 +54,7 @@
</ul>
</div>
<el-button type="primary" :loading="loading" style="margin-left:20px" @click="confirm">保存</el-button>
<el-button type="primary" :loading="loading" :disabled="$route.query.performanceSubType == 2 && totalDayTarget != form.performanceValue" style="margin-left:20px" @click="confirm">保存</el-button>
<el-dialog
title="修改指标"
......@@ -87,7 +87,7 @@
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" :disabled="$route.query.performanceSubType == 2 && totalDayTarget > form.performanceValue" :loading="loadMonth" @click="confirmMonthTarget">确 定</el-button>
<el-button type="primary" :loading="loadMonth" @click="confirmMonthTarget">确 定</el-button>
</span>
</el-dialog>
</div>
......
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