diff --git a/src/api/lease/apply.js b/src/api/lease/apply.js new file mode 100644 index 00000000..695cb6b3 --- /dev/null +++ b/src/api/lease/apply.js @@ -0,0 +1,66 @@ +import request from '@/utils/request' + +//领料申请-列表 +export function getListLeaseApply(query) { + return request({ + url: '/material/lease_apply_info/list', + method: 'get', + params: query, + }) +} + +//新购到货-二级列表详情 +export function getPurchaseCheckInfo(query) { + return request({ + url: '/material/purchase_check_info/getInfo', + method: 'get', + params: query, + }) +} + +// 新购到货-新增 +export function addPurchaseCheckInfo(data) { + return request({ + url: '/material/purchase_check_info', + method: 'post', + data: data, + }) +} + +// 新购到货-编辑 +export function updatePurchaseCheckInfo(data) { + return request({ + url: '/material/purchase_check_info', + method: 'put', + data: data, + }) +} + +// 新购到货--删除 +export function purchaseCheckInfoRemove(ids) { + return request({ + url: '/material/purchase_check_info/' + ids, + method: 'delete', + }) +} + + + +// 上传报告附件 +export function uploadPurchaseFile(data) { + return request({ + url: '/material/bm_file_info', + method: 'post', + data: data + }) +} + + +// // 状态信息下拉框- +// export function queryStatusDataApi(query) { +// return request({ +// url: '/system/lease_apply_status/listNoPage', +// method: 'get', +// params: query +// }) +// } diff --git a/src/api/ma/partType.js b/src/api/ma/partType.js index 219eb964..046f87e4 100644 --- a/src/api/ma/partType.js +++ b/src/api/ma/partType.js @@ -61,4 +61,21 @@ export function addMaType(data) { method: 'post', data: data, }) +} + +// 配件类型管理--修改 +export function updateMaType(data) { + return request({ + url: '/material/ma_part_type', + method: 'put', + data: data, + }) +} + +// 配件类型管理--删除 +export function delMaType(id) { + return request({ + url: '/material/ma_part_type/' + id, + method: 'delete', + }) } \ No newline at end of file diff --git a/src/components/pageHeaderApply/index.vue b/src/components/pageHeaderApply/index.vue new file mode 100644 index 00000000..4b8f677c --- /dev/null +++ b/src/components/pageHeaderApply/index.vue @@ -0,0 +1,30 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/views/material/lease/apply/component/addToolsApply.vue b/src/views/material/lease/apply/component/addToolsApply.vue new file mode 100644 index 00000000..7e225afe --- /dev/null +++ b/src/views/material/lease/apply/component/addToolsApply.vue @@ -0,0 +1,710 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 保存 + + + + + + + + + + + + + + + + + + + + + + + + + + + 删除 + + + + + + + + diff --git a/src/views/material/lease/apply/component/homeApply.vue b/src/views/material/lease/apply/component/homeApply.vue new file mode 100644 index 00000000..0dc52ab6 --- /dev/null +++ b/src/views/material/lease/apply/component/homeApply.vue @@ -0,0 +1,667 @@ + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 领料申请 + + + 发布 + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查看 + 编辑 + + 发布 + 领料单 + 出库检验单 + + 删除 + + + + + + + + + + + + 机具设备到货验收单 + + + + 单据编号: + + + 生产厂家(供应商): + + + + 到货日期: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 供应科: + + + + + + 生产技术科: + + + + + + 库管班: + + + + + + + + + + + + + diff --git a/src/views/material/lease/apply/component/queryToolsApply.vue b/src/views/material/lease/apply/component/queryToolsApply.vue new file mode 100644 index 00000000..2b0a373a --- /dev/null +++ b/src/views/material/lease/apply/component/queryToolsApply.vue @@ -0,0 +1,404 @@ + + + + + 导出 + + + + + + + + + + + + + + + + + + 报告管理 + + + + + + + + + + + + + + + + + + {{ this.rowData.maTypeName }} + + + + + {{ this.rowData.typeName }} + + + + + + + + + + 查看 + + + + + + + + + + + + + + + + diff --git a/src/views/material/lease/apply/index.vue b/src/views/material/lease/apply/index.vue new file mode 100644 index 00000000..f75fada8 --- /dev/null +++ b/src/views/material/lease/apply/index.vue @@ -0,0 +1,87 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/views/material/ma/partType/index.vue b/src/views/material/ma/partType/index.vue index 9b4fc7eb..45a171eb 100644 --- a/src/views/material/ma/partType/index.vue +++ b/src/views/material/ma/partType/index.vue @@ -367,6 +367,8 @@ import { editAccessory, delAccessory, addMaType, + updateMaType, + delMaType, } from "@/api/ma/partType"; import Treeselect from "@riophae/vue-treeselect"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; @@ -661,15 +663,15 @@ export default { removeTreeNode(data) { // this.$message.success('删除--') console.log(data, "删除时的数据源--"); - const typeId = data.id; + const id = data.id; this.$modal .confirm("是否确认删除数据项?") .then(function () { - return delMaType(typeId); + return delMaType(id); }) .then(() => { this.$modal.msgSuccess("删除成功"); - this.getTreeData(); + this.getTreeselect(); }) .catch(() => {}); }, @@ -694,11 +696,10 @@ export default { }; const editParams = { - houseId: id, paName, level: this.levelTemp, parentId: this.parentId, - typeId: id, + id: id, }; this.$refs["addFormParamsRef"].validate(async (valid) => { @@ -709,7 +710,7 @@ export default { this.$message.success("新增成功!"); this.addTitleVisible = false; this.getList(); - this.getTreeData(); + this.getTreeselect(); } } else { const res = await updateMaType(editParams); @@ -717,7 +718,7 @@ export default { this.$message.success("修改成功!"); this.addTitleVisible = false; this.getList(); - this.getTreeData(); + this.getTreeselect(); } } } diff --git a/src/views/material/ma/type/index.vue b/src/views/material/ma/type/index.vue index 8324449f..1ba96cb3 100644 --- a/src/views/material/ma/type/index.vue +++ b/src/views/material/ma/type/index.vue @@ -1,1214 +1,1216 @@ - - - - - - - - - - - - {{ node.label.slice(0, 3) + '...' }} - {{ node.label }} + + + + + + + + + + + + {{ + node.label.slice(0, 3) + "..." + }} + {{ node.label }} - - appendTreeNode(data)" - > - - editTreeNode(data)" - > - - removeTreeNode(data)" - > - - - - - - - - - + appendTreeNode(data)" > - - - - - - 查询 - 重置 - - - - - - 导出 - - - - - - + editTreeNode(data)" > - - - - - - - + + removeTreeNode(data)" + > + + + + + + + + + + + + - - - - 查看 - - - 编辑 - - - 删除 - - - - + + 查询 + 重置 + + - - + + + 导出 + + + - - - + + + + + + - > - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 编码管理 - 数量管理 - - - - - - - 扣税 - 不扣税 - - - - - - - - 月 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - 确 定 - 取 消 - - - - - + + + + + 编码管理 + 数量管理 + + + + + + + 扣税 + 不扣税 + + + + + + + + 月 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确 定 + 取 消 + + + + + diff --git a/src/views/material/purchase/goodsArrived/component/home.vue b/src/views/material/purchase/goodsArrived/component/home.vue index 2dd792de..9c4c6927 100644 --- a/src/views/material/purchase/goodsArrived/component/home.vue +++ b/src/views/material/purchase/goodsArrived/component/home.vue @@ -1,182 +1,179 @@ - - + + + - - - - + + - - - - - - - - - - - - 搜索 - 重置 - - - - - - 设备到货新增 - - - 导出 - - - - - + - - - - - - - - - - + + + - + + + - - + + 搜索 + 重置 + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + 查看 + 编辑 + + 通知 + 验收单 + + 删除 + + + + + + + + + + + + 机具设备到货验收单 + + + + 单据编号: + + + 生产厂家(供应商): + + + + 到货日期: + + + + + + + + + + + + + + + + - - - 查看 - 编辑 + + + + + + + - 通知 - 验收单 + + + + 供应科: + + - 删除 - - - + + + 生产技术科: + + - + + 库管班: + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + - - - - 机具设备到货验收单 - - - - 单据编号: - - - 生产厂家(供应商): - - - - 到货日期: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 供应科: - - - - - - 生产技术科: - - - - - - 库管班: - - - - - - - - - - - - - - - - - - - - - - - - - - - - 删除 + >删除 - - + + - - - - - - - - - - - + + + + + + + + + + - + - - - + + +