|
|
|
@ -265,6 +265,7 @@ import {getLocalJoinByUser} from "@/api/basic/busType";
|
|
|
|
|
import {isBlank} from "@/utils/strUtil";
|
|
|
|
|
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain";
|
|
|
|
|
import store from "@/store";
|
|
|
|
|
import { getInvListByUser } from '@/api/system/invWarehouse'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const formJson = {
|
|
|
|
@ -406,6 +407,14 @@ export default {
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getInvList() {
|
|
|
|
|
getInvListByUser()
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.invList = response.data || [];
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
|
this.currentRow = val;
|
|
|
|
|
this.getOrderDetails();
|
|
|
|
@ -498,6 +507,13 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
getCodeDetailList() {
|
|
|
|
|
this.codeDetailLoading = true;
|
|
|
|
|
if (this.auditDateRange !== null) {
|
|
|
|
|
this.codeQuery.startAduditTime = this.auditDateRange[0];
|
|
|
|
|
this.codeQuery.endAduditTime = this.auditDateRange[1];
|
|
|
|
|
} else {
|
|
|
|
|
this.codeQuery.startAduditTime = null;
|
|
|
|
|
this.codeQuery.endAduditTime = null;
|
|
|
|
|
}
|
|
|
|
|
this.codeQuery.productName= this.codeQuery.cpmctymc;
|
|
|
|
|
filterDetail(this.codeQuery).then((res) => {
|
|
|
|
|
this.codeDetailLoading = false;
|
|
|
|
@ -553,12 +569,13 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
this.codeQuery.invCode=this.$store.getters.locInvCode;
|
|
|
|
|
this.getInvList();
|
|
|
|
|
this.getList();
|
|
|
|
|
let supId = this.$store.getters.customerId;
|
|
|
|
|
if (supId == "110") {
|
|
|
|
|
this.showSup = true;
|
|
|
|
|
}
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|