From 56dbe18a6e52f7c2848c3cfc0eea94b75ee75a66 Mon Sep 17 00:00:00 2001 From: wwl Date: Mon, 1 Apr 2024 11:51:05 +0800 Subject: [PATCH] fix bug --- .env.production | 2 +- package.json | 1 + src/view/goods/index.vue | 16 ++++++++-- src/view/mall/goods/physical/list.vue | 5 +-- src/view/mall/trade/normalorders/list.vue | 1 + src/view/member/cardticket/edit.vue | 13 ++++++-- .../member/selfservice/registrationrecord.vue | 31 ++++++++++++++----- 7 files changed, 54 insertions(+), 15 deletions(-) diff --git a/.env.production b/.env.production index f971eda..5b70948 100755 --- a/.env.production +++ b/.env.production @@ -2,7 +2,7 @@ VUE_APP_IS_SAAS=false VUE_APP_SYSTEM_NAME=platform VUE_APP_PRODUCT_MODEL=platform # VUE_APP_BASE_API=https://ecshopx-shop.ex-sandbox.com/api -VUE_APP_BASE_API=http://47.103.169.154:8080/api +VUE_APP_BASE_API=https://test.birkenstock.net.cn/api # VUE_APP_PROXY_API=http://47.103.169.154:8080/api # VUE_APP_PUBLIC_PATH=https://ecshopx-vshop.oss-cn-hangzhou.aliyuncs.com/ecshopx-admin VUE_APP_PUBLIC_PATH=/ diff --git a/package.json b/package.json index 13fae57..c0ae8c3 100755 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "repository": "https://git.ishopex.cn/ecshopx/ecshopx-admin.git", "scripts": { "build": "vue-cli-service build", + "build:slb": "vue-cli-service build", "dev": "vue-cli-service --model development serve", "sh": "node ./cli.js", "lint": "prettier-eslint --write --list-different 'src/**/*.{js,vue}'" diff --git a/src/view/goods/index.vue b/src/view/goods/index.vue index bc2c56e..5cfa51c 100755 --- a/src/view/goods/index.vue +++ b/src/view/goods/index.vue @@ -138,6 +138,7 @@ export default { mate_description: '', // pc页面标题 mate_keywords: '', // pc页面标题 item_name_2: '', + item_name_3: '', item_alias_name: '', //商品别名 pdp: '' }, @@ -181,6 +182,13 @@ export default { type: 'input', display: 'inline' }, + { + label: '内部货号', + key: 'item_name_3', + type: 'input', + display: 'inline', + message: '请输入内部货号' + }, { label: 'PDP标题', key: 'item_name_2', @@ -592,6 +600,7 @@ export default { item_params, intro_list, item_name_2, + item_name_3, item_alias_name, pdp } = await this.$api.goods.getItemsDetail(itemId) @@ -611,6 +620,7 @@ export default { this.form.isGift = is_gift this.form.videos = videos this.form.item_name_2 = item_name_2 + this.form.item_name_3 = item_name_3 this.form.item_alias_name = item_alias_name this.form.isShowSpecimg = is_show_specimg this.form.pdp = pdp @@ -705,7 +715,7 @@ export default { pageSize: 99 }) if (list.length > 0) { - this.formList[8].options = list.map((item) => { + this.formList[9].options = list.map((item) => { return { value: item.template_id, title: item.name @@ -723,7 +733,7 @@ export default { attribute_type: 'brand' // attribute_name: searchVal }) - this.formList[9].options = list.map(({ attribute_id, attribute_name }) => { + this.formList[10].options = list.map(({ attribute_id, attribute_name }) => { return { value: attribute_id, title: attribute_name @@ -843,6 +853,7 @@ export default { paramsData, intro_list, item_name_2, + item_name_3, item_alias_name, pdp } = this.form @@ -891,6 +902,7 @@ export default { intro: mode == 'component' ? JSON.stringify(content) : intro, intro_list: JSON.parse(JSON.stringify(intro_list)), item_name_2, + item_name_3, item_alias_name, pdp } diff --git a/src/view/mall/goods/physical/list.vue b/src/view/mall/goods/physical/list.vue index 4d7f905..23e3d2b 100755 --- a/src/view/mall/goods/physical/list.vue +++ b/src/view/mall/goods/physical/list.vue @@ -244,6 +244,7 @@ > + +