Commit 7256fd57 authored by wangdanlei's avatar wangdanlei

项目关联合同

parent fc60aaee
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
/> />
</el-select> --> </el-select> -->
<!--input输入--> <!--input输入-->
<el-input v-model="form.name" placeholder="请输入" @input="handleChange" /> <el-input v-model="form.name" disabled placeholder="请输入" @input="handleChange" />
<img <img
v-if="showIcon" v-if="showIcon"
class="icon" class="icon"
...@@ -32,7 +32,17 @@ ...@@ -32,7 +32,17 @@
:dialog-visible="dialogShow" :dialog-visible="dialogShow"
@handleClose="dialogShow = false" @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> </dee-dialog>
</div> </div>
...@@ -59,13 +69,12 @@ export default { ...@@ -59,13 +69,12 @@ export default {
dialogShow: false, dialogShow: false,
showIcon: false, showIcon: false,
projectList: [], projectList: [],
showSelect: false showSelect: false,
selectRow: {}
} }
}, },
watch: { watch: {
value(val) { value(val) {
// this.project = val
console.log('val', val)
this.$emit('input', val) this.$emit('input', val)
}, },
'form.projectCategory': { 'form.projectCategory': {
...@@ -80,16 +89,21 @@ export default { ...@@ -80,16 +89,21 @@ export default {
} }
}, },
mounted() { mounted() {},
console.log('form', this.form)
},
methods: { methods: {
handleClickOpen() { handleClickOpen() {
this.dialogShow = true this.dialogShow = true
console.log('打开合同弹框')
}, },
handleChange(val) { handleChange(val) {
this.$emit('input', 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