|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item v-if="item.columnType == 'selectServer' && executeEval(row,item.expression,true)" :label="item.columnDesc+`:`">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="filterQuery[item.columnName]"
|
|
|
|
|
v-model="filterQuery[`${item.columnName}`]"
|
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
|
:disabled="executeEval(null,item.disabledFuc,false)"
|
|
|
|
|
filterable
|
|
|
|
@ -37,9 +37,9 @@
|
|
|
|
|
clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in options[item.clickFuc]"
|
|
|
|
|
:key="item.filterType"
|
|
|
|
|
:label="item.sysName"
|
|
|
|
|
:value="item.filterType"
|
|
|
|
|
:key="item.code"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.code"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -336,12 +336,12 @@ import {
|
|
|
|
|
updateErpProduct,
|
|
|
|
|
uploadSmp,
|
|
|
|
|
thirdSysDetail,
|
|
|
|
|
removeRl, sysFilter, spcombie, lockStatus
|
|
|
|
|
removeRl, sysFilter,sysFilterOptimize, spcombie, lockStatus
|
|
|
|
|
} from "@/api/basic/udiRelevance";
|
|
|
|
|
import {selectSysParamByKey} from "@/api/param/systemParamConfig";
|
|
|
|
|
import {filterByUuid, filterCompany} from "@/api/basic/udiInfo";
|
|
|
|
|
import {filterCompanyProductRelevance, deleteCompanyProductRelevance} from "@/api/basic/udiRlSuptRelevance";
|
|
|
|
|
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain"
|
|
|
|
|
import {getBasicUnitMaintainsOptimize} from "@/api/basic/basicUnitMaintain"
|
|
|
|
|
import selectProduct from "./basicCompanyProductsImport";
|
|
|
|
|
import selectUdi from "./udiInfoRelevance.vue";
|
|
|
|
|
import selectErp from "./udiInfoselectErpUdi";
|
|
|
|
@ -392,7 +392,10 @@ export default {
|
|
|
|
|
detailList: [],
|
|
|
|
|
sysList: [],
|
|
|
|
|
filterList: [],
|
|
|
|
|
options: {},
|
|
|
|
|
options: {
|
|
|
|
|
findMethod:[],
|
|
|
|
|
getSysFilter:[],
|
|
|
|
|
},
|
|
|
|
|
queryList:[],
|
|
|
|
|
tableHeader:[],
|
|
|
|
|
fromList:[],
|
|
|
|
@ -725,7 +728,7 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getSysFilter(_this,query) {
|
|
|
|
|
sysFilter()
|
|
|
|
|
sysFilterOptimize()
|
|
|
|
|
.then((response) => {
|
|
|
|
|
_this.loading = false;
|
|
|
|
|
_this.options.getSysFilter = response.data.list || [];
|
|
|
|
@ -836,10 +839,10 @@ export default {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
};
|
|
|
|
|
getBasicUnitMaintains(cQuery)
|
|
|
|
|
getBasicUnitMaintainsOptimize(cQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
_this.loading = false;
|
|
|
|
|
_this.options.findMethod = response.data.list || []
|
|
|
|
|
_this.options.findMethod = response.data.list || [];
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
_this.loading = false;
|
|
|
|
|