合并
This commit is contained in:
@ -7,13 +7,7 @@
|
|||||||
<template #header>
|
<template #header>
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5" :offset="0">
|
<el-col :span="1.5" :offset="0">
|
||||||
<el-button
|
<el-button type="primary" v-hasPermi="['cailiaoshebei:mrpBase:addbatch']" size="default" @click="handleAdd" icon="FolderAdd" plain
|
||||||
type="primary"
|
|
||||||
v-hasPermi="['cailiaoshebei:materialbatchdemandplan:add']"
|
|
||||||
size="default"
|
|
||||||
@click="handleAdd"
|
|
||||||
icon="FolderAdd"
|
|
||||||
plain
|
|
||||||
>新增</el-button
|
>新增</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -21,7 +15,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="danger"
|
type="danger"
|
||||||
size="default"
|
size="default"
|
||||||
v-hasPermi="['cailiaoshebei:materialbatchdemandplan:remove']"
|
v-hasPermi="['cailiaoshebei:mrpBase:remove']"
|
||||||
@click="handleDeleteBatch"
|
@click="handleDeleteBatch"
|
||||||
:disabled="form.mrpBaseBo.status != 'draft'"
|
:disabled="form.mrpBaseBo.status != 'draft'"
|
||||||
icon="FolderDelete"
|
icon="FolderDelete"
|
||||||
@ -66,9 +60,7 @@
|
|||||||
<template #header>
|
<template #header>
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5" v-if="form.mrpBaseBo.status == 'draft'">
|
<el-col :span="1.5" v-if="form.mrpBaseBo.status == 'draft'">
|
||||||
<el-button type="primary" plain icon="Edit" @click="handleUpdata" v-hasPermi="['cailiaoshebei:materialbatchdemandplan:edit']"
|
<el-button type="primary" plain icon="Edit" @click="handleUpdata" v-hasPermi="['cailiaoshebei:mrpBase:addbatch']">修改</el-button>
|
||||||
>修改</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5" v-if="form.mrpBaseBo.status == 'draft'">
|
<el-col :span="1.5" v-if="form.mrpBaseBo.status == 'draft'">
|
||||||
<el-button plain type="primary" icon="Finished" @click="handleAudit()">审核</el-button>
|
<el-button plain type="primary" icon="Finished" @click="handleAudit()">审核</el-button>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog v-model="isShowDialog" title="材料设备详情" draggable width="1200px" :close-on-click-modal="false" :destroy-on-close="true">
|
<el-dialog v-model="isShowDialog" title="材料设备详情" draggable width="1200px" :close-on-click-modal="false" :destroy-on-close="true">
|
||||||
<el-card :body-style="{ padding: '20px' }" style="border: none; box-shadow: none">
|
<el-card :body-style="{ padding: '20px' }" style="border: none; box-shadow: none">
|
||||||
<div class="dialog-footer">
|
<div class="dialog-footer" v-hasPermi="['materials:materialReceive:exportWord']">
|
||||||
<div class="btn-item" @click="onLoad">
|
<div class="btn-item" @click="onLoad">
|
||||||
<img src="./icon/down.png" />
|
<img src="./icon/down.png" />
|
||||||
<span>导出</span>
|
<span>导出</span>
|
||||||
|
@ -116,7 +116,7 @@
|
|||||||
<el-button link type="primary" icon="View" @click="handleDetail(scope.row)" v-hasPermi="['cailiaoshebei:purchaseDoc:remove']"
|
<el-button link type="primary" icon="View" @click="handleDetail(scope.row)" v-hasPermi="['cailiaoshebei:purchaseDoc:remove']"
|
||||||
>详情</el-button
|
>详情</el-button
|
||||||
>
|
>
|
||||||
<el-button link type="primary" icon="Download" @click="handleDownload(scope.row)" v-hasPermi="['cailiaoshebei:purchaseDoc:downloadWord']"
|
<el-button link type="primary" icon="Download" @click="handleDownload(scope.row)" v-hasPermi="['cailiaoshebei:purchaseDoc:exportWord']"
|
||||||
>下载</el-button
|
>下载</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
Reference in New Issue
Block a user