|
|
@ -570,6 +570,7 @@ export default { |
|
|
|
<el-form-item label-width="120px" label="防治计划名称" prop="planId"> |
|
|
|
<el-select |
|
|
|
v-model="planForm.planId" |
|
|
|
:disabled="prohibitEditing" |
|
|
|
remote |
|
|
|
:remote-method="(query) => handleGetRemotePlanData(query)" |
|
|
|
@focus="handleGetRemotePlanData('')" |
|
|
@ -829,7 +830,11 @@ export default { |
|
|
|
> |
|
|
|
<div style="display: flex"> |
|
|
|
<el-form-item label-width="120px" label="施工地点" prop="location"> |
|
|
|
<el-select v-model="recordForm.location" placeholder="请选择"> |
|
|
|
<el-select |
|
|
|
:disabled="prohibitEditing" |
|
|
|
v-model="recordForm.location" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in locationList" |
|
|
|
:label="item.dictLabel" |
|
|
@ -843,10 +848,17 @@ export default { |
|
|
|
label="检查施工情况" |
|
|
|
prop="constructionStatus" |
|
|
|
> |
|
|
|
<el-input v-model="recordForm.constructionStatus" /> |
|
|
|
<el-input |
|
|
|
:disabled="prohibitEditing" |
|
|
|
v-model="recordForm.constructionStatus" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label-width="80px" label="有害生物" prop="pest"> |
|
|
|
<el-select v-model="recordForm.pest" placeholder="请输入"> |
|
|
|
<el-select |
|
|
|
:disabled="prohibitEditing" |
|
|
|
v-model="recordForm.pest" |
|
|
|
placeholder="请输入" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="(item, index) in pestAnimalList" |
|
|
|
:label="item.dictLabel" |
|
|
@ -872,6 +884,7 @@ export default { |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input |
|
|
|
v-model="scope.row.drugName" |
|
|
|
:disabled="prohibitEditing" |
|
|
|
maxlength="100" |
|
|
|
placeholder="请输入药物名称" |
|
|
|
/> |
|
|
@ -881,6 +894,7 @@ export default { |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input |
|
|
|
v-model="scope.row.concentration" |
|
|
|
:disabled="prohibitEditing" |
|
|
|
maxlength="100" |
|
|
|
placeholder="请输入浓度" |
|
|
|
/> |
|
|
@ -890,6 +904,7 @@ export default { |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input |
|
|
|
v-model="scope.row.dose" |
|
|
|
:disabled="prohibitEditing" |
|
|
|
maxlength="100" |
|
|
|
placeholder="请输入剂量" |
|
|
|
/> |
|
|
@ -902,7 +917,7 @@ export default { |
|
|
|
type="text" |
|
|
|
size="small" |
|
|
|
@click="addWorkItem" |
|
|
|
:disabled="recordForm.drugs.length >= 10" |
|
|
|
:disabled="prohibitEditing || recordForm.drugs.length >= 10" |
|
|
|
>添加</el-button |
|
|
|
> |
|
|
|
<el-popconfirm |
|
|
@ -911,6 +926,7 @@ export default { |
|
|
|
icon="el-icon-info" |
|
|
|
icon-color="red" |
|
|
|
title="确定删除吗?" |
|
|
|
:disabled="prohibitEditing" |
|
|
|
@confirm="deleteWorkTableItem(scope.row.id)" |
|
|
|
> |
|
|
|
<el-button |
|
|
@ -964,6 +980,7 @@ export default { |
|
|
|
list-type="picture-card" |
|
|
|
:http-request="handleUpload" |
|
|
|
:auto-upload="true" |
|
|
|
:disabled="prohibitEditing" |
|
|
|
:before-upload="beforeUpload" |
|
|
|
:showFileList="false" |
|
|
|
accept=".jpg,.png,.jpeg" |
|
|
@ -977,6 +994,7 @@ export default { |
|
|
|
type="textarea" |
|
|
|
:rows="3" |
|
|
|
:maxlength="500" |
|
|
|
:disabled="prohibitEditing" |
|
|
|
placeholder="请输入" |
|
|
|
v-model="recordForm.remark" |
|
|
|
> |
|
|
|