@steedos-labs/content-compliance 0.8.30 → 0.8.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,5 @@ amis:
3
3
  id: 'u:b2c3d4e00003'
4
4
  group: 通用
5
5
  label: 净含量(克)
6
- scale: 2
7
6
  sort_no: 80
8
- type: number
7
+ type: text
@@ -6,3 +6,4 @@ label: 每份食用量(克)
6
6
  scale: 2
7
7
  sort_no: 110
8
8
  type: number
9
+ visible_on: '{{false}}'
@@ -3,6 +3,6 @@ amis:
3
3
  id: 'u:b2c3d4e00004'
4
4
  group: 通用
5
5
  is_wide: true
6
- label: 每份食用量说明
6
+ label: 每份食用量
7
7
  sort_no: 100
8
8
  type: text
@@ -3,6 +3,6 @@ amis:
3
3
  id: 'u:efbc2a01471e'
4
4
  group: 通用
5
5
  label: 口味
6
- required: true
7
6
  sort_no: 60
8
7
  type: text
8
+ visible_on: '{{false}}'
@@ -4,12 +4,10 @@ columns:
4
4
  wrap: false
5
5
  - field: sub_product_name
6
6
  - field: brand
7
- - field: taste
8
7
  - field: package_type
9
8
  - field: net_content
10
9
  - field: tag
11
10
  - field: serving_desc
12
- - field: serving_amount
13
11
  - field: nutrient
14
12
  - field: nutrient_value
15
13
  - field: unit
@@ -32,7 +30,6 @@ is_enable: true
32
30
  label: 所有
33
31
  mobile_columns:
34
32
  - field: name
35
- - field: taste
36
33
  - field: content
37
34
  searchable_fields: []
38
35
  shared_to: space
@@ -12,7 +12,7 @@ amis_schema: |-
12
12
  "type": "button",
13
13
  "label": "修改PLS文件",
14
14
  "level": "primary",
15
- "visibleOn": "${owner === context.userId && current_step === 'submitter_revisions' && formFactor != 'SMALL' && form_version === 'v2' && (classification === 'MD-PO1-PO15' || classification === 'SLS-PO2-PO25' || has_nutrition_table === 'yes')}",
15
+ "visibleOn": "${owner === context.userId && current_step === 'submitter_revisions' && formFactor != 'SMALL' && (form_version === 'v1' || form_version === 'v2') && (classification === 'MD-PO1-PO15' || classification === 'SLS-PO2-PO25' || has_nutrition_table === 'yes')}",
16
16
  "onEvent": {
17
17
  "click": {
18
18
  "actions": [
@@ -1,10 +1,10 @@
1
1
  name: form_version
2
- label: 电商新增改动版本
2
+ label: 表单版本
3
3
  type: text
4
4
  data_type: text
5
5
  group: 系统信息
6
- inlineHelpText: 新增PLS AI审核及电商新政字段调整(2026年第三季度修改)
6
+ inlineHelpText: v1=PLS知识库关联;v2=增加电商合规自查与QC审核
7
7
  sort_no: 100000
8
8
  is_wide: false
9
9
  readonly: true
10
- defaultValue: 'v2'
10
+ defaultValue: 'v1'
@@ -8,4 +8,4 @@ multiple: true
8
8
  required: false
9
9
  sort_no: 800
10
10
  type: file
11
- visible_on: '${(classification == ''MD-PO1-PO15'') && form_version != ''v2''}'
11
+ visible_on: '${(classification == ''MD-PO1-PO15'') && form_version != ''v2'' && form_version != ''v1''}'
@@ -22,7 +22,7 @@ amis:
22
22
  className: pepsico-pls-files-field m-1 border-b
23
23
  requiredOn: >-
24
24
  ${(classification == 'MD-PO1-PO15' || classification == 'SLS-PO2-PO25' ||
25
- has_nutrition_table == 'yes') && form_version == 'v2' && (!pls_upload_files ||
25
+ has_nutrition_table == 'yes') && (form_version == 'v1' || form_version == 'v2') && (!pls_upload_files ||
26
26
  pls_upload_files.length === 0)}
27
27
  placeholder: 请选择PLS文件
28
- visible_on: (classification == 'MD-PO1-PO15' || classification == 'SLS-PO2-PO25' || has_nutrition_table == 'yes') && form_version == 'v2'
28
+ visible_on: (classification == 'MD-PO1-PO15' || classification == 'SLS-PO2-PO25' || has_nutrition_table == 'yes') && (form_version == 'v1' || form_version == 'v2')
@@ -6,7 +6,7 @@ group: 基本信息
6
6
  sort_no: 1241
7
7
  is_wide: false
8
8
  required: false
9
- visible_on: (classification == 'MD-PO1-PO15' || classification == 'SLS-PO2-PO25' || has_nutrition_table == 'yes') && form_version == 'v2'
9
+ visible_on: (classification == 'MD-PO1-PO15' || classification == 'SLS-PO2-PO25' || has_nutrition_table == 'yes') && (form_version == 'v1' || form_version == 'v2')
10
10
  amis:
11
11
  accept: .pdf
12
12
  btnLabel: 上传本地PLS文件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos-labs/content-compliance",
3
- "version": "0.8.30",
3
+ "version": "0.8.32",
4
4
  "description": "内容审核系统",
5
5
  "main": "package.service.js",
6
6
  "scripts": {