diff --git a/src/api/invoicing.js b/src/api/invoicing.js index cdc524e..29a1731 100644 --- a/src/api/invoicing.js +++ b/src/api/invoicing.js @@ -72,4 +72,63 @@ export function tbShopPurveyor(data, method = 'post') { }) } +/** + * 进货/退货账目 + * @returns + */ +export function tbShopPurveyorTransactGet(params) { + return request({ + url: `/api/tbShopPurveyorTransact`, + method: 'get', + params + }) +} + +/** + * 进货账目详情 + * @returns + */ +export function tbShopPurveyorTransactInfo(data) { + return request({ + url: `/api/tbShopPurveyorTransact/info`, + method: 'post', + data + }) +} + +/** + * 进货账目汇总(单一供应商) + * @returns + */ +export function tbShopPurveyorTransactSum(params) { + return request({ + url: `/api/tbShopPurveyorTransact/sum`, + method: 'get', + params + }) +} + +/** + * 操作记录 + * @returns + */ +export function tbProductStockOperateList(data) { + return request({ + url: `/api/tbProductStockOperate/list`, + method: 'post', + data + }) +} + +/** + * 操作记录详情 + * @returns + */ +export function tbProductStockOperateDetail(id) { + return request({ + url: `/api/tbProductStockOperate/${id}`, + method: 'get' + }) +} + diff --git a/src/assets/styles/eladmin.scss b/src/assets/styles/eladmin.scss index e1e0195..8fe63d5 100644 --- a/src/assets/styles/eladmin.scss +++ b/src/assets/styles/eladmin.scss @@ -1,5 +1,5 @@ .head-container { - padding-bottom: 10px; + padding-bottom: 20px; .filter-item { display: inline-block; vertical-align: middle; diff --git a/src/store/modules/app.js b/src/store/modules/app.js index a384479..b9d0726 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -6,7 +6,7 @@ const state = { withoutAnimation: false }, device: 'desktop', - size: Cookies.get('size') || 'small' + size: Cookies.get('size') || 'Default' } const mutations = { diff --git a/src/views/invoicing/components/operatingDetail.vue b/src/views/invoicing/components/operatingDetail.vue new file mode 100644 index 0000000..a172041 --- /dev/null +++ b/src/views/invoicing/components/operatingDetail.vue @@ -0,0 +1,66 @@ + + + + + \ No newline at end of file diff --git a/src/views/invoicing/operating_record.vue b/src/views/invoicing/operating_record.vue new file mode 100644 index 0000000..2096d94 --- /dev/null +++ b/src/views/invoicing/operating_record.vue @@ -0,0 +1,107 @@ + + + \ No newline at end of file diff --git a/src/views/invoicing/supplier_manage/purchase.vue b/src/views/invoicing/supplier_manage/purchase.vue new file mode 100644 index 0000000..622714f --- /dev/null +++ b/src/views/invoicing/supplier_manage/purchase.vue @@ -0,0 +1,136 @@ + + + + + \ No newline at end of file diff --git a/src/views/invoicing/supplier_manage/purchase_detail.vue b/src/views/invoicing/supplier_manage/purchase_detail.vue new file mode 100644 index 0000000..1b5cf03 --- /dev/null +++ b/src/views/invoicing/supplier_manage/purchase_detail.vue @@ -0,0 +1,350 @@ + + + + + \ No newline at end of file