diff --git a/src/api/purchase/purContract.js b/src/api/purchase/purContract.js new file mode 100644 index 00000000..853a7840 --- /dev/null +++ b/src/api/purchase/purContract.js @@ -0,0 +1,91 @@ +import axios from "@/utils/request"; +import request from "@/utils/request"; + +export function listPlan(query) { + return axios({ + url: '/purchase/contract/list', + method: 'get', + params: query + }) +} + +export function listApplyDetail(query) { + return axios({ + url: '/purchase/contract/list/detail', + method: 'get', + params: query + }) +} + +//更新pur +export function updateDetail(data) { + return request({ + url: "/purchase/contract/updateDetail", + method: 'post', + data: data + }) +} + + +// 添加详情表 +export function addContractDetail(data) { + return request({ + url: "/purchase/contract/addContractDetail", + method: 'post', + data: data + }) +} + +export function inserThrOrderWeb(query) { + return axios({ + url: "/purchase/contract/postOrder", + method: "post", + data: query + }); +} + +// 添加puan +export function addContractId() { + return request({ + url: "/purchase/addContractDetail/add", + method: 'post' + }) +} + +// 查询详情表 +export function selectContractDetail(query) { + return request({ + url: "/purchase/contract/list/detail", + method: 'get', + params: query + }) +} + +//删除计划表和详情表 +export function delContractDetailAll(data) { + return request({ + url: "/purchase/contract/delContractDetailAll", + method: 'post', + data: data + }) +} + +// 删除pur +export function delApplyDetail(id) { + return axios({ + url: '/purchase/contract/detail/' + id, + method: 'delete' + }) +} + + +// 导入计划 +export function importPlan(data) { + return axios({ + url: "/purchase/contract/importPlan", + method: 'post', + data: data + }) +} + + diff --git a/src/views/purchase/purContract/purContract.vue b/src/views/purchase/purContract/purContract.vue new file mode 100644 index 00000000..f3ca7c89 --- /dev/null +++ b/src/views/purchase/purContract/purContract.vue @@ -0,0 +1,633 @@ + + + + diff --git a/src/views/purchase/purContract/purContractDetailDialog.vue b/src/views/purchase/purContract/purContractDetailDialog.vue new file mode 100644 index 00000000..3ea3f46c --- /dev/null +++ b/src/views/purchase/purContract/purContractDetailDialog.vue @@ -0,0 +1,437 @@ + + + + + + + diff --git a/src/views/purchase/purContract/purContractEditDialog.vue b/src/views/purchase/purContract/purContractEditDialog.vue new file mode 100644 index 00000000..a811e7d7 --- /dev/null +++ b/src/views/purchase/purContract/purContractEditDialog.vue @@ -0,0 +1,741 @@ + + + + + + + diff --git a/src/views/purchase/purContract/purContractFinish.vue b/src/views/purchase/purContract/purContractFinish.vue new file mode 100644 index 00000000..e78aedc9 --- /dev/null +++ b/src/views/purchase/purContract/purContractFinish.vue @@ -0,0 +1,633 @@ + + + + diff --git a/src/views/purchase/purContract/purContractReviewed.vue b/src/views/purchase/purContract/purContractReviewed.vue new file mode 100644 index 00000000..b4c1adad --- /dev/null +++ b/src/views/purchase/purContract/purContractReviewed.vue @@ -0,0 +1,633 @@ + + + + diff --git a/src/views/purchase/purContract/purContractSelectPlan.vue b/src/views/purchase/purContract/purContractSelectPlan.vue new file mode 100644 index 00000000..7b8aca9c --- /dev/null +++ b/src/views/purchase/purContract/purContractSelectPlan.vue @@ -0,0 +1,269 @@ + + + + + diff --git a/src/views/purchase/purContract/purContractSelectProduct.vue b/src/views/purchase/purContract/purContractSelectProduct.vue new file mode 100644 index 00000000..a43d0dbe --- /dev/null +++ b/src/views/purchase/purContract/purContractSelectProduct.vue @@ -0,0 +1,402 @@ + + + + + diff --git a/src/views/purchase/purContract/selectPurContract.vue b/src/views/purchase/purContract/selectPurContract.vue new file mode 100644 index 00000000..0932b2bb --- /dev/null +++ b/src/views/purchase/purContract/selectPurContract.vue @@ -0,0 +1,315 @@ + + + + +