Commit 7256fd57 authored by wangdanlei's avatar wangdanlei

项目关联合同

parent fc60aaee
......@@ -18,7 +18,7 @@
/>
</el-select> -->
<!--input输入-->
<el-input v-model="form.name" placeholder="请输入" @input="handleChange" />
<el-input v-model="form.name" disabled placeholder="请输入" @input="handleChange" />
<img
v-if="showIcon"
class="icon"
......@@ -32,7 +32,17 @@
:dialog-visible="dialogShow"
@handleClose="dialogShow = false"
>
这个是合同的列表
<dee-as-com
:lay-config="{
typeName: 'ExtInComeContract',
layKey: 'projectContractResult'
}"
@radio-current-change="radioCurrentChange"
/>
<div class="dialogBtn">
<el-button type="primary" @click="submit">确定</el-button>
<el-button type="default" @click="dialogShow = false">取消</el-button>
</div>
</dee-dialog>
</div>
......@@ -59,13 +69,12 @@ export default {
dialogShow: false,
showIcon: false,
projectList: [],
showSelect: false
showSelect: false,
selectRow: {}
}
},
watch: {
value(val) {
// this.project = val
console.log('val', val)
this.$emit('input', val)
},
'form.projectCategory': {
......@@ -80,16 +89,21 @@ export default {
}
},
mounted() {
console.log('form', this.form)
},
mounted() {},
methods: {
handleClickOpen() {
this.dialogShow = true
console.log('打开合同弹框')
},
handleChange(val) {
this.$emit('input', val)
console.log(this.form)
},
radioCurrentChange(data) {
this.selectRow = data.row
},
submit() {
this.handleChange(this.selectRow.id)
this.dialogShow = false
}
}
......
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