diff --git a/commons/utils/returrn-data.js b/commons/utils/returrn-data.js index 6cb574f..3619e8e 100644 --- a/commons/utils/returrn-data.js +++ b/commons/utils/returrn-data.js @@ -1,6 +1,7 @@ -export const objToArrary = (obj) => { +export const objToArrary = (obj,keyNewName) => { return Object.entries(obj).map(([key, value]) => ({ key, + [keyNewName]:key, ...value, })) } \ No newline at end of file diff --git a/components/my-components/my-steps-item.vue b/components/my-components/my-steps-item.vue deleted file mode 100644 index d0eeb65..0000000 --- a/components/my-components/my-steps-item.vue +++ /dev/null @@ -1,334 +0,0 @@ - - - - - diff --git a/components/my-components/my-steps.vue b/components/my-components/my-steps.vue deleted file mode 100644 index bf912b7..0000000 --- a/components/my-components/my-steps.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - diff --git a/http/yskApi/goods.js b/http/yskApi/goods.js index 8f66df3..05a7af4 100644 --- a/http/yskApi/goods.js +++ b/http/yskApi/goods.js @@ -128,4 +128,9 @@ export function $tbProductV2(data) { export function $tbProskuConV2(data) { return http.req('/api/tbProskuCon/V2', data, 'POST') } + +/* 修改商品相关(快捷接口) */ +export function $updateProductData(data) { + return http.req('/api/stock/updateProductData', data, 'POST') +} // v2 api end \ No newline at end of file diff --git a/http/yskApi/user.js b/http/yskApi/user.js new file mode 100644 index 0000000..1b46450 --- /dev/null +++ b/http/yskApi/user.js @@ -0,0 +1,25 @@ +import http from './http.js' +const request=http.request +/** + * 用户详情 + * @returns + */ +export function tbShopInfo(shopId) { + const _shopId=uni.getStorageSync('shopId') + return request({ + url: `/api/tbShopInfo/${shopId||_shopId}`, + method: 'get' + }) +} + +/** + * 修改店铺信息 + * @returns + */ +export function tbShopInfoPut(data) { + return request({ + url: `/api/tbShopInfo`, + method: 'put', + data + }) +} \ No newline at end of file diff --git a/pageProduct/add-Product/add-Product-9-19-back.vue b/pageProduct/add-Product/add-Product-9-19-back.vue new file mode 100644 index 0000000..5dc1ade --- /dev/null +++ b/pageProduct/add-Product/add-Product-9-19-back.vue @@ -0,0 +1,2026 @@ + + + + + \ No newline at end of file diff --git a/pageProduct/add-Product/add-Product.vue b/pageProduct/add-Product/add-Product.vue index b13bd6f..a954931 100644 --- a/pageProduct/add-Product/add-Product.vue +++ b/pageProduct/add-Product/add-Product.vue @@ -1,7 +1,7 @@ @@ -894,11 +762,8 @@ - - - - - + + @@ -906,6 +771,9 @@ + + + + + \ No newline at end of file diff --git a/pageProduct/add-Product/components/choose-haocai - 副本.vue b/pageProduct/add-Product/components/choose-haocai - 副本.vue new file mode 100644 index 0000000..7ef8774 --- /dev/null +++ b/pageProduct/add-Product/components/choose-haocai - 副本.vue @@ -0,0 +1,57 @@ + + + + + \ No newline at end of file diff --git a/pageProduct/add-Product/components/choose-haocai.vue b/pageProduct/add-Product/components/choose-haocai.vue new file mode 100644 index 0000000..0b5cf16 --- /dev/null +++ b/pageProduct/add-Product/components/choose-haocai.vue @@ -0,0 +1,149 @@ + + + + + \ No newline at end of file diff --git a/pageProduct/add-Product/components/edit-haocai.vue b/pageProduct/add-Product/components/edit-haocai.vue new file mode 100644 index 0000000..e27798d --- /dev/null +++ b/pageProduct/add-Product/components/edit-haocai.vue @@ -0,0 +1,359 @@ + + + + + \ No newline at end of file diff --git a/pageProduct/add-specifications/add-specifications - 副本 (2).vue b/pageProduct/add-specifications/add-specifications - 副本 (2).vue new file mode 100644 index 0000000..1b8fcac --- /dev/null +++ b/pageProduct/add-specifications/add-specifications - 副本 (2).vue @@ -0,0 +1,499 @@ + + + + + \ No newline at end of file diff --git a/pageProduct/add-specifications/add-specifications.vue b/pageProduct/add-specifications/add-specifications.vue index 1b8fcac..46772d8 100644 --- a/pageProduct/add-specifications/add-specifications.vue +++ b/pageProduct/add-specifications/add-specifications.vue @@ -1,53 +1,62 @@