同步相关bug修改,预验收,寄售库存查询修改

prod
anthonywj 3 years ago
parent f0d3d119ab
commit d29510234d

@ -241,6 +241,15 @@ export function getInvListByUser(params) {
params: params
});
}
export function findAllInvByUser(params) {
return axios({
url: "/spms/inv/warehouse/findAllInvByUser",
method: "get",
params: params
});
}
export function selectInvById(params) {

@ -290,7 +290,6 @@ export default {
addCode() {
debugger
if (this.$isBlank(this.udiCode)) {
this.$message.error("UDI码不能为空");
}

@ -164,7 +164,6 @@ export default {
},
getList() {
debugger
this.loading = true;
//
if(this.invQueryData.advanceType==3){

@ -218,7 +218,7 @@
</template>
<script>
import {getInvListByUser} from "@/api/system/invWarehouse";
import {findAllInvByUser} from "@/api/system/invWarehouse";
import {getInvPreProduct, deleteInvPreProduct} from "@/api/inventory/invPreProduct";
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain";
import {isBlank} from "@/utils/strUtil";
@ -336,7 +336,7 @@ export default {
let query = {
advanceType: 3, //123
};
getInvListByUser(query)
findAllInvByUser(query)
.then((response) => {
this.invList = response.data || [];
this.getList();

@ -211,7 +211,7 @@
</template>
<script>
import {getInvListByUser} from "@/api/system/invWarehouse";
import {findAllInvByUser} from "@/api/system/invWarehouse";
import {getInvPreInProduct, deleteInvPreInProduct} from "@/api/inventory/invPreInSearch";
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain";
import {isBlank} from "@/utils/strUtil";
@ -328,7 +328,7 @@ export default {
let query = {
advanceType: 2,
};
getInvListByUser(query)
findAllInvByUser(query)
.then((response) => {
this.invList = response.data || [];
this.getList();

@ -298,7 +298,8 @@ export default {
downFile(rows) {
infoByStatus({
'id': rows.id
'id': rows.id,
"dlType": 1,
}).then(res => {
let blob = new Blob([res])
let fileName = rows.cacheFilePath.substring(rows.cacheFilePath.lastIndexOf('/'))

@ -303,7 +303,8 @@ export default {
downFile(rows) {
infoByStatus({
'id': rows.id
'id': rows.id,
"dlType": 2,
}).then(res => {
let blob = new Blob([res])
let fileName = rows.cacheFilePath.substring(rows.cacheFilePath.lastIndexOf('/'))

Loading…
Cancel
Save