From f9796c4f5e1b4dfed6911e79622e8178d07022a0 Mon Sep 17 00:00:00 2001 From: cuiyouliang <799699717@qq.com> Date: Thu, 26 Jun 2025 09:43:58 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81sku=E7=AE=A1=E7=90=86=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/oms/order/index.vue | 8 +-- src/views/pms/brand/index.vue | 16 ++++-- src/views/pms/productCategory/index.vue | 4 +- src/views/pms/sku/index.vue | 69 ++++++++++++++++++------- 4 files changed, 70 insertions(+), 27 deletions(-) diff --git a/src/views/oms/order/index.vue b/src/views/oms/order/index.vue index 84b9f29..1f520eb 100644 --- a/src/views/oms/order/index.vue +++ b/src/views/oms/order/index.vue @@ -220,11 +220,11 @@
实付: ¥{{ scope.row.payAmount }}
- + diff --git a/src/views/pms/brand/index.vue b/src/views/pms/brand/index.vue index 7af6c81..9d3bad9 100644 --- a/src/views/pms/brand/index.vue +++ b/src/views/pms/brand/index.vue @@ -2,7 +2,13 @@
- + @@ -22,7 +28,7 @@ @@ -107,7 +113,7 @@ export default { form: {}, // 表单校验 rules: {}, - normalStatusMap:[] + normalStatusMap: [] }; }, async created() { @@ -177,7 +183,9 @@ export default { const id = row.id || this.ids; getPmsBrand(id).then((response) => { const { data } = response || {}; - data.showStatus = data.showStatus.toString(); + if (data.showStatus != null) { + data.showStatus = data.showStatus.toString(); + } this.form = data || {}; this.open = true; this.title = '修改品牌管理'; diff --git a/src/views/pms/productCategory/index.vue b/src/views/pms/productCategory/index.vue index 8ed77ba..13f284f 100644 --- a/src/views/pms/productCategory/index.vue +++ b/src/views/pms/productCategory/index.vue @@ -200,7 +200,9 @@ export default { const id = row.id || this.ids; getPmsProductCategory(id).then((response) => { const { data } = response || {}; - data.showStatus = data.showStatus.toString(); + if (data.showStatus != null) { + data.showStatus = data.showStatus.toString(); + } this.form = data || {}; this.open = true; this.title = '修改商品分类'; diff --git a/src/views/pms/sku/index.vue b/src/views/pms/sku/index.vue index 5d71577..04f6027 100644 --- a/src/views/pms/sku/index.vue +++ b/src/views/pms/sku/index.vue @@ -21,11 +21,11 @@ - + - + 搜索 重置 @@ -42,12 +42,17 @@ - - - + + + + + + @@ -65,25 +70,27 @@ filterable remote reserve-keyword - :remote-method="getProductListByName" - :loading="productSelectLoading" + :remote-method="getModalProductListByName" + :loading="productModalSelectLoading" clearable style="width: 100%" > - + - + - + + - - + + + 商品销售属性,json 格式