Merge branch 'master' of https://e.coding.net/ctcdevteam/ehs/ehs_web
This commit is contained in:
commit
3e7473444f
|
@ -185,5 +185,11 @@ export default {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
submit: {
|
||||||
|
name: "提交",
|
||||||
|
req: async function (id) {
|
||||||
|
return await http.post(`${config.API_URL}/qm/ftestwork/${id}/submit/`);
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
row-key="id"
|
row-key="id"
|
||||||
:params="params"
|
:params="params"
|
||||||
:query="params"
|
:query="params"
|
||||||
@row-click="table_detail"
|
|
||||||
>
|
>
|
||||||
<el-table-column type="index" width="50" />
|
<el-table-column type="index" width="50" />
|
||||||
<el-table-column label="检验日期" prop="test_date"></el-table-column>
|
<el-table-column label="检验日期" prop="test_date"></el-table-column>
|
||||||
|
@ -41,11 +40,15 @@
|
||||||
<el-table-column label="抽检数" prop="count_sampling"> </el-table-column>
|
<el-table-column label="抽检数" prop="count_sampling"> </el-table-column>
|
||||||
<el-table-column label="合格数" prop="count_ok"> </el-table-column>
|
<el-table-column label="合格数" prop="count_ok"> </el-table-column>
|
||||||
<el-table-column label="不合格数" prop="count_notok"> </el-table-column>
|
<el-table-column label="不合格数" prop="count_notok"> </el-table-column>
|
||||||
<el-table-column label="操作" fixed="right" width="100">
|
<el-table-column label="操作" fixed="right" width="145">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-link type="primary" @click="table_edit(scope.row)">编辑</el-link>
|
<el-link type="primary" v-if="scope.row.submit_user==null" @click="table_submit(scope.row)">提交</el-link>
|
||||||
<el-divider direction="vertical"></el-divider>
|
<el-divider direction="vertical" v-if="scope.row.submit_user==null"></el-divider>
|
||||||
<el-link type="danger" @click="table_del(scope.row)">删除</el-link>
|
<el-link type="primary" v-if="scope.row.submit_user==null" @click="table_edit(scope.row)">编辑</el-link>
|
||||||
|
<el-link type="primary" v-else @click="table_show(scope.row)">查看</el-link>
|
||||||
|
<el-divider direction="vertical" v-if="scope.row.submit_user==null"></el-divider>
|
||||||
|
<el-link type="danger" v-if="scope.row.submit_user==null" @click="table_del(scope.row)">删除</el-link>
|
||||||
|
<!-- <el-link type="danger" v-else @click="table_revert(scope.row)">撤回</el-link> -->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</scTable>
|
</scTable>
|
||||||
|
@ -109,7 +112,7 @@ export default {
|
||||||
this.dialog.detail = false;
|
this.dialog.detail = false;
|
||||||
this.$refs.table.refresh();
|
this.$refs.table.refresh();
|
||||||
},
|
},
|
||||||
//添加日志
|
//添加检验
|
||||||
table_add() {
|
table_add() {
|
||||||
let mode = this.mgroupName+"Add";
|
let mode = this.mgroupName+"Add";
|
||||||
console.log('mode',mode)
|
console.log('mode',mode)
|
||||||
|
@ -118,7 +121,7 @@ export default {
|
||||||
this.$refs.saveDialog.open(mode);
|
this.$refs.saveDialog.open(mode);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//编辑日志
|
//编辑检验
|
||||||
table_edit(row) {
|
table_edit(row) {
|
||||||
let mode = this.mgroupName+"Edit";
|
let mode = this.mgroupName+"Edit";
|
||||||
this.dialog.save = true;
|
this.dialog.save = true;
|
||||||
|
@ -126,21 +129,32 @@ export default {
|
||||||
this.$refs.saveDialog.open(mode).setData(row);
|
this.$refs.saveDialog.open(mode).setData(row);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//日志详情
|
table_show(row) {
|
||||||
table_detail(row) {
|
let mode = this.mgroupName+"Show";
|
||||||
this.mlogId = row.id;
|
this.dialog.save = true;
|
||||||
this.dialog.detail = true;
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.detailDialog.open();
|
this.$refs.saveDialog.open(mode).setData(row);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//日志删除
|
//提交检验
|
||||||
|
table_submit(row){
|
||||||
|
let that = this;
|
||||||
|
that.$API.qm.ftestwork.submit.req(row.id).then((res) => {
|
||||||
|
if (res.err_msg) {
|
||||||
|
that.$message.error(res.err_msg);
|
||||||
|
} else {
|
||||||
|
that.$refs.table.refresh();
|
||||||
|
that.$message.success("提交成功");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//检验删除
|
||||||
table_del(row) {
|
table_del(row) {
|
||||||
this.$confirm(`确定删除吗?`, "提示", {
|
this.$confirm(`确定删除吗?`, "提示", {
|
||||||
type: "warning",
|
type: "warning",
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
var id = row.id;
|
var id = row.id;
|
||||||
this.$API.wpm.mlog.delete.req(id).then((res) => {
|
this.$API.qm.ftestwork.delete.req(id).then((res) => {
|
||||||
if (res.err_msg) {
|
if (res.err_msg) {
|
||||||
this.$message.error(res.err_msg);
|
this.$message.error(res.err_msg);
|
||||||
} else {
|
} else {
|
||||||
|
@ -150,22 +164,6 @@ export default {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//日志撤回
|
|
||||||
mlogRevert(row) {
|
|
||||||
this.$confirm(`确定撤回该日志吗?`, "提示", {
|
|
||||||
type: "warning",
|
|
||||||
}).then(() => {
|
|
||||||
var id = row.id;
|
|
||||||
this.$API.wpm.mlog.revert.req(id).then((res) => {
|
|
||||||
if (res.err_msg) {
|
|
||||||
this.$message.error(res.err_msg);
|
|
||||||
} else {
|
|
||||||
this.$refs.table.refresh();
|
|
||||||
this.$message.success("撤回成功");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
//表格选择后回调事件
|
//表格选择后回调事件
|
||||||
selectionChange(selection) {
|
selectionChange(selection) {
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
v-model="form.batch"
|
v-model="form.batch"
|
||||||
placeholder="物料批次"
|
placeholder="物料批次"
|
||||||
clearable
|
clearable
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@change="handleChange"
|
@change="handleChange"
|
||||||
>
|
>
|
||||||
|
@ -30,6 +31,8 @@
|
||||||
:label="item.batch"
|
:label="item.batch"
|
||||||
:value="item.id"
|
:value="item.id"
|
||||||
>
|
>
|
||||||
|
<span>{{item.batch}}</span>
|
||||||
|
<span style="float:right">({{item.count}})</span>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -37,7 +40,7 @@
|
||||||
<el-col :md="12" :sm="24">
|
<el-col :md="12" :sm="24">
|
||||||
<el-form-item label="总数">
|
<el-form-item label="总数">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.count"
|
v-model="formCount"
|
||||||
disabled
|
disabled
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -49,6 +52,7 @@
|
||||||
type="date"
|
type="date"
|
||||||
value-format="YYYY-MM-DD"
|
value-format="YYYY-MM-DD"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -56,9 +60,10 @@
|
||||||
<el-form-item label="检验数量">
|
<el-form-item label="检验数量">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
v-model="form.count_sampling"
|
v-model="form.count"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCheckChange"
|
@change="handleCheckChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -78,6 +83,7 @@
|
||||||
v-model="form.count_notok"
|
v-model="form.count_notok"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange('notok')"
|
@change="handleCountChange('notok')"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -91,6 +97,7 @@
|
||||||
v-model="count_notok_json.count_n_hqnj"
|
v-model="count_notok_json.count_n_hqnj"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -102,6 +109,7 @@
|
||||||
v-model="count_notok_json.count_n_hqnjyd"
|
v-model="count_notok_json.count_n_hqnjyd"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -113,6 +121,7 @@
|
||||||
v-model="count_notok_json.count_n_hqwj"
|
v-model="count_notok_json.count_n_hqwj"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -124,6 +133,7 @@
|
||||||
v-model="count_notok_json.count_n_hqwjyd"
|
v-model="count_notok_json.count_n_hqwjyd"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -135,6 +145,7 @@
|
||||||
v-model="count_notok_json.count_n_wj"
|
v-model="count_notok_json.count_n_wj"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -146,6 +157,7 @@
|
||||||
v-model="count_notok_json.count_n_yd"
|
v-model="count_notok_json.count_n_yd"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -157,6 +169,7 @@
|
||||||
v-model="count_notok_json.count_n_txd"
|
v-model="count_notok_json.count_n_txd"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -168,6 +181,7 @@
|
||||||
v-model="count_notok_json.count_n_hd"
|
v-model="count_notok_json.count_n_hd"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -181,6 +195,7 @@
|
||||||
v-model="count_notok_json.count_n_qp"
|
v-model="count_notok_json.count_n_qp"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -192,6 +207,7 @@
|
||||||
v-model="count_notok_json.count_n_swen"
|
v-model="count_notok_json.count_n_swen"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -203,6 +219,7 @@
|
||||||
v-model="count_notok_json.count_n_bb"
|
v-model="count_notok_json.count_n_bb"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -214,6 +231,7 @@
|
||||||
v-model="count_notok_json.count_n_zb"
|
v-model="count_notok_json.count_n_zb"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -225,6 +243,7 @@
|
||||||
v-model="count_notok_json.count_n_hs"
|
v-model="count_notok_json.count_n_hs"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -236,6 +255,7 @@
|
||||||
v-model="count_notok_json.count_n_md"
|
v-model="count_notok_json.count_n_md"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -247,6 +267,7 @@
|
||||||
v-model="count_notok_json.count_n_hqbx"
|
v-model="count_notok_json.count_n_hqbx"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -258,6 +279,7 @@
|
||||||
v-model="count_notok_json.count_n_dj"
|
v-model="count_notok_json.count_n_dj"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -269,6 +291,7 @@
|
||||||
v-model="count_notok_json.count_n_ps"
|
v-model="count_notok_json.count_n_ps"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -280,6 +303,7 @@
|
||||||
v-model="count_notok_json.count_n_lq"
|
v-model="count_notok_json.count_n_lq"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
precision="0"
|
precision="0"
|
||||||
|
:disabled="mode=='sizeShow'||mode=='facadeShow'"
|
||||||
@change="handleCountChange"
|
@change="handleCountChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -287,7 +311,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-main>
|
</el-main>
|
||||||
<el-footer>
|
<el-footer v-if="mode!=='sizeShow'&&mode!=='facadeShow'">
|
||||||
<el-button type="primary" :loading="isSaveing" @click="submit"
|
<el-button type="primary" :loading="isSaveing" @click="submit"
|
||||||
>保存</el-button>
|
>保存</el-button>
|
||||||
<el-button @click="visible = false">取消</el-button>
|
<el-button @click="visible = false">取消</el-button>
|
||||||
|
@ -304,8 +328,10 @@ export default {
|
||||||
modeTitle: {
|
modeTitle: {
|
||||||
sizeAdd: "尺寸检验",
|
sizeAdd: "尺寸检验",
|
||||||
sizeEdit: "尺寸检验",
|
sizeEdit: "尺寸检验",
|
||||||
|
sizeShow: "尺寸检验",
|
||||||
facadeAdd: "外观和内质检验",
|
facadeAdd: "外观和内质检验",
|
||||||
facadeEdit: "外观和内质检验",
|
facadeEdit: "外观和内质检验",
|
||||||
|
facadeShow: "外观和内质检验",
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
form: {
|
form: {
|
||||||
|
@ -314,7 +340,6 @@ export default {
|
||||||
count: null,
|
count: null,
|
||||||
count_ok: null,
|
count_ok: null,
|
||||||
count_notok: 0,
|
count_notok: 0,
|
||||||
count_sampling:0,
|
|
||||||
count_notok_json:{}
|
count_notok_json:{}
|
||||||
},
|
},
|
||||||
count_notok_json:{
|
count_notok_json:{
|
||||||
|
@ -355,6 +380,7 @@ export default {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
formCount:null,
|
||||||
visible: false,
|
visible: false,
|
||||||
isSaveing: false,
|
isSaveing: false,
|
||||||
options: [],
|
options: [],
|
||||||
|
@ -373,7 +399,7 @@ export default {
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
handleCheckChange(){
|
handleCheckChange(){
|
||||||
this.form.count_ok = this.form.count_sampling-this.form.count_notok;
|
this.form.count_ok = this.form.count-this.form.count_notok;
|
||||||
},
|
},
|
||||||
handleCountChange(type){
|
handleCountChange(type){
|
||||||
if(type == 'notok'){
|
if(type == 'notok'){
|
||||||
|
@ -414,7 +440,7 @@ export default {
|
||||||
this.count_notok_json.count_n_ps+
|
this.count_notok_json.count_n_ps+
|
||||||
this.count_notok_json.count_n_lq;
|
this.count_notok_json.count_n_lq;
|
||||||
}
|
}
|
||||||
this.form.count_ok = this.form.count_sampling - this.form.count_notok;
|
this.form.count_ok = this.form.count - this.form.count_notok;
|
||||||
},
|
},
|
||||||
//获取物料批次
|
//获取物料批次
|
||||||
getMaterialBatch() {
|
getMaterialBatch() {
|
||||||
|
@ -436,7 +462,7 @@ export default {
|
||||||
console.log(val);
|
console.log(val);
|
||||||
that.options.forEach((item) => {
|
that.options.forEach((item) => {
|
||||||
if (item.id == val) {
|
if (item.id == val) {
|
||||||
that.form.count = item.count;
|
that.form.count = that.formCount = item.count;
|
||||||
that.form.batch = item.batch;
|
that.form.batch = item.batch;
|
||||||
that.form.material = item.material;
|
that.form.material = item.material;
|
||||||
that.form.wm = item.id;
|
that.form.wm = item.id;
|
||||||
|
@ -479,7 +505,8 @@ export default {
|
||||||
//表单注入数据
|
//表单注入数据
|
||||||
setData(data) {
|
setData(data) {
|
||||||
Object.assign(this.form, data);
|
Object.assign(this.form, data);
|
||||||
this.form.test_group = this.form.split(",");
|
this.formCount = this.form.count;
|
||||||
|
// this.form.test_group = this.form.split(",");
|
||||||
},
|
},
|
||||||
//设置过滤项
|
//设置过滤项
|
||||||
setFilters(filters) {
|
setFilters(filters) {
|
||||||
|
|
|
@ -67,6 +67,15 @@
|
||||||
prop="count"
|
prop="count"
|
||||||
min-width="80"
|
min-width="80"
|
||||||
></el-table-column>
|
></el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
v-if="mgroupName=='size'||mgroupName=='facade'"
|
||||||
|
label="检验状态"
|
||||||
|
>
|
||||||
|
<template #default="scope">
|
||||||
|
<el-tag type="success" v-if="scope.row.count_xtest == null">已检验</el-tag>
|
||||||
|
<el-tag type="primary" v-else>未检验 </el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="不合格标记"
|
label="不合格标记"
|
||||||
prop="notok_sign_name"
|
prop="notok_sign_name"
|
||||||
|
|
Loading…
Reference in New Issue