diff --git a/src/api/goodsList.ts b/src/api/goodsList.ts index 77208f6..190bc77 100644 --- a/src/api/goodsList.ts +++ b/src/api/goodsList.ts @@ -6,10 +6,16 @@ export function apiGoodsListLists(params: any) { } // 库存管理 -export function apiGoodsListDetail(params: any) { - return request.get({ url: '/consult_target.consult_decision/add12', params }) +export function apiStoreProductAttrValue(params: any) { + return request.get({ url: '/store_product_attr_value/storeProductAttrValue/lists', params }) } +// 加减库存 +export function apiStoreProductStock(params: any) { + return request.post({ url: '/store_product/storeProduct/stock', params }) +} + + // 库存管理 export function apiGoodsTypeLists(params: any) { return request.get({ url: '/consult_target.consult_decision/add54', params }) @@ -20,3 +26,5 @@ export function apiGoodsTypeLists(params: any) { export function apiStatus(params: any) { return request.post({ url: '/store_product/storeProduct/status', params }) } + +// \ No newline at end of file diff --git a/src/api/store_order.ts b/src/api/store_order.ts new file mode 100644 index 0000000..961edd7 --- /dev/null +++ b/src/api/store_order.ts @@ -0,0 +1,24 @@ +import request from '@/utils/request' + + +export function apiStoreOrderLists(params: any) { + return request.get({ url: '/store_order/storeOrder/lists', params }) +} + +export function apiStoreOrderTitle() { + return request.get({ url: '/store_order/storeOrder/title' }) +} + +export function apiStoreOrderDetail(params: any) { + return request.get({ url: '/store_order/storeOrder/detail', params }) +} + + +export function apiStoreRefundOrderLists(params: any) { + return request.get({ url: '/store_order/storeRefundOrder/lists', params }) +} + +export function apiStoreRefundOrderDetail(params: any) { + return request.get({ url: '/store_order/storeRefundOrder/detail', params }) +} + diff --git a/src/components/orderDetail/index.vue b/src/components/orderDetail/index.vue index 63619c1..5fc2cd8 100644 --- a/src/components/orderDetail/index.vue +++ b/src/components/orderDetail/index.vue @@ -10,35 +10,35 @@
- 【核销订单】 + 【收银订单】
- 订单编号: 5754545 + 订单编号: {{ detailData.order_id }}
- + @@ -48,28 +48,28 @@ - + - - - + + + - + \ No newline at end of file diff --git a/src/views/store/store_product/detail.vue b/src/views/store/store_product/detail.vue index 8368f62..a7d2d42 100644 --- a/src/views/store/store_product/detail.vue +++ b/src/views/store/store_product/detail.vue @@ -1,21 +1,26 @@ - + + @@ -76,14 +73,25 @@ \ No newline at end of file diff --git a/src/views/store_order/recharge.vue b/src/views/store_order/recharge.vue new file mode 100644 index 0000000..8f77588 --- /dev/null +++ b/src/views/store_order/recharge.vue @@ -0,0 +1,170 @@ + + + \ No newline at end of file diff --git a/src/views/store_order/refund.vue b/src/views/store_order/refund.vue new file mode 100644 index 0000000..1831937 --- /dev/null +++ b/src/views/store_order/refund.vue @@ -0,0 +1,147 @@ + + + \ No newline at end of file diff --git a/src/views/store_product_unit/index.vue b/src/views/store_product_unit/index.vue index db359cd..996d48e 100644 --- a/src/views/store_product_unit/index.vue +++ b/src/views/store_product_unit/index.vue @@ -2,7 +2,6 @@
- @@ -15,8 +14,8 @@ - + @@ -62,8 +61,6 @@ - - @@ -93,11 +90,7 @@ import { timeFormat } from '@/utils/util' import { apicityLists, apiAreaLists, apiStreetLists, apigetProvinceLists } from "@/api/address" import myMap from "./myMap/index.vue" import axios from 'axios'; -import { jsonp } from "vue-jsonp" -jsonp('https://apis.map.qq.com/ws/location/v1/ip?ip=111.206.145.41&key=V4LBZ-UKCHA-EUNK7-CUH4F-HOXVO-YTF56&output=jsonp').then(res => { - console.log(res) -}) // const formRef = shallowRef() const activeName = ref('first') diff --git a/src/views/store_product_unit/myMap/index.vue b/src/views/store_product_unit/myMap/index.vue index 7c6dfcb..8985ddd 100644 --- a/src/views/store_product_unit/myMap/index.vue +++ b/src/views/store_product_unit/myMap/index.vue @@ -12,8 +12,11 @@