From 70b1a6d39a09ec49d98f8fcce6bb64184c2fe51e Mon Sep 17 00:00:00 2001 From: "DESKTOP-369JRHT\\12997" <9> Date: Tue, 31 Oct 2023 08:54:40 +0800 Subject: [PATCH] 1 --- fuintAdmin/src/api/convenienceStore/damage.js | 88 +++ .../views/convenienceStore/damage/details.vue | 661 ++++++++++++++++++ .../views/convenienceStore/damage/index.vue | 221 ++++++ .../convenienceStore/inventory/details.vue | 641 +++++++++++++++++ .../convenienceStore/inventory/index.vue | 275 ++++++++ 5 files changed, 1886 insertions(+) create mode 100644 fuintAdmin/src/api/convenienceStore/damage.js create mode 100644 fuintAdmin/src/views/convenienceStore/damage/details.vue create mode 100644 fuintAdmin/src/views/convenienceStore/damage/index.vue create mode 100644 fuintAdmin/src/views/convenienceStore/inventory/details.vue create mode 100644 fuintAdmin/src/views/convenienceStore/inventory/index.vue diff --git a/fuintAdmin/src/api/convenienceStore/damage.js b/fuintAdmin/src/api/convenienceStore/damage.js new file mode 100644 index 000000000..64366bcbd --- /dev/null +++ b/fuintAdmin/src/api/convenienceStore/damage.js @@ -0,0 +1,88 @@ +import request from '@/utils/request' + + +/** + * 订单 + */ + +export function getDamagePageApi(query) { + return request({ + url: '/business/convenience/mtDamage/getListByPage', + method: 'get', + params: query + }) +} +// 新增 +export function addDamageApi(data) { + return request({ + url: '/business/convenience/mtDamage', + method: 'post', + data: data + }) +} + +// 修改 +export function editDamageApi(data) { + return request({ + url: '/business/convenience/mtDamage', + method: 'put', + data: data + }) +} + + +/** + * 订单详情 + */ + +export function getDamageDetailsPageApi(query) { + return request({ + url: '/business/convenience/mtDamageDetails/getListByPage', + method: 'get', + params: query + }) +} + +export function delDetailsApi(query) { + return request({ + url: '/business/convenience/mtDamageDetails', + method: 'delete', + params: query + }) +} + +export function batchProcessingApi(data) { + return request({ + url: '/business/convenience/mtDamageDetails/batchProcessing', + method: 'post', + data: data + }) +} + + +// 审核 +export function auditDamageApi(data) { + return request({ + url: 'business/convenience/mtDamage/audit', + method: 'get', + params: data + }) +} + +// 入库 +export function storageDamageApi(data) { + return request({ + url: 'business/convenience/mtDamage/storage', + method: 'get', + params: data + }) +} + +// 作废 +export function abolitionDamageApi(data) { + return request({ + url: 'business/convenience/mtDamage/abolition', + method: 'get', + params: data + }) +} diff --git a/fuintAdmin/src/views/convenienceStore/damage/details.vue b/fuintAdmin/src/views/convenienceStore/damage/details.vue new file mode 100644 index 000000000..f345aba0d --- /dev/null +++ b/fuintAdmin/src/views/convenienceStore/damage/details.vue @@ -0,0 +1,661 @@ + + + + + 返回 | + + 退货详情 + + + + + + {{damageForm.totalAmount}} + 报损总额 + + + {{damageForm.productQuantity}} + 商品数量 + + + {{damageForm.damageQuantity}} + 报损数量 + + + + + + + + + + + + + + + + + + + 保存 + 保存并审核 + 退货处理库存 + 作废 + + + + + + + + + + 添加报损商品 + + + + + + + + + {{ getName(cvsGoodList, scope.row.cvsGoodId) }} + + + + + + {{ getName(supplierList, scope.row.supplierId) }} + + + + + {{ scope.row.unit == null?"-":scope.row.unit}} + + + + + + + + + + + + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + + + + + + + + + + + + + + {{ getName(cvsGoodList, scope.row.cvsGoodId) }} + + + + + + {{ getName(supplierList, scope.row.supplierId) }} + + + + + + + + + + + + + + + + + diff --git a/fuintAdmin/src/views/convenienceStore/damage/index.vue b/fuintAdmin/src/views/convenienceStore/damage/index.vue new file mode 100644 index 000000000..dc0b3fe1d --- /dev/null +++ b/fuintAdmin/src/views/convenienceStore/damage/index.vue @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + 新增报损单 + + + + + + + + + + + + + + 待审核 + 已审核入库 + 已作废 + 已审核 + + + + + + + {{ parseTime(scope.row.orderDate) }} + + + + + + + 处理单据 + + + + + + + + + + + + + + diff --git a/fuintAdmin/src/views/convenienceStore/inventory/details.vue b/fuintAdmin/src/views/convenienceStore/inventory/details.vue new file mode 100644 index 000000000..0722bd42b --- /dev/null +++ b/fuintAdmin/src/views/convenienceStore/inventory/details.vue @@ -0,0 +1,641 @@ + + + + + 返回 | + + 退货详情 + + + + + + {{inventoryForm.productQuantity}} + 商品数量 + + + {{inventoryForm.inventoryQuantity}} + 盘点数量 + + + + + 制单人 + + {{inventoryForm.creataByName}} + + + 制单时间 + + {{parseTime(inventoryForm.orderDate)}} + + + 盘点编号 + + {{inventoryForm.orderNumber}} + + + + + + 保存 + 生成差异单 + 退货处理库存 + 作废 + + + + + + + + + + 添加盘点 + + + + + + + + + + + + + + + + + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + + + + + + + + + + + + + + {{ getName(cvsGoodList, scope.row.cvsGoodId) }} + + + + + + {{ getName(supplierList, scope.row.supplierId) }} + + + + + + + + + + + + + + + + + diff --git a/fuintAdmin/src/views/convenienceStore/inventory/index.vue b/fuintAdmin/src/views/convenienceStore/inventory/index.vue new file mode 100644 index 000000000..ecad7d0c9 --- /dev/null +++ b/fuintAdmin/src/views/convenienceStore/inventory/index.vue @@ -0,0 +1,275 @@ + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + 新增盘点批次 + + + + + + + + + + + {{scope.row.inventoryQuantity==null?"-":scope.row.inventoryQuantity}} + + + + + {{scope.row.inventoryDiscrepancy==null?"-":scope.row.inventoryDiscrepancy}} + + + + + {{scope.row.profitLossAmount==null?"-":scope.row.profitLossAmount}} + + + + + + + 待审核 + 已审核入库 + 已作废 + 已审核 + + + + + + {{scope.row.createByName==null?"-":scope.row.createByName}} + + + + + + + {{scope.row.approverName==null?"-":scope.row.approverName}} + + + + + {{scope.row.confirmerName==null?"-":scope.row.confirmerName}} + + + + + + 处理单据 + + + + + + + + + + + + + +