|
|
@ -52,10 +52,10 @@
|
|
|
|
></el-option>
|
|
|
|
></el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="维修人员" prop="workPerson">
|
|
|
|
<el-form-item label="维修人员姓名" prop="workPersonName">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.workPerson"
|
|
|
|
v-model="queryParams.workPersonName"
|
|
|
|
placeholder="请输入维修人员"
|
|
|
|
placeholder="请输入维修人员姓名"
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
style="width: 200px"
|
|
|
|
style="width: 200px"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
@ -352,7 +352,8 @@
|
|
|
|
<span>{{ parseTime(scope.row.workPlanDownTime) }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.workPlanDownTime) }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="维修人员" align="center" prop="workPerson" />
|
|
|
|
<el-table-column label="维修人员工号" align="center" prop="workPerson" width="100"/>
|
|
|
|
|
|
|
|
<el-table-column label="维修人员姓名" align="center" prop="workPersonName" width="100"/>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
label="维修组编码"
|
|
|
|
label="维修组编码"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
@ -525,10 +526,10 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="维修人" prop="workPerson">
|
|
|
|
<el-form-item label="维修人工号" prop="workPerson">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="form.workPerson"
|
|
|
|
v-model="form.workPerson"
|
|
|
|
placeholder="请选择维修人"
|
|
|
|
placeholder="请选择维修人工号"
|
|
|
|
style="width: 280px"
|
|
|
|
style="width: 280px"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
@ -543,6 +544,14 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</ItemSelectPerson>
|
|
|
|
</ItemSelectPerson>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="维修人姓名" prop="workPersonName">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="form.workPersonName"
|
|
|
|
|
|
|
|
placeholder="请输入维修人姓名"
|
|
|
|
|
|
|
|
style="width: 280px"
|
|
|
|
|
|
|
|
disabled
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="维修组" prop="workTeam">
|
|
|
|
<el-form-item label="维修组" prop="workTeam">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="form.workTeam"
|
|
|
|
v-model="form.workTeam"
|
|
|
@ -642,10 +651,10 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="维修人" prop="workPerson">
|
|
|
|
<el-form-item label="维修人工号" prop="workPerson">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="form.workPerson"
|
|
|
|
v-model="form.workPerson"
|
|
|
|
placeholder="请选择维修人"
|
|
|
|
placeholder="请选择维修人工号"
|
|
|
|
style="width: 250px"
|
|
|
|
style="width: 250px"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
@ -660,6 +669,14 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</ItemSelectPerson>
|
|
|
|
</ItemSelectPerson>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="维修人姓名" prop="workPersonName">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="form.workPersonName"
|
|
|
|
|
|
|
|
placeholder="请输入维修人姓名"
|
|
|
|
|
|
|
|
style="width: 250px"
|
|
|
|
|
|
|
|
disabled
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="维修组" prop="workTeam">
|
|
|
|
<el-form-item label="维修组" prop="workTeam">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="form.workTeam"
|
|
|
|
v-model="form.workTeam"
|
|
|
@ -1034,12 +1051,12 @@
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
|
|
<el-tab-pane label="填写维修记录">
|
|
|
|
<el-tab-pane label="填写维修记录">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="维修人" prop="workPerson" label-width="120px">
|
|
|
|
<el-form-item label="维修人工号" prop="workPerson" label-width="120px">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="form.workPerson"
|
|
|
|
v-model="form.workPerson"
|
|
|
|
placeholder="请选择维修人"
|
|
|
|
placeholder="请选择维修人工号"
|
|
|
|
style="width: 250px"
|
|
|
|
style="width: 250px"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
@ -1055,6 +1072,16 @@
|
|
|
|
</ItemSelectPerson>
|
|
|
|
</ItemSelectPerson>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="维修人姓名" prop="workPersonName" label-width="120px">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="form.workPersonName"
|
|
|
|
|
|
|
|
style="width: 250px"
|
|
|
|
|
|
|
|
disabled
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="维修状态" prop="workStatus" label-width="120px">
|
|
|
|
<el-form-item label="维修状态" prop="workStatus" label-width="120px">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
@ -1071,19 +1098,8 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="维修费用" prop="workCost" label-width="120px">
|
|
|
|
|
|
|
|
<el-input-number
|
|
|
|
|
|
|
|
:min="0"
|
|
|
|
|
|
|
|
:step="1"
|
|
|
|
|
|
|
|
v-model="form.workCost"
|
|
|
|
|
|
|
|
style="width: 250px"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<span> 元</span>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="开始时间" prop="workStartTime" label-width="120px">
|
|
|
|
<el-form-item label="开始时间" prop="workStartTime" label-width="120px">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
@ -1121,7 +1137,7 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="故障报修时间" prop="orderBreakdownTime" v-if = "form.faultStartTime == null" label-width="120px">
|
|
|
|
<el-form-item label="故障报修时间" prop="orderBreakdownTime" v-if = "form.faultStartTime == null" label-width="120px">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
@ -1133,6 +1149,8 @@
|
|
|
|
disabled
|
|
|
|
disabled
|
|
|
|
></el-date-picker>
|
|
|
|
></el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="故障开始时间" prop="faultStartTime" v-if = "form.faultStartTime != null" label-width="120px">
|
|
|
|
<el-form-item label="故障开始时间" prop="faultStartTime" v-if = "form.faultStartTime != null" label-width="120px">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
@ -1154,8 +1172,6 @@
|
|
|
|
</el-input>
|
|
|
|
</el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="是否停机" prop="workDownMachine" abel-width="120px">
|
|
|
|
<el-form-item label="是否停机" prop="workDownMachine" abel-width="120px">
|
|
|
|
<el-radio-group v-model="form.workDownMachine">
|
|
|
|
<el-radio-group v-model="form.workDownMachine">
|
|
|
@ -1164,6 +1180,8 @@
|
|
|
|
</el-radio-group>
|
|
|
|
</el-radio-group>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
<!-- <el-col :span="8">
|
|
|
|
<!-- <el-col :span="8">
|
|
|
|
<el-form-item label="故障类型" prop="faultType">
|
|
|
|
<el-form-item label="故障类型" prop="faultType">
|
|
|
|
<el-cascader
|
|
|
|
<el-cascader
|
|
|
@ -1174,8 +1192,6 @@
|
|
|
|
></el-cascader>
|
|
|
|
></el-cascader>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col> -->
|
|
|
|
</el-col> -->
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="故障原因" prop="workReason" label-width="120px">
|
|
|
|
<el-form-item label="故障原因" prop="workReason" label-width="120px">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
@ -1218,6 +1234,17 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="维修费用" prop="workCost" label-width="120px">
|
|
|
|
|
|
|
|
<el-input-number
|
|
|
|
|
|
|
|
:min="0"
|
|
|
|
|
|
|
|
:step="1"
|
|
|
|
|
|
|
|
v-model="form.workCost"
|
|
|
|
|
|
|
|
style="width: 250px"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<span> 元</span>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
@ -1455,7 +1482,7 @@
|
|
|
|
<el-tab-pane label="查看维修记录">
|
|
|
|
<el-tab-pane label="查看维修记录">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="维修人" prop="workPerson" label-width="120px">
|
|
|
|
<el-form-item label="维修人工号" prop="workPerson" label-width="120px">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="form.workPerson"
|
|
|
|
v-model="form.workPerson"
|
|
|
|
style="width: 195px"
|
|
|
|
style="width: 195px"
|
|
|
@ -1464,6 +1491,16 @@
|
|
|
|
</el-input>
|
|
|
|
</el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="维修人姓名" prop="workPersonName" label-width="120px">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="form.workPersonName"
|
|
|
|
|
|
|
|
style="width: 195px"
|
|
|
|
|
|
|
|
disabled
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="维修状态" prop="workStatus" label-width="120px">
|
|
|
|
<el-form-item label="维修状态" prop="workStatus" label-width="120px">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
@ -1480,18 +1517,6 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="维修费用" prop="workCost" label-width="120px">
|
|
|
|
|
|
|
|
<el-input-number
|
|
|
|
|
|
|
|
:min="0"
|
|
|
|
|
|
|
|
:step="1"
|
|
|
|
|
|
|
|
disabled
|
|
|
|
|
|
|
|
v-model="form.workCost"
|
|
|
|
|
|
|
|
style="width: 175px"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<span> 元</span>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
@ -1564,8 +1589,6 @@
|
|
|
|
</el-input>
|
|
|
|
</el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="是否停机" prop="workDownMachine" label-width="120px">
|
|
|
|
<el-form-item label="是否停机" prop="workDownMachine" label-width="120px">
|
|
|
|
<el-radio-group v-model="form.workDownMachine" disabled>
|
|
|
|
<el-radio-group v-model="form.workDownMachine" disabled>
|
|
|
@ -1627,6 +1650,18 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="维修费用" prop="workCost" label-width="120px">
|
|
|
|
|
|
|
|
<el-input-number
|
|
|
|
|
|
|
|
:min="0"
|
|
|
|
|
|
|
|
:step="1"
|
|
|
|
|
|
|
|
disabled
|
|
|
|
|
|
|
|
v-model="form.workCost"
|
|
|
|
|
|
|
|
style="width: 175px"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<span> 元</span>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
|
<el-tab-pane label="查看备件申领记录">
|
|
|
|
<el-tab-pane label="查看备件申领记录">
|
|
|
@ -1774,6 +1809,7 @@ export default {
|
|
|
|
workPlanDownTime: null,
|
|
|
|
workPlanDownTime: null,
|
|
|
|
orderRelevance: null,
|
|
|
|
orderRelevance: null,
|
|
|
|
workPerson: null,
|
|
|
|
workPerson: null,
|
|
|
|
|
|
|
|
workPersonName: null,
|
|
|
|
workTeam: null,
|
|
|
|
workTeam: null,
|
|
|
|
workOutsource: null,
|
|
|
|
workOutsource: null,
|
|
|
|
workDownMachine: null,
|
|
|
|
workDownMachine: null,
|
|
|
@ -2084,6 +2120,7 @@ export default {
|
|
|
|
workPlanDownTime: null,
|
|
|
|
workPlanDownTime: null,
|
|
|
|
orderRelevance: null,
|
|
|
|
orderRelevance: null,
|
|
|
|
workPerson: null,
|
|
|
|
workPerson: null,
|
|
|
|
|
|
|
|
workPersonName: null,
|
|
|
|
workTeam: null,
|
|
|
|
workTeam: null,
|
|
|
|
workOutsource: null,
|
|
|
|
workOutsource: null,
|
|
|
|
workDownMachine: null,
|
|
|
|
workDownMachine: null,
|
|
|
@ -2410,6 +2447,7 @@ export default {
|
|
|
|
onItemSelectedPerson(obj) {
|
|
|
|
onItemSelectedPerson(obj) {
|
|
|
|
console.log(obj);
|
|
|
|
console.log(obj);
|
|
|
|
this.form.workPerson = obj[0].userName;
|
|
|
|
this.form.workPerson = obj[0].userName;
|
|
|
|
|
|
|
|
this.form.workPersonName = obj[0].nickName;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//设备选择
|
|
|
|
//设备选择
|
|
|
|
onItemSelectedEquipment(obj) {
|
|
|
|
onItemSelectedEquipment(obj) {
|
|
|
|