xiugai
This commit is contained in:
parent
aa76888a57
commit
371ee6ecf4
|
@ -35,14 +35,14 @@
|
|||
<el-table-column label="入库数量">
|
||||
<template slot-scope="scope">{{ scope.row.count }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否检查">
|
||||
<el-table-column label="是否需要复验">
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.is_tested == false">未检查</el-tag>
|
||||
<el-tag v-else>已检查</el-tag>
|
||||
<el-tag v-if="scope.row.need_test == false">否</el-tag>
|
||||
<el-tag v-else>是</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="检查是否合格">
|
||||
<template slot-scope="scope" v-if="scope.row.is_tested == true">
|
||||
<el-table-column label="复验是否合格">
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.is_testok == false">不合格</el-tag>
|
||||
<el-tag v-else>合格</el-tag>
|
||||
</template>
|
||||
|
@ -51,10 +51,16 @@
|
|||
<el-table-column align="center" label="操作" width="220px">
|
||||
<template slot-scope="scope">
|
||||
<el-link
|
||||
v-if="scope.row.is_tested == false"
|
||||
|
||||
type="primary"
|
||||
@click="handleMaterial(scope)"
|
||||
>检查</el-link
|
||||
>复验</el-link
|
||||
>
|
||||
<el-link
|
||||
|
||||
type="primary"
|
||||
@click="handlefile(scope)"
|
||||
>上传</el-link
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -262,6 +268,11 @@ export default {
|
|||
}
|
||||
this.listLoading = false;
|
||||
});
|
||||
},
|
||||
//上传物料文件
|
||||
handlefile(scope)
|
||||
{
|
||||
|
||||
},
|
||||
handleMaterial(scope) {
|
||||
//调该物料对应的检查表
|
||||
|
|
|
@ -12,7 +12,10 @@
|
|||
|
||||
|
||||
</el-card>
|
||||
|
||||
<el-tabs v-model="activeName" type="card">
|
||||
<el-tab-pane label="供应商" name="5" v-if="this.type==3||this.type==4">
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="批次" name="3">
|
||||
|
||||
<el-table
|
||||
|
|
|
@ -50,8 +50,8 @@
|
|||
|
||||
</el-table-column>
|
||||
<el-table-column label="产品数量">
|
||||
<template slot-scope="scope" v-if="scope.row.wproduct_">
|
||||
{{ scope.row.wproduct_.length }}
|
||||
<template slot-scope="scope" >
|
||||
{{ scope.row.count_work }}
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
Loading…
Reference in New Issue