1、完善发货模板
2、完善运输计划 3、完善运单管理
This commit is contained in:
@@ -69,38 +69,34 @@
|
||||
</el-tag>
|
||||
</template>
|
||||
<template #menu="{ row }">
|
||||
<el-button
|
||||
<el-link
|
||||
type="primary"
|
||||
text
|
||||
v-if="hasPermission('credit_score_quantification_edit')"
|
||||
@click="openConfig(row)"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
</el-link>
|
||||
<el-link
|
||||
type="primary"
|
||||
text
|
||||
v-if="hasPermission('credit_score_quantification_publish') && row.status === 3"
|
||||
@click="handlePublish(row)"
|
||||
>
|
||||
发布
|
||||
</el-button>
|
||||
<el-button
|
||||
</el-link>
|
||||
<el-link
|
||||
type="primary"
|
||||
text
|
||||
v-if="hasPermission('credit_score_quantification_status') && row.status !== 3"
|
||||
@click="handleStatus(row)"
|
||||
>
|
||||
{{ row.status === 1 ? '停用' : '启用' }}
|
||||
</el-button>
|
||||
<el-button
|
||||
</el-link>
|
||||
<el-link
|
||||
type="danger"
|
||||
text
|
||||
v-if="hasPermission('credit_score_quantification_delete') && row.status === 3"
|
||||
@click="rowDel(row)"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
</el-link>
|
||||
</template>
|
||||
</avue-crud>
|
||||
|
||||
@@ -150,7 +146,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="180" align="center">
|
||||
<template #default="{ row }">
|
||||
<el-button type="primary" text @click="openCategory(row)">编辑</el-button>
|
||||
<el-link type="primary" @click="openCategory(row)">编辑</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -177,9 +173,9 @@
|
||||
<el-table-column label="标准说明" prop="standardDescription" min-width="320" />
|
||||
<el-table-column label="操作" width="160" align="center">
|
||||
<template #default="{ row, $index }">
|
||||
<el-button type="primary" text @click="openStandard(row, $index)">编辑</el-button>
|
||||
<el-button type="danger" text v-if="!readonly" @click="removeStandard($index)"
|
||||
>删除</el-button
|
||||
<el-link type="primary" @click="openStandard(row, $index)">编辑</el-link>
|
||||
<el-link type="danger" v-if="!readonly" @click="removeStandard($index)"
|
||||
>删除</el-link
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -216,16 +212,15 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="160" align="center">
|
||||
<template #default="{ row, $index }">
|
||||
<el-button type="primary" text @click="openItem(row, $index)">编辑</el-button>
|
||||
<el-button
|
||||
<el-link type="primary" @click="openItem(row, $index)">编辑</el-link>
|
||||
<el-link
|
||||
type="danger"
|
||||
text
|
||||
v-if="!readonly"
|
||||
:disabled="currentCategory.items.length <= 1"
|
||||
@click="removeItem($index)"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -271,20 +266,19 @@
|
||||
<el-input-number v-model="option.score" :min="0" :precision="2" :controls="false" />
|
||||
<span class="score-unit">分</span>
|
||||
</div>
|
||||
<el-button
|
||||
<el-link
|
||||
type="primary"
|
||||
text
|
||||
class="option-delete"
|
||||
v-if="!readonly && itemForm.options.length > 1"
|
||||
@click="removeOption(index)"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
</el-link>
|
||||
</div>
|
||||
<div class="option-add">
|
||||
<el-button type="primary" text v-if="!readonly" @click="addOption">
|
||||
<el-link type="primary" v-if="!readonly" @click="addOption">
|
||||
+添加选项
|
||||
</el-button>
|
||||
</el-link>
|
||||
</div>
|
||||
</div>
|
||||
</el-form-item>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user