|
@@ -133,6 +133,16 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ header-align="center"
|
|
|
+ align="center"
|
|
|
+ prop="prop"
|
|
|
+ label="资金出入" >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button v-if="scope.row.fund_inout" type="primary" size="mini" @click="showFundInOut(scope.row)">查看</el-button>
|
|
|
+ <span v-else>无</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="experience" label="操盘总结" width="160" show-overflow-tooltip />
|
|
|
<el-table-column prop="wanzhu_comment" label="顽主点评" width="160" show-overflow-tooltip />
|
|
|
<el-table-column prop="ctime" label="创建时间" width="160"/>
|
|
@@ -236,6 +246,26 @@
|
|
|
<el-button @click="open1=false" size="mini">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!-- 资金出入 -->
|
|
|
+ <el-dialog :title="title" :visible.sync="open2" width="500px" append-to-body>
|
|
|
+ <el-form ref="form2" :model="form1" label-width="80px">
|
|
|
+ <el-form-item label="资金转出">
|
|
|
+ <el-input v-model="form2.fundout" placeholder="" disabled></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="资金转入">
|
|
|
+ <el-input v-model="form2.fundin" placeholder="" disabled></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="账号截图">
|
|
|
+ <el-image
|
|
|
+ style="width: 100px; height: 100px"
|
|
|
+ :src="form2.account_img"></el-image>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="danger" @click="delFundInOut" size="mini">删除</el-button>
|
|
|
+ <el-button @click="open1=false" size="mini">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</section>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -291,7 +321,9 @@ export default {
|
|
|
missDayList:[
|
|
|
{id:0,name:"否"},
|
|
|
{id:1,name:"是"}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ open2:false,
|
|
|
+ form2:{}
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -399,6 +431,18 @@ export default {
|
|
|
stock_date:this.getNowDate()
|
|
|
}
|
|
|
},
|
|
|
+ showFundInOut(row){
|
|
|
+ this.open2 = true;
|
|
|
+ this.$api.getFundInOut({"id":row.fund_inout.id}).then(res=>{
|
|
|
+ this.form2 = res.data.data;
|
|
|
+ })
|
|
|
+ },
|
|
|
+ delFundInOut(){
|
|
|
+ this.$api.delFundInOut(this.form2).then(res=>{
|
|
|
+ this.open2 = false
|
|
|
+ this.getData()
|
|
|
+ })
|
|
|
+ },
|
|
|
addCode(){
|
|
|
this.form.today_stock.push({code: "", name:"",fund:''})
|
|
|
},
|