|
@@ -338,7 +338,7 @@ const rules = reactive<FormRules>({
|
|
|
reportDetails: [{ required: true, message: '请填写生产动态', type: 'array' }],
|
|
reportDetails: [{ required: true, message: '请填写生产动态', type: 'array' }],
|
|
|
constructionBrief: [
|
|
constructionBrief: [
|
|
|
{
|
|
{
|
|
|
- required: isApproval.value,
|
|
|
|
|
|
|
+ required: !isMainFieldDisabled.value,
|
|
|
message: '请填写施工简报',
|
|
message: '请填写施工简报',
|
|
|
type: 'string',
|
|
type: 'string',
|
|
|
trigger: ['blur', 'change']
|
|
trigger: ['blur', 'change']
|
|
@@ -479,8 +479,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
header-class="mb-0!"
|
|
header-class="mb-0!"
|
|
|
size="100%"
|
|
size="100%"
|
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
|
- :close-on-press-escape="false"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ :close-on-press-escape="false">
|
|
|
<template #header>
|
|
<template #header>
|
|
|
<span class="text-xl font-bold text-[var(--el-text-color-primary)]">
|
|
<span class="text-xl font-bold text-[var(--el-text-color-primary)]">
|
|
|
{{ type === 'edit' ? '编辑日报' : '审批日报' }}
|
|
{{ type === 'edit' ? '编辑日报' : '审批日报' }}
|
|
@@ -495,13 +494,11 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:model="form"
|
|
:model="form"
|
|
|
v-loading="loading"
|
|
v-loading="loading"
|
|
|
require-asterisk-position="right"
|
|
require-asterisk-position="right"
|
|
|
- :disabled="formType === 'readonly' && type !== 'approval'"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ :disabled="formType === 'readonly' && type !== 'approval'">
|
|
|
<!-- 顶部提示区 -->
|
|
<!-- 顶部提示区 -->
|
|
|
<div class="flex flex-col gap-3 text-sm mb-4">
|
|
<div class="flex flex-col gap-3 text-sm mb-4">
|
|
|
<div
|
|
<div
|
|
|
- class="rounded-md border border-blue-100 bg-blue-50/80 p-3 dark:border-blue-900/30 dark:bg-blue-900/10"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="rounded-md border border-blue-100 bg-blue-50/80 p-3 dark:border-blue-900/30 dark:bg-blue-900/10">
|
|
|
<div class="flex flex-col gap-2.5">
|
|
<div class="flex flex-col gap-2.5">
|
|
|
<div class="flex items-center justify-between">
|
|
<div class="flex items-center justify-between">
|
|
|
<div class="text-gray-600 dark:text-gray-400">
|
|
<div class="text-gray-600 dark:text-gray-400">
|
|
@@ -509,8 +506,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
当日油耗
|
|
当日油耗
|
|
|
</div>
|
|
</div>
|
|
|
<span
|
|
<span
|
|
|
- class="inline-flex items-center rounded border border-red-200 bg-red-100 px-2 py-0.5 text-xs font-medium text-red-600 dark:bg-red-900/20 dark:border-red-800 dark:text-red-400"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="inline-flex items-center rounded border border-red-200 bg-red-100 px-2 py-0.5 text-xs font-medium text-red-600 dark:bg-red-900/20 dark:border-red-800 dark:text-red-400">
|
|
|
>9000升 红色预警
|
|
>9000升 红色预警
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -520,8 +516,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
进尺 + 其它生产 + 非生产 = 24H
|
|
进尺 + 其它生产 + 非生产 = 24H
|
|
|
</div>
|
|
</div>
|
|
|
<span
|
|
<span
|
|
|
- class="inline-flex items-center rounded border border-orange-200 bg-orange-100 px-2 py-0.5 text-xs font-medium text-orange-600 dark:bg-orange-900/20 dark:border-orange-800 dark:text-orange-400"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="inline-flex items-center rounded border border-orange-200 bg-orange-100 px-2 py-0.5 text-xs font-medium text-orange-600 dark:bg-orange-900/20 dark:border-orange-800 dark:text-orange-400">
|
|
|
≠24H 橙色预警
|
|
≠24H 橙色预警
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -529,12 +524,10 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
</div>
|
|
</div>
|
|
|
<div
|
|
<div
|
|
|
v-if="isEdit && form.opinion"
|
|
v-if="isEdit && form.opinion"
|
|
|
- class="flex gap-3 rounded-md border border-yellow-200 bg-yellow-50 p-3 dark:border-yellow-800 dark:bg-yellow-900/10"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="flex gap-3 rounded-md border border-yellow-200 bg-yellow-50 p-3 dark:border-yellow-800 dark:bg-yellow-900/10">
|
|
|
<Icon
|
|
<Icon
|
|
|
icon="ep:warning-filled"
|
|
icon="ep:warning-filled"
|
|
|
- class="mt-0.5 shrink-0 text-base text-yellow-600 dark:text-yellow-500"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="mt-0.5 shrink-0 text-base text-yellow-600 dark:text-yellow-500" />
|
|
|
<div class="flex flex-col">
|
|
<div class="flex flex-col">
|
|
|
<h4 class="mb-1 font-bold text-yellow-800 dark:text-yellow-500">审核意见</h4>
|
|
<h4 class="mb-1 font-bold text-yellow-800 dark:text-yellow-500">审核意见</h4>
|
|
|
<p class="leading-relaxed text-gray-600 dark:text-gray-400">{{ form.opinion }}</p>
|
|
<p class="leading-relaxed text-gray-600 dark:text-gray-400">{{ form.opinion }}</p>
|
|
@@ -559,8 +552,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
v-model="form.taskId"
|
|
v-model="form.taskId"
|
|
|
placeholder="请选择任务井"
|
|
placeholder="请选择任务井"
|
|
|
:options="wellOptions"
|
|
:options="wellOptions"
|
|
|
- :disabled="form.auditStatus !== 20 && form.auditStatus !== 30"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="form.auditStatus !== 20 && form.auditStatus !== 30" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="施工区域" prop="location">
|
|
<el-form-item label="施工区域" prop="location">
|
|
|
<el-input v-model="form.location" disabled />
|
|
<el-input v-model="form.location" disabled />
|
|
@@ -569,14 +561,12 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
<el-select
|
|
<el-select
|
|
|
v-model="form.rigStatus"
|
|
v-model="form.rigStatus"
|
|
|
placeholder="请选择施工状态"
|
|
placeholder="请选择施工状态"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="(dict, index) in getStrDictOptions(DICT_TYPE.PMS_PROJECT_TASK_RY_SCHEDULE)"
|
|
v-for="(dict, index) in getStrDictOptions(DICT_TYPE.PMS_PROJECT_TASK_RY_SCHEDULE)"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
:label="dict.label"
|
|
:label="dict.label"
|
|
|
- :value="dict.value"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :value="dict.value" />
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="设计井深(m)" prop="designWellDepth">
|
|
<el-form-item label="设计井深(m)" prop="designWellDepth">
|
|
@@ -590,8 +580,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
align="left"
|
|
align="left"
|
|
|
- class="w-full!"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="w-full!" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="当日用电量(kWh)" prop="dailyPowerUsage">
|
|
<el-form-item label="当日用电量(kWh)" prop="dailyPowerUsage">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -602,8 +591,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
align="left"
|
|
align="left"
|
|
|
- class="w-full!"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="w-full!" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="当日油耗(升)" prop="dailyFuel">
|
|
<el-form-item label="当日油耗(升)" prop="dailyFuel">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -615,8 +603,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
align="left"
|
|
align="left"
|
|
|
- class="w-full!"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="w-full!" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="泥浆密度(g/cm³)" prop="mudDensity">
|
|
<el-form-item label="泥浆密度(g/cm³)" prop="mudDensity">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -627,8 +614,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
align="left"
|
|
align="left"
|
|
|
- class="w-full!"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="w-full!" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="泥浆粘度(S)" prop="mudViscosity">
|
|
<el-form-item label="泥浆粘度(S)" prop="mudViscosity">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -639,8 +625,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
align="left"
|
|
align="left"
|
|
|
- class="w-full!"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="w-full!" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="水平段长度(m)" prop="lateralLength">
|
|
<el-form-item label="水平段长度(m)" prop="lateralLength">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -651,8 +636,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
align="left"
|
|
align="left"
|
|
|
- class="w-full!"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="w-full!" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="井斜(°)" prop="wellInclination">
|
|
<el-form-item label="井斜(°)" prop="wellInclination">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -663,8 +647,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
align="left"
|
|
align="left"
|
|
|
- class="w-full!"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="w-full!" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="方位(°)" prop="azimuth">
|
|
<el-form-item label="方位(°)" prop="azimuth">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -675,8 +658,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
align="left"
|
|
align="left"
|
|
|
- class="w-full!"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="w-full!" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="设计井身结构" prop="designWellStruct">
|
|
<el-form-item label="设计井身结构" prop="designWellStruct">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -684,8 +666,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
placeholder=""
|
|
placeholder=""
|
|
|
type="textarea"
|
|
type="textarea"
|
|
|
disabled
|
|
disabled
|
|
|
- autosize
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ autosize />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="人员情况" prop="personnel">
|
|
<el-form-item label="人员情况" prop="personnel">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -694,8 +675,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
type="textarea"
|
|
type="textarea"
|
|
|
:max-length="1000"
|
|
:max-length="1000"
|
|
|
autosize
|
|
autosize
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="col-span-2" label="备注" prop="remark">
|
|
<el-form-item class="col-span-2" label="备注" prop="remark">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -703,8 +683,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
type="textarea"
|
|
type="textarea"
|
|
|
autosize
|
|
autosize
|
|
|
maxlength="1000"
|
|
maxlength="1000"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<div class="col-span-2">
|
|
<div class="col-span-2">
|
|
@@ -718,8 +697,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
link
|
|
link
|
|
|
:icon="Plus"
|
|
:icon="Plus"
|
|
|
@click="addProductionStatusRow"
|
|
@click="addProductionStatusRow"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled">
|
|
|
添加一行
|
|
添加一行
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</div>
|
|
</div>
|
|
@@ -736,8 +714,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
message: '请选择日期',
|
|
message: '请选择日期',
|
|
|
trigger: ['change', 'blur'],
|
|
trigger: ['change', 'blur'],
|
|
|
type: 'number'
|
|
type: 'number'
|
|
|
- }"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ }">
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
v-model="row.reportDate"
|
|
v-model="row.reportDate"
|
|
|
placeholder="选择日期"
|
|
placeholder="选择日期"
|
|
@@ -745,8 +722,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
class="w-full!"
|
|
class="w-full!"
|
|
|
value-format="x"
|
|
value-format="x"
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
- @change="inputCurrentDepth()"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ @change="inputCurrentDepth()" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
</ZmTableColumn>
|
|
</ZmTableColumn>
|
|
@@ -761,8 +737,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
required: true,
|
|
required: true,
|
|
|
message: '请选择开始时间',
|
|
message: '请选择开始时间',
|
|
|
trigger: ['change', 'blur']
|
|
trigger: ['change', 'blur']
|
|
|
- }"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ }">
|
|
|
<el-time-picker
|
|
<el-time-picker
|
|
|
v-model="row.startTime"
|
|
v-model="row.startTime"
|
|
|
placeholder="选择开始时间"
|
|
placeholder="选择开始时间"
|
|
@@ -771,8 +746,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
value-format="HH:mm"
|
|
value-format="HH:mm"
|
|
|
class="w-full!"
|
|
class="w-full!"
|
|
|
@change="acalculateDuration(row)"
|
|
@change="acalculateDuration(row)"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
</ZmTableColumn>
|
|
</ZmTableColumn>
|
|
@@ -786,8 +760,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
required: true,
|
|
required: true,
|
|
|
message: '请选择结束时间',
|
|
message: '请选择结束时间',
|
|
|
trigger: ['change', 'blur']
|
|
trigger: ['change', 'blur']
|
|
|
- }"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ }">
|
|
|
<el-time-picker
|
|
<el-time-picker
|
|
|
v-model="row.endTime"
|
|
v-model="row.endTime"
|
|
|
placeholder="选择结束时间"
|
|
placeholder="选择结束时间"
|
|
@@ -796,8 +769,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
value-format="HH:mm"
|
|
value-format="HH:mm"
|
|
|
class="w-full!"
|
|
class="w-full!"
|
|
|
@change="acalculateDuration(row)"
|
|
@change="acalculateDuration(row)"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
</ZmTableColumn>
|
|
</ZmTableColumn>
|
|
@@ -809,8 +781,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
v-if="$index >= 0"
|
|
v-if="$index >= 0"
|
|
|
:prop="`reportDetails.${$index}.currentOperation`"
|
|
:prop="`reportDetails.${$index}.currentOperation`"
|
|
|
:rules="{ required: true, message: '请输入工况', trigger: ['change', 'blur'] }"
|
|
:rules="{ required: true, message: '请输入工况', trigger: ['change', 'blur'] }"
|
|
|
- class="mb-0!"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="mb-0!">
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="row.currentOperation"
|
|
v-model="row.currentOperation"
|
|
|
type="textarea"
|
|
type="textarea"
|
|
@@ -818,8 +789,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
show-word-limit
|
|
show-word-limit
|
|
|
:maxlength="1000"
|
|
:maxlength="1000"
|
|
|
placeholder="请输入工况"
|
|
placeholder="请输入工况"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
</ZmTableColumn>
|
|
</ZmTableColumn>
|
|
@@ -837,8 +807,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
},
|
|
},
|
|
|
{ validator: validateLastCurrentDepth, trigger: ['change', 'blur'] }
|
|
{ validator: validateLastCurrentDepth, trigger: ['change', 'blur'] }
|
|
|
]"
|
|
]"
|
|
|
- class="mb-0!"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="mb-0!">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
|
v-model="row.currentDepth"
|
|
v-model="row.currentDepth"
|
|
|
:min="0"
|
|
:min="0"
|
|
@@ -847,8 +816,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
align="left"
|
|
align="left"
|
|
|
placeholder="请输入结束井深"
|
|
placeholder="请输入结束井深"
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
- @input="() => inputCurrentDepth()"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ @input="() => inputCurrentDepth()">
|
|
|
<template #suffix> m </template>
|
|
<template #suffix> m </template>
|
|
|
</el-input-number>
|
|
</el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -861,8 +829,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
v-if="$index >= 0"
|
|
v-if="$index >= 0"
|
|
|
:prop="`reportDetails.${$index}.constructionDetail`"
|
|
:prop="`reportDetails.${$index}.constructionDetail`"
|
|
|
:rules="{ required: true, message: '请输入详细描述', trigger: 'blur' }"
|
|
:rules="{ required: true, message: '请输入详细描述', trigger: 'blur' }"
|
|
|
- class="mb-0!"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="mb-0!">
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="row.constructionDetail"
|
|
v-model="row.constructionDetail"
|
|
|
type="textarea"
|
|
type="textarea"
|
|
@@ -870,8 +837,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
show-word-limit
|
|
show-word-limit
|
|
|
:maxlength="1000"
|
|
:maxlength="1000"
|
|
|
placeholder="请输入详细描述"
|
|
placeholder="请输入详细描述"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
</ZmTableColumn>
|
|
</ZmTableColumn>
|
|
@@ -883,8 +849,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
type="danger"
|
|
type="danger"
|
|
|
:icon="Delete"
|
|
:icon="Delete"
|
|
|
@click="removeProductionStatusRow($index)"
|
|
@click="removeProductionStatusRow($index)"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled">
|
|
|
删除
|
|
删除
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
@@ -902,8 +867,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
resize="none"
|
|
resize="none"
|
|
|
:maxlength="1000"
|
|
:maxlength="1000"
|
|
|
placeholder="请输入当日施工简报"
|
|
placeholder="请输入当日施工简报"
|
|
|
- :disabled="!isApproval"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item class="col-span-2" label="下步计划" prop="nextPlan">
|
|
<el-form-item class="col-span-2" label="下步计划" prop="nextPlan">
|
|
@@ -915,8 +879,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
resize="none"
|
|
resize="none"
|
|
|
:maxlength="1000"
|
|
:maxlength="1000"
|
|
|
placeholder="请输入下步计划"
|
|
placeholder="请输入下步计划"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<!-- 时间信息 -->
|
|
<!-- 时间信息 -->
|
|
@@ -937,8 +900,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
align="left"
|
|
align="left"
|
|
|
placeholder="进尺+其他+非生产=24H"
|
|
placeholder="进尺+其他+非生产=24H"
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
- :class="{ 'orange-input': orange }"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :class="{ 'orange-input': orange }" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="其它生产时间(H)" prop="otherProductionTime">
|
|
<el-form-item label="其它生产时间(H)" prop="otherProductionTime">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
@@ -950,8 +912,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
align="left"
|
|
align="left"
|
|
|
placeholder="请输入其它生产时间(H)"
|
|
placeholder="请输入其它生产时间(H)"
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
- :class="{ 'orange-input': orange }"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :class="{ 'orange-input': orange }" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<!-- 循环渲染11个具体非生产时间 -->
|
|
<!-- 循环渲染11个具体非生产时间 -->
|
|
@@ -959,8 +920,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
v-for="field in NON_PROD_FIELDS"
|
|
v-for="field in NON_PROD_FIELDS"
|
|
|
:key="field.key"
|
|
:key="field.key"
|
|
|
:label="field.label + '(H)'"
|
|
:label="field.label + '(H)'"
|
|
|
- :prop="field.key"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ :prop="field.key">
|
|
|
<el-input-number
|
|
<el-input-number
|
|
|
class="!w-full"
|
|
class="!w-full"
|
|
|
:min="0"
|
|
:min="0"
|
|
@@ -969,8 +929,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
align="left"
|
|
align="left"
|
|
|
:disabled="isMainFieldDisabled"
|
|
:disabled="isMainFieldDisabled"
|
|
|
- :class="{ 'orange-input': orange }"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :class="{ 'orange-input': orange }" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<!-- 其他非生产原因 -->
|
|
<!-- 其他非生产原因 -->
|
|
@@ -978,8 +937,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="form.otherNptReason"
|
|
v-model="form.otherNptReason"
|
|
|
placeholder="请输入其他非生产原因"
|
|
placeholder="请输入其他非生产原因"
|
|
|
- :disabled="isMainFieldDisabled"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="isMainFieldDisabled" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<!-- 审批意见 -->
|
|
<!-- 审批意见 -->
|
|
@@ -991,8 +949,7 @@ const inputCurrentDepth = useDebounceFn(function inputCurrentDepth() {
|
|
|
maxlength="1000"
|
|
maxlength="1000"
|
|
|
type="textarea"
|
|
type="textarea"
|
|
|
:autosize="{ minRows: 3 }"
|
|
:autosize="{ minRows: 3 }"
|
|
|
- :disabled="formType === 'readonly'"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :disabled="formType === 'readonly'" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|