This commit is contained in:
ljx
2025-08-28 14:40:28 +08:00
parent 46f46a7c75
commit fdab021ff2
4 changed files with 30 additions and 34 deletions

View File

@ -32,15 +32,6 @@
<el-form-item>
<el-button type="primary" @click="handleExport()" v-hasPermi="['bidding:biddingLimitList:export']">导出excel</el-button>
</el-form-item>
<el-form-item>
<el-button
type="primary"
:disabled="versionObj.status && versionObj.status != 'draft'"
@click="handleSave(null, 'all')"
v-hasPermi="['tender:billofquantitiesLimitList:edit']"
>一键确定</el-button
>
</el-form-item>
<el-form-item>
<el-button
type="primary"
@ -69,7 +60,11 @@
<el-table-column prop="num" label="编号" />
<el-table-column prop="name" label="工程或费用名称" />
<el-table-column prop="unit" label="单位" />
<el-table-column prop="quantity" label="数量" />
<el-table-column prop="quantity" label="数量">
<template #default="scope">
{{ scope.row.children.length > 0 ? '' : scope.row.quantity }}
</template>
</el-table-column>
<el-table-column prop="remark" label="单价" align="center">
<template #default="scope">
<el-input-number
@ -99,7 +94,7 @@
type="primary"
size="small"
:disabled="versionObj.status != 'draft'"
@click="handleSave(scope.row, 'single')"
@click="handleSave(scope.row, 'all')"
v-if="scope.row.quantity && scope.row.quantity != 0"
v-hasPermi="['bidding:biddingLimitList:edit']"
>确定</el-button