优化页面

pull/781/head
苑坤 2025-05-01 18:55:06 +08:00
parent e7f020d3df
commit af6b4e035d
2 changed files with 9 additions and 9 deletions

View File

@ -203,7 +203,7 @@
</ContentWrap>
<el-row>
<el-col :span="8">
<el-form-item label="线上总金额" prop="onlinePrice">
<el-form-item label="线上总金额(元)" prop="onlinePrice">
<el-input
disabled
v-model="formData.onlinePrice"
@ -212,7 +212,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="线下总金额" prop="offlinePrice">
<el-form-item label="线下总金额(元)" prop="offlinePrice">
<el-input
disabled
v-model="formData.offlinePrice"
@ -221,7 +221,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="总金额" prop="totalPrice">
<el-form-item label="总金额(元)" prop="totalPrice">
<el-input
disabled
v-model="formData.totalPrice"

View File

@ -10,14 +10,14 @@
>
<el-table :data="formData" class="-mt-10px">
<el-table-column label="序号" type="index" align="center" width="60" />
<el-table-column label="产品名称" align="center" prop="productName" />
<el-table-column label="产品名称" align="left" prop="productName" width="200" />
<el-table-column label="产品类别" align="center" prop="category" width="160">
<template #default="scope">
<dict-tag :type="DICT_TYPE.CRM_PRODUCT_CATEGORY" :value="scope.row.category" />
</template>
</el-table-column>
<el-table-column label="产品明细" align="center" prop="detailType" width="160">
<el-table-column label="产品明细" align="center" prop="detailType" width="240">
<template #default="{ row, $index }">
<el-form-item :prop="`${$index}.detailType`" :rules="formRules.detailType" class="mb-0px!">
<el-select v-model="row.detailType" placeholder="请选择状态" >
@ -31,12 +31,12 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column label="单位" min-width="80">
<el-table-column label="单位" align="center" min-width="80">
<template #default="scope">
<dict-tag :type="DICT_TYPE.CRM_PRODUCT_UNIT" :value="scope.row.productUnit" />
</template>
</el-table-column>
<el-table-column label="线上价格(元)" fixed="right" min-width="140">
<el-table-column label="线上价格(元)" fixed="right" min-width="100">
<template #default="{ row, $index }">
<el-form-item :prop="`${$index}.onlinePrice`" :rules="formRules.onlinePrice" class="mb-0px!">
<el-input-number
@ -49,7 +49,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column label="线下价格(元)" fixed="right" min-width="140">
<el-table-column label="线下价格(元)" fixed="right" min-width="100">
<template #default="{ row, $index }">
<el-form-item :prop="`${$index}.offlinePrice`" :rules="formRules.offlinePrice" class="mb-0px!">
<el-input-number
@ -62,7 +62,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column label="合计" prop="totalPrice" fixed="right" min-width="140">
<el-table-column label="合计(元)" prop="totalPrice" fixed="right" min-width="100">
<template #default="{ row, $index }">
<el-form-item :prop="`${$index}.totalPrice`" class="mb-0px!">
<el-input disabled v-model="row.totalPrice" :formatter="erpPriceInputFormatter" />