|
|
@ -46,6 +46,29 @@
|
|
|
|
<el-form-item class="query-form-item">
|
|
|
|
<el-form-item class="query-form-item">
|
|
|
|
<el-input v-model="filterQuery.thrPiId" placeholder="第三方产品编码" clearable="true"></el-input>
|
|
|
|
<el-input v-model="filterQuery.thrPiId" placeholder="第三方产品编码" clearable="true"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item class="query-form-item">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="filterQuery.supId"
|
|
|
|
|
|
|
|
filterable
|
|
|
|
|
|
|
|
remote
|
|
|
|
|
|
|
|
clearable="true"
|
|
|
|
|
|
|
|
reserve-keyword
|
|
|
|
|
|
|
|
placeholder="供应商"
|
|
|
|
|
|
|
|
:remote-method="findMethod"
|
|
|
|
|
|
|
|
:loading="loading"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="item in fromOptions"
|
|
|
|
|
|
|
|
:key="item.customerId"
|
|
|
|
|
|
|
|
:label="item.companyName"
|
|
|
|
|
|
|
|
:value="item.customerId"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<span style="float: left">{{ item.companyName }}</span>
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
<el-button-group>
|
|
|
|
<el-button-group>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
|
|
|
@ -983,8 +1006,6 @@
|
|
|
|
@closeUdi="closeUdi"
|
|
|
|
@closeUdi="closeUdi"
|
|
|
|
></selectLocalUdi>
|
|
|
|
></selectLocalUdi>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
<el-dialog
|
|
|
|
title="选择DI版本"
|
|
|
|
title="选择DI版本"
|
|
|
|
:visible.sync="selectVersionVisible"
|
|
|
|
:visible.sync="selectVersionVisible"
|
|
|
@ -1030,11 +1051,13 @@ import selectErp from "./UdiInfoselectErpUdi";
|
|
|
|
import selectLocalUdi from "./UdiInfoSelectLocalUdi";
|
|
|
|
import selectLocalUdi from "./UdiInfoSelectLocalUdi";
|
|
|
|
import selectUdiVersion from "./UdiinfoSelectVersion";
|
|
|
|
import selectUdiVersion from "./UdiinfoSelectVersion";
|
|
|
|
import {findConfig} from "@/api/thrsys/spsSyncStatus";
|
|
|
|
import {findConfig} from "@/api/thrsys/spsSyncStatus";
|
|
|
|
|
|
|
|
import {filterCustomers} from "@/api/auth/customer";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
filterQuery: {
|
|
|
|
filterQuery: {
|
|
|
|
|
|
|
|
supId:null,
|
|
|
|
lockStatus: null,
|
|
|
|
lockStatus: null,
|
|
|
|
unionCode: null,
|
|
|
|
unionCode: null,
|
|
|
|
udiCode: null,
|
|
|
|
udiCode: null,
|
|
|
@ -1048,6 +1071,7 @@ export default {
|
|
|
|
thrPiId: null,
|
|
|
|
thrPiId: null,
|
|
|
|
filterType: null,
|
|
|
|
filterType: null,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
fromOptions: [],
|
|
|
|
productType: null,
|
|
|
|
productType: null,
|
|
|
|
editQuery: null,
|
|
|
|
editQuery: null,
|
|
|
|
productRemarkSet: {},
|
|
|
|
productRemarkSet: {},
|
|
|
@ -1122,6 +1146,7 @@ export default {
|
|
|
|
page: 1,
|
|
|
|
page: 1,
|
|
|
|
limit: 20,
|
|
|
|
limit: 20,
|
|
|
|
addType: 1,
|
|
|
|
addType: 1,
|
|
|
|
|
|
|
|
supId:null,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1620,6 +1645,22 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
findMethod(query) {
|
|
|
|
|
|
|
|
let cQuery = {
|
|
|
|
|
|
|
|
companyName: query,
|
|
|
|
|
|
|
|
page: 1,
|
|
|
|
|
|
|
|
limit: 10,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
filterCustomers(cQuery)
|
|
|
|
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
|
|
this.fromOptions = response.data.list || [];
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
|
|
this.options = [];
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|