1.修复超级用户查看补录单据无当前仓库和分库信息问题

fencang
x_z 3 years ago
parent 52d500a946
commit de5762c689

@ -1082,10 +1082,14 @@ export default {
lockProducts(status) {
let selectData = this.multipleSelection;
if (selectData.length === 0) {
this.$message.warning("请选择需要操作的器械信息!");
return;
}
let postQuery = {
ids: [],
lockStatus: status,
}
};
selectData.forEach((row) => {
postQuery.ids.push(row.rlId);
});

@ -82,16 +82,8 @@
</el-table-column>
<el-table-column label="往来单位" prop="fromCorp" width="250">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageCode" width="150">
<template slot-scope="scope">
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
</template>
</el-table-column>
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
<template slot-scope="scope">
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
</template>
</el-table-column>
<el-table-column label="当前仓库" prop="invName" width="150"></el-table-column>
<el-table-column label="当前分库" prop="subInvName" width="120"></el-table-column>
<el-table-column label="创建时间" prop="actDate" show-overflow-tooltip>
<template slot-scope="scope">
<i class="el-icon-time"></i>
@ -413,7 +405,6 @@ export default {
},
selectUnit(row) {
console.log(row.id);
this.unitUpdateQuery.id = this.curIndex;
this.unitUpdateQuery.fromCorp = row.name;
this.unitUpdateQuery.fromCorpId = row.erpId;
@ -433,7 +424,6 @@ export default {
this.filterQuery.customerId = store.getters.customerId;
orderListError(this.filterQuery)
.then((response) => {
console.log(response)
this.loading = false;
this.list = response.data.list || [];
this.total = response.data.total || 0;
@ -499,10 +489,7 @@ export default {
handleErrorDetail(poistion) {
var mOrder = this.list[poistion];
var corpOrderId = mOrder.remark;
this.errorDetail = mOrder.remark;
console.log(corpOrderId + " " + mOrder + " " + mOrder.remark);
this.dialogVisible = true;
},
@ -518,7 +505,6 @@ export default {
.then((response) => {
this.busTypes = response.data.list || [];
this.filterQuery.billAction = this.busTypes[0].action;
// this.getList();
})
.catch(() => {
});
@ -569,7 +555,6 @@ export default {
}
},
addOrders(row) {
console.log(row)
this.idQuery.id = '';
this.idQuery.actDate = '';
this.idQuery.corpOrderId = '';

@ -768,7 +768,6 @@ export default {
this.formData.codeFillCheck = this.curAction.codeFillCheck;
}
this.getStorage(this.formData.billType);
// this.getList();
})
.catch(() => {
});
@ -801,11 +800,9 @@ export default {
},
getStorage(event) {
let query = {
// advanceType: this.getActionName(event),
spUse: true,
};
this.storageList = [];
// this.formData.locStorageCode = null;
filterAll(query)
.then((response) => {
this.storageList = response.data || [];

@ -406,7 +406,7 @@ export default {
sourceMap: {
"1": "web端新增单据",
"2": "第三方系统",
"3": "平衡补录单据",
"3": "扫码单据转换",
},
isSp: store.getters.customerId,
detailFormVisible: false,

Loading…
Cancel
Save