1、完善发货模板

2、完善运输计划
3、完善运单管理
This commit is contained in:
2026-08-05 15:52:24 +08:00
parent e683c2cc00
commit 433c611195
72 changed files with 7556 additions and 772 deletions

View File

@@ -63,25 +63,22 @@
</el-tag>
</template>
<template #menu="{ row }">
<el-button
<el-link
type="primary"
text
v-if="hasPermission('customer_archive_view')"
@click="openArchive(row, true)"
>
查看
</el-button>
<el-button
</el-link>
<el-link
type="primary"
text
v-if="hasPermission('customer_archive_edit') && row.approvalStatus !== 'reviewing'"
@click="openArchive(row)"
>
编辑
</el-button>
<el-button
</el-link>
<el-link
type="primary"
text
v-if="
hasPermission('customer_archive_submit') &&
['draft', 'rejected'].includes(row.approvalStatus)
@@ -89,39 +86,35 @@
@click="handleSubmitApproval(row)"
>
提交
</el-button>
<el-button
</el-link>
<el-link
type="success"
text
v-if="hasPermission('customer_archive_approve') && row.approvalStatus === 'reviewing'"
@click="handleApprove(row)"
>
审核通过
</el-button>
<el-button
</el-link>
<el-link
type="warning"
text
v-if="hasPermission('customer_archive_reject') && row.approvalStatus === 'reviewing'"
@click="handleReject(row)"
>
审核不通过
</el-button>
<el-button
</el-link>
<el-link
type="primary"
text
v-if="hasPermission('customer_archive_status')"
@click="handleStatus(row)"
>
{{ row.status === 1 ? '停用' : '启用' }}
</el-button>
<el-button
</el-link>
<el-link
type="danger"
text
v-if="hasPermission('customer_archive_delete') && row.approvalStatus === 'draft'"
@click="rowDel(row)"
>
删除
</el-button>
</el-link>
</template>
</avue-crud>
<empty-pagination
@@ -409,9 +402,9 @@
</el-table-column>
<el-table-column label="操作" min-width="135" align="center">
<template #default="{ row }">
<el-button type="primary" text @click="openScore(row.__raw, row.__rawIndex)">
<el-link type="primary" @click="openScore(row.__raw, row.__rawIndex)">
详情
</el-button>
</el-link>
</template>
</el-table-column>
</el-table>
@@ -447,10 +440,10 @@
</el-table-column>
<el-table-column label="操作" width="130" align="center" v-if="!readonly">
<template #default="{ row }">
<el-button type="primary" text @click="openContact(row.__raw, row.__rawIndex)">
<el-link type="primary" @click="openContact(row.__raw, row.__rawIndex)">
修改
</el-button>
<el-button type="danger" text @click="deleteContact(row.__rawIndex)">删除</el-button>
</el-link>
<el-link type="danger" @click="deleteContact(row.__rawIndex)">删除</el-link>
</template>
</el-table-column>
</el-table>
@@ -477,10 +470,10 @@
<el-table-column label="备注" prop="remark" min-width="180" />
<el-table-column label="操作" width="130" align="center" v-if="!readonly">
<template #default="{ row }">
<el-button type="primary" text @click="openReceipt(row.__raw, row.__rawIndex)">
<el-link type="primary" @click="openReceipt(row.__raw, row.__rawIndex)">
修改
</el-button>
<el-button type="danger" text @click="deleteReceipt(row.__rawIndex)">删除</el-button>
</el-link>
<el-link type="danger" @click="deleteReceipt(row.__rawIndex)">删除</el-link>
</template>
</el-table-column>
</el-table>
@@ -513,10 +506,10 @@
<el-table-column label="邮箱" prop="email" min-width="180" />
<el-table-column label="操作" width="130" align="center" v-if="!readonly">
<template #default="{ row }">
<el-button type="primary" text @click="openInvoice(row.__raw, row.__rawIndex)">
<el-link type="primary" @click="openInvoice(row.__raw, row.__rawIndex)">
修改
</el-button>
<el-button type="danger" text @click="deleteInvoice(row.__rawIndex)">删除</el-button>
</el-link>
<el-link type="danger" @click="deleteInvoice(row.__rawIndex)">删除</el-link>
</template>
</el-table-column>
</el-table>
@@ -602,9 +595,9 @@
</el-table-column>
<el-table-column label="操作" width="90" align="center" v-if="!readonly">
<template #default="{ $index }">
<el-button type="danger" text @click="qualificationFiles.splice($index, 1)">
<el-link type="danger" @click="qualificationFiles.splice($index, 1)">
删除
</el-button>
</el-link>
</template>
</el-table-column>
</el-table>
@@ -1083,9 +1076,9 @@
</el-table-column>
<el-table-column label="操作" width="120" align="center" v-if="!readonly">
<template #default="{ $index }">
<el-button type="primary" text @click="scoreAttachmentFiles.splice($index, 1)">
<el-link type="primary" @click="scoreAttachmentFiles.splice($index, 1)">
删除
</el-button>
</el-link>
</template>
</el-table-column>
</el-table>