|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
<el-col type="flex" :span="6">
|
|
|
|
|
<el-form-item label="当前所在企业:" class="query-form-item">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="filterQuery.companyName"
|
|
|
|
|
v-model="filterQuery.companyId"
|
|
|
|
|
filterable
|
|
|
|
|
remote
|
|
|
|
|
style="width: 100%"
|
|
|
|
@ -26,9 +26,9 @@
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in companyNameList"
|
|
|
|
|
:key="item.companyName"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:label="item.companyName"
|
|
|
|
|
:value="item.companyName"
|
|
|
|
|
:value="item.id"
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
@ -121,6 +121,9 @@
|
|
|
|
|
remote
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
clearable="true"
|
|
|
|
|
:disabled="filterQuery.ggxh==null || filterQuery.ggxh=='' ||
|
|
|
|
|
filterQuery.cpmctymc==null || filterQuery.cpmctymc=='' ||
|
|
|
|
|
filterQuery.ylqxzcrbarmc==null || filterQuery.ylqxzcrbarmc==''"
|
|
|
|
|
reserve-keyword
|
|
|
|
|
placeholder="请输入DI"
|
|
|
|
|
:remote-method="getNameCodeList"
|
|
|
|
@ -143,9 +146,10 @@
|
|
|
|
|
placeholder="请输入批次号"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
clearable="true"
|
|
|
|
|
:disabled="filterQuery.ggxh==null || filterQuery.ggxh=='' ||
|
|
|
|
|
:disabled="filterQuery.nameCode==null || filterQuery.nameCode=='' ||
|
|
|
|
|
filterQuery.ggxh==null || filterQuery.ggxh=='' ||
|
|
|
|
|
filterQuery.cpmctymc==null || filterQuery.cpmctymc=='' ||
|
|
|
|
|
filterQuery.ylqxzcrbarmc==null || filterQuery.ylqxzcrbarmc==''"
|
|
|
|
|
filterQuery.ylqxzcrbarmc==null || filterQuery.ylqxzcrbarmc==''"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -408,8 +412,8 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
import {filterCpmctymc, filterGgxh, filterNameCode, sourceSearch,filterCompanyName} from "@/api/udi/udiTrace";
|
|
|
|
|
import {filterCompany} from "@/api/basic/udiInfo";
|
|
|
|
|
import {filterylqxzcrbarmc,filterCpmctymc, filterGgxh, filterNameCode, sourceSearch,filterCompanyName} from "@/api/udi/udiTrace";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
@ -421,7 +425,8 @@ export default {
|
|
|
|
|
ggxh: null,
|
|
|
|
|
nameCode: null,
|
|
|
|
|
batchNo: null,
|
|
|
|
|
companyName: "",
|
|
|
|
|
companyName: null,
|
|
|
|
|
companyId: null,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
},
|
|
|
|
@ -549,10 +554,10 @@ export default {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
};
|
|
|
|
|
filterCompany(cQuery)
|
|
|
|
|
filterylqxzcrbarmc(cQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.fromOptions = response.data || [];
|
|
|
|
|
this.fromOptions = response.data.list || [];
|
|
|
|
|
console.log(this.fromOptions)
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|