1.修复扫码单据校验异常页面仓库无法选择问题

2.修复新用户审核,所属供应商无法选择问题
master
x_z 3 years ago
parent 653ec92bba
commit 51e962b2d4

@ -262,9 +262,10 @@
>
<el-option
v-for="item in sOptions"
:key="idx"
:key="id"
:label="item.name"
:value="item">
:value="item.id">
<span>{{item.name}}</span>
</el-option>
</el-select>
</el-form-item>
@ -410,9 +411,9 @@
},
selectOne(event) {
this.rowData.companyName = event.name;
this.rowData.companyId = event.value;
this.rowData.companyId = event.id;
this.checkQuery.companyName = event.name;
this.checkQuery.companyId = event.value;
this.checkQuery.companyId = event.id;
this.sSelectStatus = true;
},
remoteMethod(query) {
@ -425,9 +426,8 @@
};
getBasicUnitMaintains2(tQuery)
.then((response) => {
console.log(response)
this.sLoading = false;
this.sOptions = response.data.list;
this.sOptions = response.data.list
})
.catch(() => {
this.sLoading = false;
@ -442,7 +442,6 @@
},
handleCheckedChange(val) {
console.log(val);
},
handleSizeChange(val) {
@ -454,7 +453,6 @@
this.getList();
},
findMethod(query) {
console.log(query);
this.fromOptions = [];
let cQuery = {
key: query,
@ -487,21 +485,16 @@
});
},
checkDialog(row) {
console.log(this.checkQuery.roles);
this.check = row.roles;
this.checkQuery = {
id: row.id + "",
checkType: 1,
roles: row.roles,
};
console.log(
this.check + "---" + row.roles + "---" + this.checkQuery.roles
);
this.rowData = row;
if (this.registerConfigMap.companyCheckStatus) {
this.sValue = this.rowData.companyName;
}
console.log(this.rowData);
this.centerDialogVisible = true;
},
@ -547,7 +540,6 @@
authCustomerRoles()
.then((response) => {
this.roles = response.data.list || [];
console.log("888---" + this.checkQuery.roles);
})
.catch(() => {
this.checkQuery.roles = [];

@ -570,6 +570,7 @@ export default {
status: null,
startTime: "",
endTime: "",
locStorageCode: null
},
detailQuery: {
orderId: "",
@ -774,7 +775,6 @@ export default {
this.filterQuery.customerId = store.getters.customerId;
filterOrder(this.filterQuery)
.then((response) => {
console.log(response)
this.loading = false;
this.list = response.data.list || [];
this.total = response.data.total || 0;
@ -1062,6 +1062,7 @@ export default {
filterAllByUser()
.then((response) => {
this.storageList = response.data || [];
console.log(this.storageList);
if (this.storageList.length > 0) {
this.filterQuery.locStorageCode = this.storageList[0].code;
this.getList();

Loading…
Cancel
Save