|
@@ -72,8 +72,9 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<HcTable
|
|
<HcTable
|
|
- ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" is-check
|
|
|
|
- border @selection-change="tableSelection"
|
|
|
|
|
|
+ ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"
|
|
|
|
+ is-new :index-style="{ width: 60 }" is-check :check-style="{ width: 29 }"
|
|
|
|
+ @selection-change="tableSelection"
|
|
>
|
|
>
|
|
<template #materialType="{ row }">{{ getRowTableMaterialType(row.materialType) }}</template>
|
|
<template #materialType="{ row }">{{ getRowTableMaterialType(row.materialType) }}</template>
|
|
<template #materialCount="{ row }">{{ row.materialCount === -1 ? "" : row.materialCount }}</template>
|
|
<template #materialCount="{ row }">{{ row.materialCount === -1 ? "" : row.materialCount }}</template>
|
|
@@ -178,7 +179,7 @@
|
|
:loading="copyTableLoading" :show="copyTableModal" is-table title="复制材料登记信息" widths="60rem"
|
|
:loading="copyTableLoading" :show="copyTableModal" is-table title="复制材料登记信息" widths="60rem"
|
|
@close="copyTableModalClose" @save="copyTableClick"
|
|
@close="copyTableModalClose" @save="copyTableClick"
|
|
>
|
|
>
|
|
- <HcTable :column="copyTableColumn" :datas="copyTableData" border>
|
|
|
|
|
|
+ <HcTable :column="copyTableColumn" :datas="copyTableData" is-new :index-style="{ width: 60 }">
|
|
<template #materialNumber="{ row }">
|
|
<template #materialNumber="{ row }">
|
|
<el-input
|
|
<el-input
|
|
v-model="row.materialNumber" :class="row.isMaterialNumber ? 'is-error' : ''"
|
|
v-model="row.materialNumber" :class="row.isMaterialNumber ? 'is-error' : ''"
|
|
@@ -280,7 +281,7 @@
|
|
>
|
|
>
|
|
<HcTable
|
|
<HcTable
|
|
:column="samplingTableColumn" :datas="samplingTableData" :is-index="false"
|
|
:column="samplingTableColumn" :datas="samplingTableData" :is-index="false"
|
|
- :loading="samplingTableLoading" border
|
|
|
|
|
|
+ :loading="samplingTableLoading" is-new
|
|
>
|
|
>
|
|
<template #isOutsourcing="{ row }">
|
|
<template #isOutsourcing="{ row }">
|
|
<span>{{ row.isOutsourcing === 1 ? '是' : '否' }}</span>
|
|
<span>{{ row.isOutsourcing === 1 ? '是' : '否' }}</span>
|