yindie-erp-mcp 2.0.2 → 2.0.3

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.
@@ -112,9 +112,12 @@ export const PANTS_STYLE_GROUPS = [
112
112
  {
113
113
  key: 'crotchCloth',
114
114
  label: '小裆布',
115
- control: 'radio',
115
+ control: 'combine',
116
116
  textSuffix: '裆部',
117
- options: ['有', '无'],
117
+ combineOptions: [
118
+ { label: '有', needValue: true, suffix: '', hideLabel: true },
119
+ { label: '无', needValue: false },
120
+ ],
118
121
  },
119
122
  {
120
123
  key: 'beltLoop',
@@ -391,8 +394,11 @@ export const PANTS_STYLE_GROUPS = [
391
394
  {
392
395
  key: 'hemTape',
393
396
  label: '脚口织带',
394
- control: 'radio',
395
- options: ['有', '无'],
397
+ control: 'combine',
398
+ combineOptions: [
399
+ { label: '有', needValue: true, suffix: '', hideLabel: true },
400
+ { label: '无', needValue: false },
401
+ ],
396
402
  },
397
403
  ],
398
404
  },
package/dist/tool-meta.js CHANGED
@@ -330,7 +330,7 @@ export const WORKFLOW_META = {
330
330
  summary: '新增订单附件元数据(须已有真实 ossId)',
331
331
  prerequisite: '订单已创建;先 erp_oss_upload(或页面上传)拿到 ossId',
332
332
  payload: '{orderId, styleId?, attachType, fileName, ossId, fileSize?, source?, remark?}',
333
- enums: 'attachType:pi/tech_drawing/customer_file/other/size_chart/production_order;尺寸表细分靠 remark=原始|归一xlsx|归一json'
333
+ enums: 'attachType:pi/tech_drawing/customer_file/other/size_chart/production_order/color_card;尺寸表细分靠 remark=原始|归一xlsx|归一json'
334
334
  },
335
335
  erp_order_attachment_remove: {
336
336
  module: '订单管理',
@@ -614,7 +614,8 @@ export const ERP_BUSINESS_FLOW = {
614
614
  customer_file: '客户文件',
615
615
  other: '其他',
616
616
  size_chart: '尺寸表',
617
- production_order: '生产单'
617
+ production_order: '生产单',
618
+ color_card: '色卡'
618
619
  },
619
620
  sampleType: { proto: '打样', pre_prod: '产前样', bulk: '传样' },
620
621
  sampleStatus: { pending: '待制作', making: '制作中', shipped: '已寄出', confirmed: '已确认', rejected: '已驳回' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yindie-erp-mcp",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "银蝶 ERP 独立 MCP 服务,通过 RuoYi API 提供查询与写操作能力",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",