diff --git a/src/api/system/invRemindSet.js b/src/api/system/invRemindSet.js index 47659f93..6ff6bc2c 100644 --- a/src/api/system/invRemindSet.js +++ b/src/api/system/invRemindSet.js @@ -23,3 +23,19 @@ export function deleteInvRemindSet(data){ data: data }); } + +export function getInfoByInvId(params) { + return axios({ + url: "/udiwms/inv/remind/set/getInfoByInvId", + method: "get", + params: params + }); +} + +export function batchAddInvRemindSet(data) { + return axios({ + url: "/udiwms/inv/remind/set/batchAddInvRemindSet", + method: "post", + data: data + }); +} diff --git a/src/views/inventory/InvProducts.vue b/src/views/inventory/InvProducts.vue index 92ab5360..f61cddbc 100644 --- a/src/views/inventory/InvProducts.vue +++ b/src/views/inventory/InvProducts.vue @@ -143,6 +143,13 @@ @@ -192,6 +213,8 @@ import {getInvProduct, deleteInvProduct, getProduct} from "@/api/inventory/invPo import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain"; import {isBlank} from "@/utils/strUtil"; import invProductsDetail from "@/views/inventory/InvProductsDetail.vue"; +import addInvRemindSetDialog from "@/views/inventory/addInvRemindSetDialog.vue"; + export default { name: "InvProducts", @@ -234,7 +257,9 @@ export default { supId: null, deptCode: null, invCode: null - } + }, + addInvRemindSetDialogVisible: false, + invId: null }; }, methods: { @@ -372,10 +397,19 @@ export default { }).catch((error) => { this.$message.error(error.message); }); - } + }, + invRemindSet(row) { + this.invId = row.id; + this.addInvRemindSetDialogVisible = true; + }, + closeRemindSetDialog() { + this.invId = null; + this.addInvRemindSetDialogVisible = false; + }, }, components: { - invProductsDetail + invProductsDetail, + addInvRemindSetDialog }, mounted() { document.body.ondrop = function (event) { diff --git a/src/views/inventory/addInvRemindSetDialog.vue b/src/views/inventory/addInvRemindSetDialog.vue new file mode 100644 index 00000000..cd7da558 --- /dev/null +++ b/src/views/inventory/addInvRemindSetDialog.vue @@ -0,0 +1,212 @@ + + + + + + diff --git a/src/views/remind/addInvRemindSetDialog.vue b/src/views/remind/addInvRemindSetDialog.vue new file mode 100644 index 00000000..0669992b --- /dev/null +++ b/src/views/remind/addInvRemindSetDialog.vue @@ -0,0 +1,335 @@ + + + + diff --git a/src/views/remind/invRemindSet.vue b/src/views/remind/invRemindSet.vue index e445901e..01b53978 100644 --- a/src/views/remind/invRemindSet.vue +++ b/src/views/remind/invRemindSet.vue @@ -1,53 +1,81 @@ - +