修改仓库bug

prod
wangwei 2 years ago
parent 17f7945977
commit 633e049056

@ -114,7 +114,7 @@
</div> </div>
<el-divider style="margin: 15px"></el-divider> <el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loadManufacturerLoading" :data="manufacturerList" style="width: 100%" highlight-current-row border @row-click="supManufacturerClick"> <el-table v-loading="loadManufacturerLoading" :data="manufacturerList" style="width: 100%" ref="table" highlight-current-row border @row-click="supManufacturerClick">
<el-table-column label="序号" type="index"></el-table-column> <el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="生产企业名称" prop="companyName" width="200" show-overflow-tooltip></el-table-column> <el-table-column label="生产企业名称" prop="companyName" width="200" show-overflow-tooltip></el-table-column>
<el-table-column label="社会信用号" prop="creditCode"></el-table-column> <el-table-column label="社会信用号" prop="creditCode"></el-table-column>
@ -420,8 +420,8 @@ export default {
return statusMap[status]; return statusMap[status];
}, },
}, },
methods: {
methods: {
/**-------------------------配送企业资质--------------------------*/ /**-------------------------配送企业资质--------------------------*/
onReset() { onReset() {
this.$router.push({ this.$router.push({
@ -645,8 +645,6 @@ export default {
} }
, ,
mounted() {
},
created() { created() {
this.getList(); this.getList();
}, },

@ -106,11 +106,15 @@ export default {
}, },
onAddSubmit() { onAddSubmit() {
let postRequesty = { debugger
var postRequesty = {
invCode: this.inputQuery.code, invCode: this.inputQuery.code,
selectActions: [], selectActions: [],
}; };
var a=JSON.parse(sessionStorage.getItem('direction'))
if(a!="left"){
postRequesty.selectActions =JSON.parse(sessionStorage.getItem('userObj')); postRequesty.selectActions =JSON.parse(sessionStorage.getItem('userObj'));
}
updateInvRelBusType(postRequesty).then((res) => { updateInvRelBusType(postRequesty).then((res) => {
if (res.code == 20000) { if (res.code == 20000) {
this.closeDialog(); this.closeDialog();
@ -127,6 +131,7 @@ export default {
transferChange(value, direction, keyArr) { transferChange(value, direction, keyArr) {
sessionStorage.setItem('userObj', JSON.stringify(keyArr)) sessionStorage.setItem('userObj', JSON.stringify(keyArr))
sessionStorage.setItem('direction', JSON.stringify(direction))
console.log(value); console.log(value);
console.log(direction); console.log(direction);
console.log(keyArr); console.log(keyArr);

@ -565,7 +565,6 @@ export default {
}, },
// //
intentSubSelect(row) { intentSubSelect(row) {
if (row != null) { if (row != null) {
if (row.sysId != null && row.sysId != undefined) { if (row.sysId != null && row.sysId != undefined) {
this.thirdSubQuery.thirdSysFk = row.sysId; this.thirdSubQuery.thirdSysFk = row.sysId;

Loading…
Cancel
Save