|
@@ -3,10 +3,10 @@
|
|
|
<app-drawer title="延期申请" :width="480" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
<app-drawer title="延期申请" :width="480" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
<el-form ref="formRef" label-width="110px" :model="formData" :rules="formRules">
|
|
<el-form ref="formRef" label-width="110px" :model="formData" :rules="formRules">
|
|
|
<el-form-item label="关联单号">
|
|
<el-form-item label="关联单号">
|
|
|
- <span>{{ selectedRow.relatedorderid }}</span>
|
|
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.relatedorderid) }}</span>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="当前步骤">
|
|
<el-form-item label="当前步骤">
|
|
|
- <span>{{ getStepTypeName(selectedRow.steptypeid) }}</span>
|
|
|
|
|
|
|
+ <span>{{ handleNumberValue(getStepTypeName(selectedRow.steptypeid)) }}</span>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="申请延期天数" prop="delaydays">
|
|
<el-form-item label="申请延期天数" prop="delaydays">
|
|
|
<el-input type="number" placeholder="请输入" v-model="formData.delaydays" />
|
|
<el-input type="number" placeholder="请输入" v-model="formData.delaydays" />
|
|
@@ -24,8 +24,8 @@
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
import { ref, PropType } from 'vue'
|
|
import { ref, PropType } from 'vue'
|
|
|
-import { ElMessage } from 'element-plus'
|
|
|
|
|
-import type { FormInstance, FormRules } from 'element-plus'
|
|
|
|
|
|
|
+import { ElMessage, FormInstance, FormRules } from 'element-plus'
|
|
|
|
|
+import { handleNoneValue, handleNumberValue } from '@/filters'
|
|
|
import { getStepTypeName } from '@/constants/order'
|
|
import { getStepTypeName } from '@/constants/order'
|
|
|
import { usePerformanceDelay } from '@/business/order'
|
|
import { usePerformanceDelay } from '@/business/order'
|
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|