业务单据功能提交

pro
郑明梁 2 years ago
parent bf40ef85d9
commit 89e17081ba

@ -1,14 +1,15 @@
import axios from "@/utils/request";
export function filterCompanyProductRelevance(query) {
return axios(
{
url: "/sale/info/company/product/relevance/filter",
method: "get",
params: query
}
)
return axios(
{
url: "/sale/info/company/product/relevance/filter",
method: "get",
params: query
}
)
}
export function filterCompanyProductplanRelevance(query) {
return axios(
{
@ -20,34 +21,34 @@ export function filterCompanyProductplanRelevance(query) {
}
export function insertFilter(query) {
return axios(
{
url: "/sale/info/insertFilter",
method: "post",
data: query
}
);
return axios(
{
url: "/sale/info/insertFilter",
method: "post",
data: query
}
);
}
export function insertCompanyProductRelevance(query) {
return axios(
{
url: "/sale/info/insertCompanyProductRelevance",
method: "post",
data: query
}
);
return axios(
{
url: "/sale/info/insertCompanyProductRelevance",
method: "post",
data: query
}
);
}
export function deleteCompanyProductRelevance(query) {
return axios(
{
url: "/sale/info/deleteCompanyProductRelevance",
method: "post",
data: query
}
);
return axios(
{
url: "/sale/info/deleteCompanyProductRelevance",
method: "post",
data: query
}
);
}

@ -138,7 +138,7 @@
</template>
<script>
import {filterCompanyProductRelevance} from "../../../api/basic/udiRlSuptRelevance";
import {filterCompanyProductplanRelevance, filterCompanyProductRelevance} from "../../../api/basic/udiRlSuptRelevance";
import {addApplyDetail, addApply} from "../../../api/purchase/purApply";
import store from "../../../store";
import udiRlDetailDialog from "./../../purchase/purApply/purUdiRlDetailDialog";
@ -297,7 +297,7 @@ export default {
getList() {
this.loading = true;
this.listQuery.customerId = store.getters.customerId;
filterCompanyProductRelevance(this.listQuery)
filterCompanyProductplanRelevance(this.listQuery)
.then((response) => {
this.loading = false;
if (response.code === 20000) {

Loading…
Cancel
Save