This commit is contained in:
Teo
2025-08-22 23:27:17 +08:00
parent ea56d292ec
commit bb512fe0f3

View File

@ -38,7 +38,8 @@
<el-button type="primary" @click="handleExport()" v-hasPermi="['tender:billofquantitiesLimitList:export']">导出excel</el-button>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="handleAudit()">审核</el-button>
<el-button type="primary" @click="handleAudit('update')" v-if="versionsData.status == 'draft'">审核</el-button>
<el-button type="warning" @click="handleAudit('view')" v-else>查看流程</el-button>
</el-form-item>
</el-form>
</el-card>
@ -58,6 +59,7 @@
:step="0.1"
:controls="false"
v-if="scope.row.quantity && scope.row.quantity != 0"
:disabled="versionsData.status != 'draft'"
/>
</template>
</el-table-column>
@ -271,10 +273,10 @@ const handleSave = (row: any) => {
};
/** 审核按钮操作 */
const handleAudit = async () => {
const handleAudit = async (type) => {
proxy?.$tab.openPage('/approval/tenderBidd/indexEdit', '审核招标一览', {
id: queryForm.value.versions,
type: 'update',
type,
activeTab: activeTab.value,
status: versionsData.value.status
});