Commit 254fc4a7 authored by youjie's avatar youjie

no message

parent 0b019cfd
...@@ -187,9 +187,9 @@ ...@@ -187,9 +187,9 @@
<el-dialog custom-class='w700' title="导入" :visible.sync="outerVisible" center @close="addMsg.BranchId=''"> <el-dialog custom-class='w700' title="导入" :visible.sync="outerVisible" center @close="addMsg.BranchId=''">
<el-form class="clearfix" :model="addMsg" ref="addMsg" :rules="rules" label-width="100px"> <el-form class="clearfix" :model="addMsg" ref="addMsg" :rules="rules" label-width="100px">
<el-row> <el-row>
<el-col :span="10" style="margin-left: 100px;"> <el-col :span="15" style="margin-left: 100px;">
<el-form-item label="公司" prop="BranchId"> <el-form-item label="公司" prop="BranchId">
<el-select filterable v-model='addMsg.BranchId'> <el-select filterable v-model='addMsg.BranchId' placeholder="请选择公司再上传文件">
<!-- <el-option label="不限" value=0></el-option> --> <!-- <el-option label="不限" value=0></el-option> -->
<el-option v-for="(item,index) in TheAliasList" :label="item.Name" :value='item.Id' :key="index"> <el-option v-for="(item,index) in TheAliasList" :label="item.Name" :value='item.Id' :key="index">
</el-option> </el-option>
......
...@@ -129,9 +129,9 @@ ...@@ -129,9 +129,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="7">
<el-form-item label="科目" prop="SubjectId"> <el-form-item label="科目" prop="SubjectId">
<el-select filterable v-model='addMsg.SubjectId'> <el-select filterable v-model='addMsg.SubjectId' placeholder="请选择公司再选科目">
<el-option v-for="(item,index) in DataList" :label="item.Name" :value='item.Id' :key="index"> <el-option v-for="(item,index) in DataList" :label="item.Name" :value='item.Id' :key="index">
</el-option> </el-option>
</el-select> </el-select>
...@@ -314,8 +314,10 @@ ...@@ -314,8 +314,10 @@
this.addMsg = msg; this.addMsg = msg;
}, },
clickEdit(item) { clickEdit(item) {
this.addMsg.TargetId = item.ID let row = JSON.parse(JSON.stringify(item))
this.addMsg.SubjectId = item.SubjectId this.addMsg.BranchId = ''
this.addMsg.TargetId = row.ID
this.addMsg.SubjectId = row.SubjectId
this.addShow = true this.addShow = true
}, },
clickTitle(item) { clickTitle(item) {
......
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