|
|
@@ -171,13 +171,11 @@
|
|
|
this.model={}
|
|
|
this.platType=1
|
|
|
this.model.subcontractType=null
|
|
|
+ console.log(1111111111,this.model.subcontractType)
|
|
|
this.form.resetFields()
|
|
|
this.model = record
|
|
|
this.id=record.id
|
|
|
this.visible = true
|
|
|
- this.$nextTick(() => {
|
|
|
- this.form.setFieldsValue(pick(this.model,'subcontractType','subcontract'))
|
|
|
- })
|
|
|
},
|
|
|
close() {
|
|
|
this.$emit('ok')
|
|
|
@@ -226,6 +224,7 @@
|
|
|
},
|
|
|
onChangeMenuType(e) {
|
|
|
this.platType=e.target.value
|
|
|
+ this.model.subcontractType=null
|
|
|
},
|
|
|
selectSubcontractType(e){
|
|
|
console.log(111111,e)
|