diff --git a/src/App.vue b/src/App.vue index c624b6d..19381ca 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,4 +14,23 @@ export default { .tips { color: #999; } + +.img_error { + width: 100%; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + + .icon { + font-size: 20px; + color: #999; + } +} + +.filter_wrap { + display: flex; + align-items: center; + gap: 10px; +} diff --git a/src/api/invoicing.js b/src/api/invoicing.js new file mode 100644 index 0000000..cdc524e --- /dev/null +++ b/src/api/invoicing.js @@ -0,0 +1,75 @@ +import request from '@/utils/request' + +/** + * 商品列表 + * @returns + */ +export function tbProductGet(params) { + return request({ + url: '/api/tbProduct', + method: 'get', + params + }) +} + +/** + * 进销存类型字典 + * @returns + */ +export function dictDetail(params) { + return request({ + url: `/api/dictDetail`, + method: 'get', + params + }) +} + +/** + * 库存记录列表 + * @returns + */ +export function tbProductStockDetail(data) { + return request({ + url: `/api/tbProductStockDetail/stock`, + method: 'post', + data + }) +} + +/** + * 变动数量 + * @returns + */ +export function tbProductStockDetailSum(params) { + return request({ + url: `/api/tbProductStockDetail/sum`, + method: 'get', + params + }) +} + +/** + * 供应商列表 + * @returns + */ +export function tbShopPurveyorGet(params) { + return request({ + url: `/api/tbShopPurveyor`, + method: 'get', + params + }) +} + +/** + * 增加供应商 + * @returns + */ +export function tbShopPurveyor(data, method = 'post') { + return request({ + url: `/api/tbShopPurveyor`, + method: method, + data + }) +} + + diff --git a/src/views/invoicing/components/addSupplier.vue b/src/views/invoicing/components/addSupplier.vue new file mode 100644 index 0000000..8955efb --- /dev/null +++ b/src/views/invoicing/components/addSupplier.vue @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + + + + \ No newline at end of file diff --git a/src/views/invoicing/components/invoicingDetail.vue b/src/views/invoicing/components/invoicingDetail.vue new file mode 100644 index 0000000..65dd2f5 --- /dev/null +++ b/src/views/invoicing/components/invoicingDetail.vue @@ -0,0 +1,178 @@ + + + + + + + + + + 查询 + 重置 + + + + + {{ exchange || 0 }} + 变动数量 + + + + + + + + {{ scope.row.stockNumber }} {{ + scope.row.unitName + }} + + + + + {{ scope.row.tagName }} + + + + + {{ scope.row.leftNumber - scope.row.stockNumber }} {{ scope.row.unitName }} + + + + + {{ dayjs(scope.row.updatedAt).format('YYYY-MM-DD HH:mm:ss') }} + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/invoicing/goods_stoks.vue b/src/views/invoicing/goods_stoks.vue new file mode 100644 index 0000000..dd2ad49 --- /dev/null +++ b/src/views/invoicing/goods_stoks.vue @@ -0,0 +1,150 @@ + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + {{ scope.row.name }} + + {{ scope.row.typeEnum | typeEnum }} + + + + + + + + {{ `${scope.row.stockNumber} ${scope.row.unitName}` }} + + + + + + + + + + 库存记录 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/invoicing/supplier_manage/supplier_list.vue b/src/views/invoicing/supplier_manage/supplier_list.vue new file mode 100644 index 0000000..9c37999 --- /dev/null +++ b/src/views/invoicing/supplier_manage/supplier_list.vue @@ -0,0 +1,110 @@ + + + + + + 查询 + 重置 + + + + 添加供应商 + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 5eb77a2..4a86e44 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -159,20 +159,6 @@ export default { } -