This commit is contained in:
2025-08-20 19:28:35 +08:00
26 changed files with 956 additions and 781 deletions

View File

@ -14,8 +14,9 @@
<el-date-picker clearable v-model="queryParams.arrivalDate" type="date" value-format="YYYY-MM-DD" placeholder="请选择到货日期" />
</el-form-item>
<el-form-item>
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
<el-button type="primary" v-hasPermi="['cailiaoshebei:purchaseDoc:list']" icon="Search" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" v-hasPermi="['cailiaoshebei:purchaseDoc:list']" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
</el-card>
@ -49,7 +50,7 @@
<el-table-column label="联系人" align="center" prop="contacts" />
<el-table-column label="物流单号" align="center" prop="remark" width="150">
<template #default="scope">
<el-button link type="primary" icon="View" @click="handleView(scope.row)" v-hasPermi="['out:monthPlan:remove']">查看物流单</el-button>
<el-button link type="primary" icon="View" @click="handleView(scope.row)" v-hasPermi="['cailiaoshebei:ltn:list']">查看物流单</el-button>
</template>
</el-table-column>
<el-table-column label="采购经办人" align="center" prop="purchasingAgent" width="90" />
@ -76,7 +77,7 @@
v-if="scope.row.status == 'draft' || scope.row.status == 'back'"
icon="Finished"
@click="handleAudit(scope.row)"
v-hasPermi="['cailiaoshebei:purchaseDoc:edit']"
v-hasPermi="['cailiaoshebei:purchaseDoc:query']"
>
审核</el-button
>
@ -86,7 +87,7 @@
v-if="scope.row.status != 'draft'"
icon="view"
@click="handleViewDetail(scope.row)"
v-hasPermi="['cailiaoshebei:purchaseDoc:edit']"
v-hasPermi="['cailiaoshebei:purchaseDoc:query']"
>
查看</el-button
>
@ -114,7 +115,7 @@
v-if="scope.row.status == 'finish' && scope.row.feedbackUrl"
icon="Share"
@click="handleShare(scope.row)"
v-hasPermi="['cailiaoshebei:purchaseDoc:remove']"
v-hasPermi="['cailiaoshebei:purchaseDoc:list']"
>物流单分享</el-button
>
</template>