Commit f0391916 authored by youjie's avatar youjie

no message

parent a7d6a238
......@@ -3,7 +3,7 @@
<el-dialog :title="saveUploadMsg.length>0?'批量上传附件/已传'+saveUploadMsg.length:'批量上传附件'"
:visible.sync="isUploadAttachment" width="780px"
:close-on-click-modal="false"
:show-close="true" @close="cancel">
:show-close="false" @close="cancel">
<div class="UploadMsg-box">
<div :class="[saveUploadMsg.length>0?'':'UploadMsgGrow']" style="text-align: center;">
......@@ -38,7 +38,7 @@
</template>
</div>
<div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="cancel">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="hollowFixedBtn" @click="cancel" :disabled="loading">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="saveAttachments" :loading="loading">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog>
......
......@@ -186,7 +186,8 @@
if(this.commissionratioList.AvgLureNum>oEndValue&&index==length) return 100
else return (this.commissionratioList.AvgLureNum/data.EndValue)*100
}else if(this.commissionratioList.type==3&&this.commissionratioList.AvfOrderNum){
return (this.commissionratioList.AvfOrderNum/data.StartValue)*100
if(this.commissionratioList.AvfOrderNum<3) return 0
else return (this.commissionratioList.AvfOrderNum/data.StartValue)*100
}else{
if(this.commissionratioList.AvgLureNum>=data.StartValue){
return 100
......
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