|
|
|
@ -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) {
|
|
|
|
|