|
|
@ -104,6 +104,11 @@
|
|
|
|
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
|
|
|
|
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="当前分库" prop="invWarehouseCode" width="150">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="提交状态">
|
|
|
|
<el-table-column label="提交状态">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -179,6 +184,7 @@ import {
|
|
|
|
import {stockOrderUploadList} from "@/api/inout/stockOrderUpload";
|
|
|
|
import {stockOrderUploadList} from "@/api/inout/stockOrderUpload";
|
|
|
|
import {getLocalJoinByUser} from "../../api/basic/busLocalType";
|
|
|
|
import {getLocalJoinByUser} from "../../api/basic/busLocalType";
|
|
|
|
import {filterAllByUser} from "@/api/basic/invWarehouse";
|
|
|
|
import {filterAllByUser} from "@/api/basic/invWarehouse";
|
|
|
|
|
|
|
|
import {filterSubByInv} from "@/api/basic/invSubWarehouse";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "stockOrderDelSearch",
|
|
|
|
name: "stockOrderDelSearch",
|
|
|
@ -207,6 +213,7 @@ export default {
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
detailTotal: 0,
|
|
|
|
detailTotal: 0,
|
|
|
|
storageList: [],
|
|
|
|
storageList: [],
|
|
|
|
|
|
|
|
subInvList: [],
|
|
|
|
loading: false,
|
|
|
|
loading: false,
|
|
|
|
detailLoading: false,
|
|
|
|
detailLoading: false,
|
|
|
|
idQuery: {
|
|
|
|
idQuery: {
|
|
|
@ -466,6 +473,24 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
getSubStorageName(code) {
|
|
|
|
|
|
|
|
for (let i = 0; i < this.subInvList.length; i++) {
|
|
|
|
|
|
|
|
if (this.subInvList[i].code === code) {
|
|
|
|
|
|
|
|
return this.subInvList[i].name;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getSubInvList() {
|
|
|
|
|
|
|
|
let query = {};
|
|
|
|
|
|
|
|
filterSubByInv(query)
|
|
|
|
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
this.subInvList = response.data || [];
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
getStorage() {
|
|
|
|
getStorage() {
|
|
|
|
this.storageList = [];
|
|
|
|
this.storageList = [];
|
|
|
|
filterAllByUser()
|
|
|
|
filterAllByUser()
|
|
|
@ -473,6 +498,7 @@ export default {
|
|
|
|
this.storageList = response.data || [];
|
|
|
|
this.storageList = response.data || [];
|
|
|
|
if (this.storageList.length > 0) {
|
|
|
|
if (this.storageList.length > 0) {
|
|
|
|
this.query.locStorageCode = this.storageList[0].code;
|
|
|
|
this.query.locStorageCode = this.storageList[0].code;
|
|
|
|
|
|
|
|
this.getSubInvList();
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|