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

@@ -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>