|
@@ -17,6 +17,8 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</el-col>
|
|
|
+
|
|
|
+ <!-- 主区域 -->
|
|
|
<el-col :span="24" :style="allDetail">
|
|
|
<el-col :span="24" class="title">
|
|
|
模具基本信息
|
|
@@ -100,8 +102,12 @@
|
|
|
<el-table-column prop="indate" label="上传时间" width="200" sortable></el-table-column>
|
|
|
<el-table-column label="状态" width="120" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.state == 0">需要</span>
|
|
|
- <span v-else>不需要</span>
|
|
|
+ <span v-if="scope.row.state == -2">生产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == -1">资产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == 0">待双方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 1">待资产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 2">待生产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 3">审核通过</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" width="200" sortable>
|
|
@@ -131,11 +137,15 @@
|
|
|
<el-table-column prop="indate" label="上传时间" width="200" sortable></el-table-column>
|
|
|
<el-table-column label="状态" width="120" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.state == 0">需要</span>
|
|
|
- <span v-else>不需要</span>
|
|
|
+ <span v-if="scope.row.state == -2">生产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == -1">资产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == 0">待双方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 1">待资产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 2">待生产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 3">审核通过</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="300" sortable>
|
|
|
+ <el-table-column label="操作" width="200" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="small" @click="checkOpen(scope.row.id, scope.row.fileName)">审批</el-button>
|
|
|
<a :href="scope.row.fileUrl" :download="scope.row.fileName">
|
|
@@ -162,11 +172,15 @@
|
|
|
<el-table-column prop="indate" label="上传时间" width="200" sortable></el-table-column>
|
|
|
<el-table-column label="状态" width="120" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.state == 0">需要</span>
|
|
|
- <span v-else>不需要</span>
|
|
|
+ <span v-if="scope.row.state == -2">生产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == -1">资产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == 0">待双方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 1">待资产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 2">待生产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 3">审核通过</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="300" sortable>
|
|
|
+ <el-table-column label="操作" width="200" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="small" @click="checkOpen(scope.row.id, scope.row.fileName)">审批</el-button>
|
|
|
<a :href="scope.row.fileUrl" :download="scope.row.fileName">
|
|
@@ -193,11 +207,15 @@
|
|
|
<el-table-column prop="indate" label="上传时间" width="200" sortable></el-table-column>
|
|
|
<el-table-column label="状态" width="120" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.state == 0">需要</span>
|
|
|
- <span v-else>不需要</span>
|
|
|
+ <span v-if="scope.row.state == -2">生产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == -1">资产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == 0">待双方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 1">待资产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 2">待生产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 3">审核通过</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="300" sortable>
|
|
|
+ <el-table-column label="操作" width="200" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="small" @click="checkOpen(scope.row.id, scope.row.fileName)">审批</el-button>
|
|
|
<a :href="scope.row.fileUrl" :download="scope.row.fileName">
|
|
@@ -232,7 +250,7 @@
|
|
|
<span v-else-if="scope.row.state == 3">审核通过</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="300" sortable>
|
|
|
+ <el-table-column label="操作" width="200" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="small" @click="checkOpen(scope.row.id, scope.row.fileName)">审批</el-button>
|
|
|
<a :href="scope.row.fileUrl" :download="scope.row.fileName">
|
|
@@ -259,11 +277,15 @@
|
|
|
<el-table-column prop="indate" label="上传时间" width="200" sortable></el-table-column>
|
|
|
<el-table-column label="状态" width="120" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.state == 0">需要</span>
|
|
|
- <span v-else>不需要</span>
|
|
|
+ <span v-if="scope.row.state == -2">生产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == -1">资产方审核不通过</span>
|
|
|
+ <span v-else-if="scope.row.state == 0">待双方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 1">待资产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 2">待生产方审核</span>
|
|
|
+ <span v-else-if="scope.row.state == 3">审核通过</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="300" sortable>
|
|
|
+ <el-table-column label="操作" width="200" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="small" @click="checkOpen(scope.row.id, scope.row.fileName)">审批</el-button>
|
|
|
<a :href="scope.row.fileUrl" :download="scope.row.fileName">
|