Browse Source

组合项目修改

master
mch 3 years ago
parent
commit
e68c42f1a3
  1. 5
      src/views/common-settings/SampleGroup.vue
  2. 2
      src/views/fee-settings/Asbitem.vue
  3. 11
      src/views/fee-settings/Item.vue

5
src/views/common-settings/SampleGroup.vue

@ -159,8 +159,9 @@
v-model="flitvalues" v-model="flitvalues"
placeholder="请选择" placeholder="请选择"
style="margin-top: 5px" style="margin-top: 5px"
value-key="id"
@change="selectchange" @change="selectchange"
value-key="id"
> >
<el-option <el-option
v-for="item in filetelists" v-for="item in filetelists"
@ -448,7 +449,7 @@ export default {
this.ites.splice(this.num, 1); this.ites.splice(this.num, 1);
this.rightdata.push(this.rightobj); this.rightdata.push(this.rightobj);
// this.sdate.push({ id: this.leftobj.id }); // this.sdate.push({ id: this.leftobj.id });
// this.updatedate();
this.updatedate();
// console.log(this.sdate); // console.log(this.sdate);
// this.rightdata.forEach(item=>{ // this.rightdata.forEach(item=>{
// }) // })

2
src/views/fee-settings/Asbitem.vue

@ -636,7 +636,7 @@ export default {
// } // }
// }); // });
this.rightdata.push({ displayName: v.displayName }); this.rightdata.push({ displayName: v.displayName });
console.log(v);
console.log(v,'sssssssss');
}, },
Onsubmit() { Onsubmit() {
let sampleGroupId = this.form.id; let sampleGroupId = this.form.id;

11
src/views/fee-settings/Item.vue

@ -1,7 +1,7 @@
<template> <template>
<div class="box"> <div class="box">
<div style="width: 150%">
<el-card style="height:600px">
<div style="width: 90%">
<el-card style="height:600px;width:100%">
<el-row style="margin-top: 20px; margin-left: 15px"> <el-row style="margin-top: 20px; margin-left: 15px">
<el-col :span="4"> <el-col :span="4">
<el-autocomplete <el-autocomplete
@ -52,7 +52,7 @@
<div style="width: 85%"> <div style="width: 85%">
<el-table <el-table
:data="tableData" :data="tableData"
style="width: 95%; "
style="width: 100%; "
row-key="id" row-key="id"
height="500" height="500"
class="el-table__body-wrapper tbody" class="el-table__body-wrapper tbody"
@ -391,12 +391,14 @@
<!-- 按钮区域 --> <!-- 按钮区域 -->
<div style="margin-left: 10px; margin-top: 7%"> <div style="margin-left: 10px; margin-top: 7%">
<el-button type="primary" @click="add">新增</el-button> <el-button type="primary" @click="add">新增</el-button>
<el-button
<div>
<el-button
type="primary" type="primary"
@click="editpopup" @click="editpopup"
style="margin-left: 0; margin-top: 10px" style="margin-left: 0; margin-top: 10px"
>编辑</el-button >编辑</el-button
> >
</div>
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<el-button type="danger" @click="delsrts">删除</el-button> <el-button type="danger" @click="delsrts">删除</el-button>
</div> </div>
@ -1775,6 +1777,7 @@ export default {
<style scoped> <style scoped>
.box { .box {
display: flex; display: flex;
width: 100%; width: 100%;
} }
</style> </style>
Loading…
Cancel
Save