From 3fa378d70bd8649ba158528bef13124d41688ef3 Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Thu, 8 May 2025 11:14:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=85=A5=E9=A3=9F=E5=A0=82=E8=BF=9B?= =?UTF-8?q?=E9=94=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/canteen/canteenErpMaterial.ts | 41 ++++ src/api/canteen/canteenInventoryRecords.ts | 41 ++++ .../canteen/canteenInventoryRecordsItem.ts | 41 ++++ src/api/canteen/canteenProductionRecord.ts | 41 ++++ .../canteen/canteenProductionRecordItem.ts | 41 ++++ src/api/canteen/canteenStock.ts | 41 ++++ .../canteen/productionRecordItemRelation.ts | 41 ++++ src/views/canteen/canteenErpMaterial/form.vue | 106 +++++++++ .../canteen/canteenErpMaterial/index.vue | 114 +++++++++ .../canteen/canteenInventoryRecords/form.vue | 217 ++++++++++++++++++ .../canteen/canteenInventoryRecords/index.vue | 150 ++++++++++++ .../canteenInventoryRecordsItem/form.vue | 209 +++++++++++++++++ .../canteenInventoryRecordsItem/index.vue | 129 +++++++++++ .../canteen/canteenProductionRecord/form.vue | 134 +++++++++++ .../canteen/canteenProductionRecord/index.vue | 134 +++++++++++ .../canteenProductionRecordItem/form.vue | 146 ++++++++++++ .../canteenProductionRecordItem/index.vue | 120 ++++++++++ src/views/canteen/canteenStock/form.vue | 147 ++++++++++++ src/views/canteen/canteenStock/index.vue | 125 ++++++++++ .../productionRecordItemRelation/form.vue | 104 +++++++++ .../productionRecordItemRelation/index.vue | 114 +++++++++ 21 files changed, 2236 insertions(+) create mode 100644 src/api/canteen/canteenErpMaterial.ts create mode 100644 src/api/canteen/canteenInventoryRecords.ts create mode 100644 src/api/canteen/canteenInventoryRecordsItem.ts create mode 100644 src/api/canteen/canteenProductionRecord.ts create mode 100644 src/api/canteen/canteenProductionRecordItem.ts create mode 100644 src/api/canteen/canteenStock.ts create mode 100644 src/api/canteen/productionRecordItemRelation.ts create mode 100644 src/views/canteen/canteenErpMaterial/form.vue create mode 100644 src/views/canteen/canteenErpMaterial/index.vue create mode 100644 src/views/canteen/canteenInventoryRecords/form.vue create mode 100644 src/views/canteen/canteenInventoryRecords/index.vue create mode 100644 src/views/canteen/canteenInventoryRecordsItem/form.vue create mode 100644 src/views/canteen/canteenInventoryRecordsItem/index.vue create mode 100644 src/views/canteen/canteenProductionRecord/form.vue create mode 100644 src/views/canteen/canteenProductionRecord/index.vue create mode 100644 src/views/canteen/canteenProductionRecordItem/form.vue create mode 100644 src/views/canteen/canteenProductionRecordItem/index.vue create mode 100644 src/views/canteen/canteenStock/form.vue create mode 100644 src/views/canteen/canteenStock/index.vue create mode 100644 src/views/canteen/productionRecordItemRelation/form.vue create mode 100644 src/views/canteen/productionRecordItemRelation/index.vue diff --git a/src/api/canteen/canteenErpMaterial.ts b/src/api/canteen/canteenErpMaterial.ts new file mode 100644 index 0000000..dc70ff9 --- /dev/null +++ b/src/api/canteen/canteenErpMaterial.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/canteen/canteenErpMaterial/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/canteen/canteenErpMaterial', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/canteen/canteenErpMaterial/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/canteen/canteenErpMaterial', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/canteen/canteenErpMaterial', + method: 'put', + data: obj + }) +} + diff --git a/src/api/canteen/canteenInventoryRecords.ts b/src/api/canteen/canteenInventoryRecords.ts new file mode 100644 index 0000000..7338eea --- /dev/null +++ b/src/api/canteen/canteenInventoryRecords.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/canteen/canteenInventoryRecords/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/canteen/canteenInventoryRecords', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/canteen/canteenInventoryRecords/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/canteen/canteenInventoryRecords', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/canteen/canteenInventoryRecords', + method: 'put', + data: obj + }) +} + diff --git a/src/api/canteen/canteenInventoryRecordsItem.ts b/src/api/canteen/canteenInventoryRecordsItem.ts new file mode 100644 index 0000000..5662c6b --- /dev/null +++ b/src/api/canteen/canteenInventoryRecordsItem.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/canteen/canteenInventoryRecordsItem/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/canteen/canteenInventoryRecordsItem', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/canteen/canteenInventoryRecordsItem/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/canteen/canteenInventoryRecordsItem', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/canteen/canteenInventoryRecordsItem', + method: 'put', + data: obj + }) +} + diff --git a/src/api/canteen/canteenProductionRecord.ts b/src/api/canteen/canteenProductionRecord.ts new file mode 100644 index 0000000..88b0146 --- /dev/null +++ b/src/api/canteen/canteenProductionRecord.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/canteen/canteenProductionRecord/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/canteen/canteenProductionRecord', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/canteen/canteenProductionRecord/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/canteen/canteenProductionRecord', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/canteen/canteenProductionRecord', + method: 'put', + data: obj + }) +} + diff --git a/src/api/canteen/canteenProductionRecordItem.ts b/src/api/canteen/canteenProductionRecordItem.ts new file mode 100644 index 0000000..1f741f2 --- /dev/null +++ b/src/api/canteen/canteenProductionRecordItem.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/canteen/canteenProductionRecordItem/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/canteen/canteenProductionRecordItem', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/canteen/canteenProductionRecordItem/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/canteen/canteenProductionRecordItem', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/canteen/canteenProductionRecordItem', + method: 'put', + data: obj + }) +} + diff --git a/src/api/canteen/canteenStock.ts b/src/api/canteen/canteenStock.ts new file mode 100644 index 0000000..533929b --- /dev/null +++ b/src/api/canteen/canteenStock.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/canteen/canteenStock/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/canteen/canteenStock', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/canteen/canteenStock/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/canteen/canteenStock', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/canteen/canteenStock', + method: 'put', + data: obj + }) +} + diff --git a/src/api/canteen/productionRecordItemRelation.ts b/src/api/canteen/productionRecordItemRelation.ts new file mode 100644 index 0000000..d5e6bb5 --- /dev/null +++ b/src/api/canteen/productionRecordItemRelation.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/canteen/productionRecordItemRelation/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/canteen/productionRecordItemRelation', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/canteen/productionRecordItemRelation/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/canteen/productionRecordItemRelation', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/canteen/productionRecordItemRelation', + method: 'put', + data: obj + }) +} + diff --git a/src/views/canteen/canteenErpMaterial/form.vue b/src/views/canteen/canteenErpMaterial/form.vue new file mode 100644 index 0000000..2712943 --- /dev/null +++ b/src/views/canteen/canteenErpMaterial/form.vue @@ -0,0 +1,106 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenErpMaterial/index.vue b/src/views/canteen/canteenErpMaterial/index.vue new file mode 100644 index 0000000..6e15aad --- /dev/null +++ b/src/views/canteen/canteenErpMaterial/index.vue @@ -0,0 +1,114 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenInventoryRecords/form.vue b/src/views/canteen/canteenInventoryRecords/form.vue new file mode 100644 index 0000000..1a0219c --- /dev/null +++ b/src/views/canteen/canteenInventoryRecords/form.vue @@ -0,0 +1,217 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenInventoryRecords/index.vue b/src/views/canteen/canteenInventoryRecords/index.vue new file mode 100644 index 0000000..5068f15 --- /dev/null +++ b/src/views/canteen/canteenInventoryRecords/index.vue @@ -0,0 +1,150 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenInventoryRecordsItem/form.vue b/src/views/canteen/canteenInventoryRecordsItem/form.vue new file mode 100644 index 0000000..b067372 --- /dev/null +++ b/src/views/canteen/canteenInventoryRecordsItem/form.vue @@ -0,0 +1,209 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenInventoryRecordsItem/index.vue b/src/views/canteen/canteenInventoryRecordsItem/index.vue new file mode 100644 index 0000000..a8f1cfd --- /dev/null +++ b/src/views/canteen/canteenInventoryRecordsItem/index.vue @@ -0,0 +1,129 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenProductionRecord/form.vue b/src/views/canteen/canteenProductionRecord/form.vue new file mode 100644 index 0000000..a65c81f --- /dev/null +++ b/src/views/canteen/canteenProductionRecord/form.vue @@ -0,0 +1,134 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenProductionRecord/index.vue b/src/views/canteen/canteenProductionRecord/index.vue new file mode 100644 index 0000000..f644a51 --- /dev/null +++ b/src/views/canteen/canteenProductionRecord/index.vue @@ -0,0 +1,134 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenProductionRecordItem/form.vue b/src/views/canteen/canteenProductionRecordItem/form.vue new file mode 100644 index 0000000..90c72aa --- /dev/null +++ b/src/views/canteen/canteenProductionRecordItem/form.vue @@ -0,0 +1,146 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenProductionRecordItem/index.vue b/src/views/canteen/canteenProductionRecordItem/index.vue new file mode 100644 index 0000000..df2ad1e --- /dev/null +++ b/src/views/canteen/canteenProductionRecordItem/index.vue @@ -0,0 +1,120 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenStock/form.vue b/src/views/canteen/canteenStock/form.vue new file mode 100644 index 0000000..e76b71d --- /dev/null +++ b/src/views/canteen/canteenStock/form.vue @@ -0,0 +1,147 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/canteenStock/index.vue b/src/views/canteen/canteenStock/index.vue new file mode 100644 index 0000000..a183a98 --- /dev/null +++ b/src/views/canteen/canteenStock/index.vue @@ -0,0 +1,125 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/productionRecordItemRelation/form.vue b/src/views/canteen/productionRecordItemRelation/form.vue new file mode 100644 index 0000000..7ac54c0 --- /dev/null +++ b/src/views/canteen/productionRecordItemRelation/form.vue @@ -0,0 +1,104 @@ + + + \ No newline at end of file diff --git a/src/views/canteen/productionRecordItemRelation/index.vue b/src/views/canteen/productionRecordItemRelation/index.vue new file mode 100644 index 0000000..57a4229 --- /dev/null +++ b/src/views/canteen/productionRecordItemRelation/index.vue @@ -0,0 +1,114 @@ + + + \ No newline at end of file