fix(order): 调整文件上传按钮显示逻辑

- 修改文件分类判断条件,将值从 '3' 更改为 '2'
- 移除订单状态为 '2' 时的禁用状态判断
- 确保上传按钮仅在特定条件下可用
dev_1.0.0
chenhao 2025-11-26 16:31:25 +08:00
parent d02aea3d2c
commit 3353de9b2f
1 changed files with 1 additions and 2 deletions

View File

@ -96,11 +96,10 @@
<el-table-column label="操作" width="200">
<template slot-scope="scope">
<el-button
v-if="scope.row.id === -1 && ((updateFile && scope.row.fileSort !== '3') || (uploadFinalFile && scope.row.fileSort === '3'))"
v-if="scope.row.id === -1 && ((updateFile && scope.row.fileSort !== '2') || (uploadFinalFile && scope.row.fileSort === '2'))"
type="text"
icon="el-icon-upload"
@click="importList(scope.$index)"
:disabled="form.orderStatus === '2'"
>上传
</el-button> <el-button
v-if="scope.row.id !== -1"