zy 2025-05-12 12:02:17 +08:00
commit 9026738299
3 changed files with 42 additions and 42 deletions

View File

@ -37,7 +37,7 @@
<dict-tag :type="DICT_TYPE.CRM_PRODUCT_UNIT" :value="scope.row.productUnit" /> <dict-tag :type="DICT_TYPE.CRM_PRODUCT_UNIT" :value="scope.row.productUnit" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="线上价格(元)" fixed="right" min-width="100"> <el-table-column label="线上(元)" align="center" fixed="right" min-width="100">
<template #default="{ row, $index }"> <template #default="{ row, $index }">
<el-form-item :prop="`${$index}.onlinePrice`" :rules="formRules.onlinePrice" class="mb-0px!" v-if="!disabled"> <el-form-item :prop="`${$index}.onlinePrice`" :rules="formRules.onlinePrice" class="mb-0px!" v-if="!disabled">
<el-input <el-input
@ -49,7 +49,7 @@
<div v-else>{{row.onlinePrice}}</div> <div v-else>{{row.onlinePrice}}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="线下价格(元)" fixed="right" min-width="100"> <el-table-column label="线下(元)" align="center" fixed="right" min-width="100">
<template #default="{ row, $index }"> <template #default="{ row, $index }">
<el-form-item :prop="`${$index}.offlinePrice`" :rules="formRules.offlinePrice" class="mb-0px!" v-if="!disabled"> <el-form-item :prop="`${$index}.offlinePrice`" :rules="formRules.offlinePrice" class="mb-0px!" v-if="!disabled">
<el-input <el-input
@ -61,7 +61,7 @@
<div v-else>{{row.offlinePrice}}</div> <div v-else>{{row.offlinePrice}}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="合计(元)" prop="totalPrice" fixed="right" min-width="100"> <el-table-column label="合计(元)" prop="totalPrice" align="center" fixed="right" min-width="100">
<template #default="{ row, $index }"> <template #default="{ row, $index }">
<el-form-item :prop="`${$index}.totalPrice`" class="mb-0px!"> <el-form-item :prop="`${$index}.totalPrice`" class="mb-0px!">
{{row.totalPrice}} {{row.totalPrice}}

View File

@ -116,13 +116,13 @@
width="140" width="140"
:formatter="erpPriceTableColumnFormatter" :formatter="erpPriceTableColumnFormatter"
/> />
<el-table-column <!-- <el-table-column
align="center" align="center"
label="下单时间" label="下单时间"
prop="orderDate" prop="orderDate"
width="120" width="120"
:formatter="dateFormatter2" :formatter="dateFormatter2"
/> />-->
<el-table-column <el-table-column
align="center" align="center"
label="合同开始时间" label="合同开始时间"
@ -137,44 +137,44 @@
width="120" width="120"
:formatter="dateFormatter2" :formatter="dateFormatter2"
/> />
<el-table-column align="center" label="客户签约人" prop="signContactName" width="130"> <!-- <el-table-column align="center" label="客户签约人" prop="signContactName" width="130">
<!-- <template #default="scope"> <template #default="scope">
<el-link <el-link
:underline="false" :underline="false"
type="primary" type="primary"
@click="openContactDetail(scope.row.signContactId)" @click="openContactDetail(scope.row.signContactId)"
> >
{{ scope.row.signContactName }} {{ scope.row.signContactName }}
</el-link> </el-link>
</template> --> </template>
</el-table-column> </el-table-column>-->
<el-table-column align="center" label="公司签约人" prop="signUserName" width="130" /> <!-- <el-table-column align="center" label="公司签约人" prop="signUserName" width="130" />-->
<el-table-column align="center" label="备注" prop="remark" width="200" /> <!-- <el-table-column align="center" label="备注" prop="remark" width="200" />
<el-table-column <el-table-column
align="center" align="center"
label="已回款金额(元)" label="已回款金额(元)"
prop="totalReceivablePrice" prop="totalReceivablePrice"
width="140" width="140"
:formatter="erpPriceTableColumnFormatter" :formatter="erpPriceTableColumnFormatter"
/> />
<el-table-column <el-table-column
align="center" align="center"
label="未回款金额(元)" label="未回款金额(元)"
prop="totalReceivablePrice" prop="totalReceivablePrice"
width="140" width="140"
:formatter="erpPriceTableColumnFormatter" :formatter="erpPriceTableColumnFormatter"
> >
<template #default="scope"> <template #default="scope">
{{ erpPriceInputFormatter(scope.row.totalPrice - scope.row.totalReceivablePrice) }} {{ erpPriceInputFormatter(scope.row.totalPrice - scope.row.totalReceivablePrice) }}
</template> </template>
</el-table-column> </el-table-column>-->
<el-table-column <!-- <el-table-column
:formatter="dateFormatter" :formatter="dateFormatter"
align="center" align="center"
label="最后跟进时间" label="最后跟进时间"
prop="contactLastTime" prop="contactLastTime"
width="180px" width="180px"
/> />-->
<el-table-column align="center" label="负责人" prop="ownerUserName" width="120" /> <el-table-column align="center" label="负责人" prop="ownerUserName" width="120" />
<el-table-column align="center" label="所属部门" prop="ownerUserDeptName" width="100px" /> <el-table-column align="center" label="所属部门" prop="ownerUserDeptName" width="100px" />
<el-table-column <el-table-column
@ -192,12 +192,12 @@
width="180px" width="180px"
/> />
<el-table-column align="center" label="创建人" prop="creatorName" width="120" /> <el-table-column align="center" label="创建人" prop="creatorName" width="120" />
<el-table-column align="center" label="合同状态" prop="auditStatus" width="120"> <el-table-column align="center" fixed="right" label="合同状态" prop="auditStatus" width="120">
<template #default="scope"> <template #default="scope">
<dict-tag :type="DICT_TYPE.CRM_AUDIT_STATUS" :value="scope.row.auditStatus" /> <dict-tag :type="DICT_TYPE.CRM_AUDIT_STATUS" :value="scope.row.auditStatus" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="250"> <el-table-column align="center" fixed="right" label="操作" width="180">
<template #default="scope"> <template #default="scope">
<div style="display:flex"> <div style="display:flex">
<el-button <el-button
@ -264,7 +264,7 @@
'crm:contract:change' 'crm:contract:change'
]" ]"
> >
<el-button type="primary" link><Icon icon="ep:d-arrow-right" /> 更多</el-button> <el-button type="primary" link>更多<Icon icon="ep:d-arrow-right" /> </el-button>
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item <el-dropdown-item

View File

@ -216,7 +216,7 @@
'system:permission:assign-user-role' 'system:permission:assign-user-role'
]" ]"
> >
<el-button type="primary" link><Icon icon="ep:d-arrow-right" /> 更多</el-button> <el-button type="primary" link>更多<Icon icon="ep:d-arrow-right" /> </el-button>
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item <el-dropdown-item