|
|
@ -72,12 +72,14 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<el-form-item label="计量单位" prop="measurement"> |
|
|
|
<el-form-item label="计量单位" prop="measurement"> |
|
|
|
<el-input |
|
|
|
<!-- <el-input |
|
|
|
v-model="form.measurement" |
|
|
|
v-model="form.measurement" |
|
|
|
placeholder="请输入计量单位" |
|
|
|
placeholder="请输入计量单位" |
|
|
|
disabled |
|
|
|
disabled |
|
|
|
></el-input> |
|
|
|
></el-input> --> |
|
|
|
<el-radio v-model="form.measurementEnableMark" label="ENABLE" style="margin-left:10px">启用</el-radio> |
|
|
|
<el-radio-group v-model="form.measurement"> |
|
|
|
|
|
|
|
<el-radio :label="'吨'">吨</el-radio> |
|
|
|
|
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="启用状态" prop="enableMark"> |
|
|
|
<el-form-item label="启用状态" prop="enableMark"> |
|
|
|
<el-radio-group v-model="form.enableMark"> |
|
|
|
<el-radio-group v-model="form.enableMark"> |
|
|
@ -113,8 +115,7 @@ export default { |
|
|
|
}; |
|
|
|
}; |
|
|
|
return { |
|
|
|
return { |
|
|
|
form: { |
|
|
|
form: { |
|
|
|
measurement:'吨', |
|
|
|
measurement:'吨' |
|
|
|
measurementEnableMark:'ENABLE' |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
refineryList: [], |
|
|
|
refineryList: [], |
|
|
|
configAutocomplete: { |
|
|
|
configAutocomplete: { |
|
|
@ -210,6 +211,7 @@ export default { |
|
|
|
closeWindow() { |
|
|
|
closeWindow() { |
|
|
|
this.$emit("closeWindow"); |
|
|
|
this.$emit("closeWindow"); |
|
|
|
this.form = {}; |
|
|
|
this.form = {}; |
|
|
|
|
|
|
|
this.form.measurement = '吨' |
|
|
|
this.controlWindows.addInfo = {}; |
|
|
|
this.controlWindows.addInfo = {}; |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.autocomplete.list = []; |
|
|
|
this.$refs.autocomplete.list = []; |
|
|
|