|
@@ -26,7 +26,9 @@
|
|
|
<!-- ></avue-input-tree>-->
|
|
|
<el-date-picker v-if="item.type === 'datetime'" style="width: 100%;" v-model="form[item.prop]"
|
|
|
size="small" type="datetime" placeholder="选择日期" value-format="yyyy-MM-dd HH:mm:ss"/>
|
|
|
- <span v-else-if="item.prop === 'corpId'">{{form.corpName}}<el-button type="text" icon="el-icon-edit" @click="$refs.selectComponent.dialogVisible = true"></el-button></span>
|
|
|
+ <el-input v-else-if="item.prop === 'corpId'" disabled placeholder="请输入内容" v-model="form.corpName" class="input-with-select">
|
|
|
+ <el-button slot="append" icon="el-icon-edit" @click="$refs.selectComponent.dialogVisible = true" ></el-button>
|
|
|
+ </el-input>
|
|
|
<el-input type="age" v-else v-model="form[item.prop]" size="small" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -110,8 +112,7 @@
|
|
|
icon="el-icon-plus"
|
|
|
size="small"
|
|
|
@click="costIncrease"
|
|
|
- >新增
|
|
|
- </el-button>
|
|
|
+ >新增</el-button>
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
</basic-container>
|
|
@@ -968,7 +969,7 @@ export default {
|
|
|
//费用编辑
|
|
|
rowCellTwo(row, index) {
|
|
|
console.log(row)
|
|
|
- this.$refs.crudProject.rowCell(row, index)
|
|
|
+ this.$refs.crudProject.rowCellTwo(row, index)
|
|
|
},
|
|
|
//费用新增触发
|
|
|
costIncrease() {
|