|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
<template>
|
|
|
|
|
<el-card class="hl-card" style="position: relative" >
|
|
|
|
|
<template #header>
|
|
|
|
|
<span>编辑页</span>
|
|
|
|
|
<span>详情页</span>
|
|
|
|
|
</template>
|
|
|
|
|
<div class="abstatus">
|
|
|
|
|
<img src="/src/assets/imgs/status/status8.png" v-if="formData.status == 2" alt="" />
|
|
|
|
@ -159,8 +159,8 @@
|
|
|
|
|
<el-form ref="subFormRef" :model="formData.matItemDOList" :rules="subFormRules"
|
|
|
|
|
v-loading="subFormLoading" label-width="0">
|
|
|
|
|
<el-table :data="formData.matItemDOList" class="hl-table">
|
|
|
|
|
<el-table-column type="index" label="序号" :width="80" />
|
|
|
|
|
<el-table-column prop="matId" min-width="180" align="center">
|
|
|
|
|
<el-table-column type="index" label="序号" fixed align="center" width="60" />
|
|
|
|
|
<el-table-column prop="matId" min-width="200" fixed align="center">
|
|
|
|
|
<template #header> <span class="hl-table_header">*</span>物料编码/名称 </template>
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-form-item :prop="`${scope.$index}.matId`" :rules="subFormRules.matId" class="mb-0px!">
|
|
|
|
@ -182,13 +182,13 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="matSpec" label="规格/型号" min-width="120" align="center" />
|
|
|
|
|
<el-table-column prop="matUnit" label="系统单位" min-width="120" align="center">
|
|
|
|
|
<el-table-column prop="matUnit" label="系统单位" min-width="100" align="center">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :type="DICT_TYPE.HELI_MATERIAL_UNIT" :value="scope.row.matUnit"
|
|
|
|
|
v-if="scope.row.matUnit ? true : false" disabled/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="purchaseAmount" min-width="120" align="center">
|
|
|
|
|
<el-table-column prop="purchaseAmount" min-width="180" align="center">
|
|
|
|
|
<template #header><span class="hl-table_header">*</span>采购数量</template>
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-form-item :prop="`${scope.$index}.purchaseAmount`" :rules="subFormRules.purchaseAmount" class="mb-0px!">
|
|
|
|
@ -196,7 +196,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="estimatedPrice" min-width="120" align="center">
|
|
|
|
|
<el-table-column prop="estimatedPrice" min-width="200" align="center">
|
|
|
|
|
<template #header><span class="hl-table_header">*</span>暂估价金额</template>
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-form-item :prop="`${scope.$index}.estimatedPrice`" :rules="subFormRules.estimatedPrice" class="mb-0px!">
|
|
|
|
@ -204,7 +204,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="actualPrice" min-width="120" align="center">
|
|
|
|
|
<el-table-column prop="actualPrice" min-width="200" align="center">
|
|
|
|
|
<template #header>实际价金额</template>
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-form-item :prop="`${scope.$index}.actualPrice`" class="mb-0px!">
|
|
|
|
@ -212,7 +212,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column min-width="150" align="center">
|
|
|
|
|
<el-table-column min-width="180" align="center">
|
|
|
|
|
<template #header> <span class="hl-table_header">*</span>预计到货日期 </template>
|
|
|
|
|
<template #default="{ row, $index }">
|
|
|
|
|
<el-form-item :prop="`${$index}.arriveTime`" class="mb-0px!">
|
|
|
|
@ -223,10 +223,10 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="description" min-width="180" label="备注" align="center">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-input v-model="scope.row.description" disabled />
|
|
|
|
|
<el-input v-model="scope.row.description" disabled class="!w-180px" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" align="center" width="240">
|
|
|
|
|
<el-table-column label="操作" align="center" min-width="100" fixed="right">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-button link type="danger" size="small" @click.prevent="handleDelete2(scope.$index)" disabled>
|
|
|
|
|
删除
|
|
|
|
|