This commit is contained in:
helloDy
2023-07-14 15:50:58 +08:00
parent 063c2da768
commit 229b59f424
14 changed files with 1146 additions and 310 deletions

View File

@@ -1,8 +1,8 @@
<!--
* @Author: zhp
* @Date: 2023-04-17 14:23:17
* @LastEditTime: 2023-06-20 15:38:27
* @LastEditors: zhp
* @LastEditTime: 2023-07-13 10:55:01
* @LastEditors: DY
* @Description:
-->
<template>
@@ -129,6 +129,14 @@ export default {
limit: 999,
page:1
},
listQuery: {
supplierId: undefined,
closedLoop: undefined,
endTime: undefined,
startTime: undefined,
productName: undefined,
problemDescription: undefined
},
searchOrEditTitle: "",
searchOrUpdateVisible: false,
productOrEditTitle: "",
@@ -146,7 +154,7 @@ export default {
type: 'select',
label: i18n.t('supplier.supplierName'),
selectOptions: [],
param: 'supplierName',
param: 'supplierId',
clearable: true,
filterable: true,
},
@@ -318,7 +326,7 @@ export default {
conditionSearchSubmit(dataForm) {
// console.log(key);
// console.log(key);
this.listQuery.supplierName = dataForm.supplierName
this.listQuery.supplierId = dataForm.supplierName
this.listQuery.page = 1;
this.getDataList();
this.searchOrUpdateVisible = false;
@@ -370,8 +378,8 @@ export default {
// this.listQuery.paramCode = val.paramCode;
this.listQuery.productName = val.productName ? val.productName : undefined
this.listQuery.problemDescription = val.problemDescription ? val.problemDescription : undefined
this.listQuery.closedLoop = closedLoop ? closedLoop : undefined
this.listQuery.supplierName = val.supplierName ? val.supplierName : undefined
this.listQuery.closedLoop = val.closedLoop ? val.closedLoop : undefined
this.listQuery.supplierId = val.supplierId ? val.supplierId : undefined
this.listQuery.startTime = val.timeSlot ? val.timeSlot[0] : undefined
this.listQuery.endTime = val.timeSlot ? val.timeSlot[1] : undefined
// console.log(i18n);