|
@@ -18,7 +18,7 @@
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
<a-form-model-item label="选择设备" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="equipmentid">
|
|
|
- <j-search-select-tag v-model="model.equipmentid" dict="tpm_equipment,equipmentname,id" style="width: 100%"/>
|
|
|
+ <j-search-select-tag v-model="model.equipmentid" dict="tpm_equipment,equipmentname,id" :disabled="disabledEdit" style="width: 100%"/>
|
|
|
<!-- <a-button type="primary" icon="search" /> -->
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
@@ -187,6 +187,7 @@
|
|
|
xs: { span: 24 },
|
|
|
sm: { span: 18 },
|
|
|
},
|
|
|
+ disabledEdit: false,
|
|
|
confirmLoading: false,
|
|
|
validatorRules: {
|
|
|
planname: [
|
|
@@ -268,6 +269,7 @@
|
|
|
},
|
|
|
edit (record) {
|
|
|
// this.model = Object.assign({}, record);
|
|
|
+ this.disabledEdit = true
|
|
|
getAction(this.url.queryById, record).then((res) => {
|
|
|
console.log(88,res)
|
|
|
this.model = res.result
|