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

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

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

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

Loading…
Cancel
Save