Commit e8dcce05 by zhangquan

bug修复

1 parent fe0b463e
<template> <template>
<div class="container"> <div class="container">
<GLCombiForm ref="searchRef" :formObj="searchForm" :formData="searchFormData" @handleOk="handleOk" @handleRest="handleRest"></GLCombiForm> <GLCombiForm ref="searchRef" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleOk" @handleRest="handleRest"></GLCombiForm>
<el-button type="primary" :size="size" style="float:right;margin-bottom:10px;" @click="createCode">生成核销码</el-button> <el-button type="primary" :size="size" style="float:right;margin-bottom:10px;" @click="createCode">生成核销码</el-button>
<GLTable :pageSizes="pageSizes" ref="tableRef" :pageConf="pageConf" :searchForm="searchForm" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :getListApi="getListApi"></GLTable> <GLTable :pageSizes="pageSizes" ref="tableRef" :pageConf="pageConf" :searchForm="searchForm" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :getListApi="getListApi"></GLTable>
<GLDialog class="dialog_wrap" title="生成核销码" mode="mid" :visible.sync="isVisible" :show-close="showClose" :before-close="handleClose" @onOk="onOk" <GLDialog class="dialog_wrap" title="生成核销码" mode="mid" :visible.sync="isVisible" :show-close="showClose" :before-close="handleClose" @onOk="onOk"
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</el-radio-group> </el-radio-group>
</div> </div>
<div class="manual" v-if="addType == 1"> <div class="manual" v-if="addType == 1">
<el-input type="textarea" @blur="formatContractNo" class="contract_input" v-model="contractNoStr" placeholder="请输入合同号"></el-input> <el-input type="textarea" class="contract_input" v-model="contractNoStr" placeholder="请输入合同号"></el-input>
<p class="textarea_tip" :style="{color: contractNoList.length > 20 ? 'red': '#999999'}">{{contractNoList.length > 20 ? '最多输入20个合同号':'多个合同号换行输入,最多20个合同号'}}</p> <p class="textarea_tip" :style="{color: contractNoList.length > 20 ? 'red': '#999999'}">{{contractNoList.length > 20 ? '最多输入20个合同号':'多个合同号换行输入,最多20个合同号'}}</p>
<p class="textarea_tip" v-if="requestTip">以下红色标记为合同号不存在,判断为无效合同</p> <p class="textarea_tip" v-if="requestTip">以下红色标记为合同号不存在,判断为无效合同</p>
<div class="contract_area"> <div class="contract_area">
...@@ -250,6 +250,7 @@ ...@@ -250,6 +250,7 @@
}, },
onOk(){ onOk(){
if(this.addType==1){ if(this.addType==1){
this.formatContractNo()
const params = { const params = {
contractNoList: this.contractNoList.map(item => item.val) contractNoList: this.contractNoList.map(item => item.val)
} }
...@@ -358,7 +359,7 @@ ...@@ -358,7 +359,7 @@
overflow-y: auto; overflow-y: auto;
.contract_item{ .contract_item{
height: 26px; height: 26px;
width: 200px; min-width: 200px;
display: inline-flex; display: inline-flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!