@steedos-labs/content-compliance 0.8.29 → 0.8.31

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.
@@ -0,0 +1,10 @@
1
+ name: sub_product_name
2
+ amis:
3
+ id: 'u:38651d7fca29'
4
+ filterable: true
5
+ group: 通用
6
+ index: true
7
+ label: 子产品名称
8
+ searchable: true
9
+ sort_no: 45
10
+ type: text
@@ -2,6 +2,7 @@ name: all
2
2
  columns:
3
3
  - field: name
4
4
  wrap: false
5
+ - field: sub_product_name
5
6
  - field: brand
6
7
  - field: taste
7
8
  - field: package_type
@@ -0,0 +1,10 @@
1
+ name: sub_product_name
2
+ amis:
3
+ id: 'u:a1b2c3d40012'
4
+ filterable: true
5
+ group: 通用
6
+ index: true
7
+ label: 子产品名称
8
+ searchable: true
9
+ sort_no: 75
10
+ type: text
@@ -6,6 +6,9 @@ columns:
6
6
  - field: product_name
7
7
  width: '260'
8
8
  wrap: true
9
+ - field: sub_product_name
10
+ width: '260'
11
+ wrap: true
9
12
  - field: brand
10
13
  width: '100'
11
14
  - field: issue_date
@@ -56,6 +56,11 @@ columns:
56
56
  - type: steedos-page-record-detail
57
57
  objectApiName: cfs_files_filerecord
58
58
  - field: product_name
59
+ width: '260'
60
+ wrap: true
61
+ - field: sub_product_name
62
+ width: '260'
63
+ wrap: true
59
64
  - field: brand
60
65
  - field: issue_date
61
66
  - field: version
@@ -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": [
@@ -152,12 +152,12 @@ amis:
152
152
  componentId: 'u:qc_reviewer'
153
153
  args:
154
154
  value: '${event.data.responseResult.qc_reviewer}'
155
- - ignoreError: false
155
+ - ignoreError: true
156
156
  actionType: setValue
157
157
  componentId: 'u:qc_assistance'
158
158
  args:
159
159
  value: '${event.data.responseResult.qc_assistance}'
160
- - ignoreError: false
160
+ - ignoreError: true
161
161
  actionType: setValue
162
162
  componentId: 'u:can_pass_users'
163
163
  args:
@@ -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文件
@@ -130,12 +130,12 @@ amis:
130
130
  componentId: 'u:qc_reviewer'
131
131
  args:
132
132
  value: '${event.data.responseResult.qc_reviewer}'
133
- - ignoreError: false
133
+ - ignoreError: true
134
134
  actionType: setValue
135
135
  componentId: 'u:qc_assistance'
136
136
  args:
137
137
  value: '${event.data.responseResult.qc_assistance}'
138
- - ignoreError: false
138
+ - ignoreError: true
139
139
  actionType: setValue
140
140
  componentId: 'u:can_pass_users'
141
141
  args:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos-labs/content-compliance",
3
- "version": "0.8.29",
3
+ "version": "0.8.31",
4
4
  "description": "内容审核系统",
5
5
  "main": "package.service.js",
6
6
  "scripts": {