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