From 25a5b70b49d7dc0cbf940e40e6774cf18037628e Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 8 May 2024 14:00:42 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=AE=B6=E8=AE=BF?= =?UTF-8?q?=E5=87=86=E5=A4=87--=E8=B4=B7=E6=AC=BE=E5=90=88=E5=90=8C?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E8=A1=A5=E5=85=85=E9=A1=B5=E9=9D=A2=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=AD=97=E6=AE=B5=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../homevisitpreparation/homevisitpreparationAdd.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/anrui-riskcenter-ui/src/views/homevisitpreparation/homevisitpreparationAdd.vue b/anrui-riskcenter-ui/src/views/homevisitpreparation/homevisitpreparationAdd.vue index 0ddc130657..90db567c36 100644 --- a/anrui-riskcenter-ui/src/views/homevisitpreparation/homevisitpreparationAdd.vue +++ b/anrui-riskcenter-ui/src/views/homevisitpreparation/homevisitpreparationAdd.vue @@ -206,7 +206,7 @@
选择挂靠运输公司
- + @@ -215,14 +215,12 @@
*挂靠公司名称
- - - + {{ formobj.accCompName }}
*统一社会信用代码
- +
From efadadc1c1f16df4143d222b7e379cb9f5a0639f Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 8 May 2024 14:08:11 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=B5=84=E6=96=B9?= =?UTF-8?q?=E4=BF=A1=E5=AE=A1=E7=BB=88=E5=AE=A1=E7=BB=93=E6=9E=9C=E5=8F=8D?= =?UTF-8?q?=E9=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/managementcreditaudit/managementcreditaudit.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anrui-riskcenter-ui/src/views/managementcreditaudit/managementcreditaudit.vue b/anrui-riskcenter-ui/src/views/managementcreditaudit/managementcreditaudit.vue index 3b9f6673ee..2426d1c145 100644 --- a/anrui-riskcenter-ui/src/views/managementcreditaudit/managementcreditaudit.vue +++ b/anrui-riskcenter-ui/src/views/managementcreditaudit/managementcreditaudit.vue @@ -70,7 +70,7 @@ - + @@ -101,7 +101,7 @@ {{ scope.row.customerName }} - + From a6068d98c7391ffbd8e5b435433f559e1edd95bc Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Wed, 8 May 2024 14:34:13 +0800 Subject: [PATCH 3/8] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=95=86=E5=93=81?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt-as-ui/src/api/Common/Upload.js | 2 +- yxt-as-ui/src/api/goods/unit.js | 2 +- .../src/views/goods/brands/brandsAdd.vue | 36 +- yxt-as-ui/src/views/goods/goods/goodsAdd.vue | 1085 ++++++++--------- yxt-as-ui/src/views/goods/goods/goodsInfo.vue | 976 +++++---------- yxt-as-ui/src/views/goods/goods/index.vue | 6 +- 6 files changed, 829 insertions(+), 1278 deletions(-) diff --git a/yxt-as-ui/src/api/Common/Upload.js b/yxt-as-ui/src/api/Common/Upload.js index 6f5f0c578a..2a3a89c243 100644 --- a/yxt-as-ui/src/api/Common/Upload.js +++ b/yxt-as-ui/src/api/Common/Upload.js @@ -1,4 +1,4 @@ import request from '@/utils/request' // 上传图片 -export const uploadFile = '/api/riskcenter/file/upload' +export const uploadFile = '/api/portal/file/upload' diff --git a/yxt-as-ui/src/api/goods/unit.js b/yxt-as-ui/src/api/goods/unit.js index 8795c0b363..732f5d9f27 100644 --- a/yxt-as-ui/src/api/goods/unit.js +++ b/yxt-as-ui/src/api/goods/unit.js @@ -46,7 +46,7 @@ export default { // 初始化 initUnits: function(data) { return request({ - url: '/base/basegoodsunit/initialization/' + data, + url: '/yxtbase/apiadmin/base/basegoodsunit/initialization/' + data, method: 'get' }); }, diff --git a/yxt-as-ui/src/views/goods/brands/brandsAdd.vue b/yxt-as-ui/src/views/goods/brands/brandsAdd.vue index 75c4756677..79f461d2c9 100644 --- a/yxt-as-ui/src/views/goods/brands/brandsAdd.vue +++ b/yxt-as-ui/src/views/goods/brands/brandsAdd.vue @@ -54,11 +54,11 @@ -->
品牌Logo: - - +
@@ -98,8 +98,8 @@ // this.initData() }, methods: { - backData(value) { - console.log('backData》》》》', value) + + backData(value){ console.log('imgList', this.imgList) if (this.imgList.length > 0) { @@ -107,25 +107,13 @@ } else { this.formobj.image = '' } - this.hideUploadBtn = this.imgList.length != 0 console.log('this.hideUploadBtn', this.hideUploadBtn) }, - backData2(value) { - console.log('backData2》》》》', value) - console.log('imgList2', this.imgList2) - - if (this.imgList2.length > 0) { - this.formobj.bigPic = this.imgList2[0].url - } else { - this.formobj.bigPic = '' - } - this.hideUploadBtn2 = this.imgList2.length != 0 - console.log('this.hideUploadBtn2', this.hideUploadBtn2) - }, saveOrUpdate() { console.log('>>>>>>>>>saveOrUpdate', this.formobj) + req.saveBrands(this.formobj) .then(resp => { if (resp.success) { @@ -144,9 +132,7 @@ handleReturn(isreload) { if (isreload === 'true') this.$emit('reloadlist') this.imgList = [] - this.imgList2 = [] this.hideUploadBtn = true - this.hideUploadBtn2 = true this.formobj = { sid: '', brandName: '', @@ -159,9 +145,7 @@ }, showAdd() { console.log("this.imgList", this.imgList) - console.log("this.imgList2", this.imgList2) this.hideUploadBtn = this.imgList.length != 0 - this.hideUploadBtn2 = this.imgList2.length != 0 }, showEdit(row) { req.initBrands(row.sid) @@ -169,26 +153,18 @@ if (resp.success) { this.formobj = resp.data this.imgList = [] - this.imgList2 = [] if (resp.data.image != '') { this.imgList.push({ url: resp.data.image }) } - if (resp.data.bigPic != '') { - this.imgList2.push({ - url: resp.data.bigPic - }) - } this.hideUploadBtn = this.imgList.length != 0 - this.hideUploadBtn2 = this.imgList2.length != 0 } }) .catch(e => { this.formobj = row this.imgList = [] - this.imgList2 = [] }) }, diff --git a/yxt-as-ui/src/views/goods/goods/goodsAdd.vue b/yxt-as-ui/src/views/goods/goods/goodsAdd.vue index d2bb507b42..70f7dceb86 100644 --- a/yxt-as-ui/src/views/goods/goods/goodsAdd.vue +++ b/yxt-as-ui/src/views/goods/goods/goodsAdd.vue @@ -15,241 +15,329 @@
- -
+ +
基础信息
- - - 商品名称 + + +
商品名称
+ +
- - - + + +
商品简称
+ +
- - - 商品编码 + +
+ + + + +
商品副标题
+ +
- - - + + +
商品拼音缩写
+ +
+
- - - 商品品牌 + + +
商品编码
+ + + +
+ + +
商品条形码
+ +
- - - + + + + +
商品品牌
+ +
- - - 商品类别 - - - - - + + +
商品类别
+ +
+
- - - 商品厂家 - - - - - +
商品厂家
+ +
- - - 厂家货号 - - - - - + + +
厂家货号
+ +
+
- - - 外部编码 + + +
商品单位
+ + + +
- - - + + +
是否上架
+ + + 上架 + 下架 +
- - - 国标码 + +
+ + + + +
外部编码
+ +
- - - +
国标码
+ +
+
- - - 税率 + + +
税率
+ +
- - - + + +
保质期天
+ +
- - - 保质期天 + +
+ + + + +
商品排序
+ +
- - - + + +
商品备注
+ +
+
- - - 商品详细说明 + + +
商品详细说明
+ +
- - - + +
+ + + + +
商品描述
+ +
+
- - - 商品描述 + + +
商品通用规格参数
+ +
- - - + +
+ + + + +
商品特有规格参数
+ +
+
- - -