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