update - 产品追溯报表样品机、降级品筛选查询

master
yinq 7 months ago
parent fb406e7bb3
commit c37f76dafd

@ -51,6 +51,26 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="是否样品机" prop="isSample">
<el-select v-model="queryParams.isSample" placeholder="请选择是否样品机" clearable>
<el-option
v-for="item in isSampleList"
:key="item.key"
:label="item.label"
:value="item.key"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="是否降级品" prop="isDowngrade">
<el-select v-model="queryParams.isDowngrade" placeholder="请选择是否降级品" clearable>
<el-option
v-for="item in isDowngradeList"
:key="item.key"
:label="item.label"
:value="item.key"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="起止时间">
<el-date-picker
v-model="daterangeBeginTime"
@ -216,6 +236,8 @@ export default {
ORDER_CODE: null,
MATERIAL_CODE: null,
MATERIAL_NAME: null,
isSample: null,
isDowngrade: null,
PRODUCT_SNCODE: null
},
//
@ -223,6 +245,8 @@ export default {
//
rules: {},
reportDetailList: [],
isSampleList: [{ key: 1, label: '是' }, { key: 2, label: '否' }],
isDowngradeList: [{ key: 1, label: '是' }, { key: 2, label: '否' }],
columns: [
{ key: 0, label: `主键标识`, visible: false },
{ key: 1, label: `工位`, visible: true },
@ -321,8 +345,8 @@ export default {
},
/** 查看质检材料 */
findInspectInfo: function(row) {
const orderCode = row.ORDER_CODE;
this.$router.push("/report/quality-material/index/" + orderCode);
const orderCode = row.ORDER_CODE
this.$router.push('/report/quality-material/index/' + orderCode)
},
//
handleSelectionChange(selection) {

Loading…
Cancel
Save