|
|
@ -51,6 +51,26 @@
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</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-form-item label="起止时间">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="daterangeBeginTime"
|
|
|
|
v-model="daterangeBeginTime"
|
|
|
@ -216,6 +236,8 @@ export default {
|
|
|
|
ORDER_CODE: null,
|
|
|
|
ORDER_CODE: null,
|
|
|
|
MATERIAL_CODE: null,
|
|
|
|
MATERIAL_CODE: null,
|
|
|
|
MATERIAL_NAME: null,
|
|
|
|
MATERIAL_NAME: null,
|
|
|
|
|
|
|
|
isSample: null,
|
|
|
|
|
|
|
|
isDowngrade: null,
|
|
|
|
PRODUCT_SNCODE: null
|
|
|
|
PRODUCT_SNCODE: null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表单参数
|
|
|
|
// 表单参数
|
|
|
@ -223,6 +245,8 @@ export default {
|
|
|
|
// 表单校验
|
|
|
|
// 表单校验
|
|
|
|
rules: {},
|
|
|
|
rules: {},
|
|
|
|
reportDetailList: [],
|
|
|
|
reportDetailList: [],
|
|
|
|
|
|
|
|
isSampleList: [{ key: 1, label: '是' }, { key: 2, label: '否' }],
|
|
|
|
|
|
|
|
isDowngradeList: [{ key: 1, label: '是' }, { key: 2, label: '否' }],
|
|
|
|
columns: [
|
|
|
|
columns: [
|
|
|
|
{ key: 0, label: `主键标识`, visible: false },
|
|
|
|
{ key: 0, label: `主键标识`, visible: false },
|
|
|
|
{ key: 1, label: `工位`, visible: true },
|
|
|
|
{ key: 1, label: `工位`, visible: true },
|
|
|
@ -321,8 +345,8 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 查看质检材料 */
|
|
|
|
/** 查看质检材料 */
|
|
|
|
findInspectInfo: function(row) {
|
|
|
|
findInspectInfo: function(row) {
|
|
|
|
const orderCode = row.ORDER_CODE;
|
|
|
|
const orderCode = row.ORDER_CODE
|
|
|
|
this.$router.push("/report/quality-material/index/" + orderCode);
|
|
|
|
this.$router.push('/report/quality-material/index/' + orderCode)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 多选框选中数据
|
|
|
|
// 多选框选中数据
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|