fix(crm): 修改表格列标签从"到期日"和"应收金额"为"收款日期"和"收款金额"
移除日期标签显示逻辑,仅保留日期格式化显示
This commit is contained in:
@@ -70,14 +70,14 @@
|
|||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column label="应收ID" align="center" prop="receivableId" v-if="false"/>
|
<el-table-column label="应收ID" align="center" prop="receivableId" v-if="false"/>
|
||||||
<!-- <el-table-column label="客户" align="center" prop="customerName" /> -->
|
<!-- <el-table-column label="客户" align="center" prop="customerName" /> -->
|
||||||
<el-table-column label="到期日" align="center" prop="dueDate" width="180">
|
<el-table-column label="收款日期" align="center" prop="dueDate" width="180">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ parseTime(scope.row.dueDate, '{y}-{m}-{d}') }}</span>
|
<span>{{ parseTime(scope.row.dueDate, '{y}-{m}-{d}') }}</span>
|
||||||
<el-tag v-if="new Date(scope.row.dueDate) < new Date()" type="danger">过期</el-tag>
|
<!-- <el-tag v-if="new Date(scope.row.dueDate) < new Date()" type="danger">过期</el-tag>
|
||||||
<el-tag v-else-if="new Date(scope.row.dueDate) > new Date()" type="success">还剩{{ parseInt((new Date(scope.row.dueDate) - new Date()) / (1000 * 60 * 60 * 24)) }}天</el-tag>
|
<el-tag v-else-if="new Date(scope.row.dueDate) > new Date()" type="success">还剩{{ parseInt((new Date(scope.row.dueDate) - new Date()) / (1000 * 60 * 60 * 24)) }}天</el-tag> -->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="应收金额" align="center" prop="amount" />
|
<el-table-column label="收款金额" align="center" prop="amount" />
|
||||||
<!-- <el-table-column label="已收金额" align="center" prop="paidAmount" /> -->
|
<!-- <el-table-column label="已收金额" align="center" prop="paidAmount" /> -->
|
||||||
<!-- <el-table-column label="未收金额" align="center" prop="balanceAmount" /> -->
|
<!-- <el-table-column label="未收金额" align="center" prop="balanceAmount" /> -->
|
||||||
<!-- <el-table-column label="状态" align="center" prop="status" /> -->
|
<!-- <el-table-column label="状态" align="center" prop="status" /> -->
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
v-model="form.dueDate"
|
v-model="form.dueDate"
|
||||||
type="datetime"
|
type="datetime"
|
||||||
value-format="yyyy-MM-dd HH:mm:ss"
|
value-format="yyyy-MM-dd HH:mm:ss"
|
||||||
placeholder="请选择到期日">
|
placeholder="请选择收款日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="收款金额" prop="amount">
|
<el-form-item label="收款金额" prop="amount">
|
||||||
|
|||||||
Reference in New Issue
Block a user