{
  "name": "国潮造物局 - 费用草稿：金额计算与缺字段检查",
  "active": false,
  "nodes": [
    {
      "id": "manual",
      "name": "手动开始",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "practice",
      "name": "虚构样本校验",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        260,
        0
      ],
      "parameters": {
        "mode": "runOnceForAllItems",
        "jsCode": "const run = x=>({total:x.qty*x.price,status:x.customer?'待人工确认':'需补客户'});\nconst samples = [{\"qty\": 2, \"price\": 50, \"customer\": \"\"}, {\"qty\": 3, \"price\": 20, \"customer\": \"虚构客户\"}];\nreturn samples.map(input=>({json:{input,result:run(input)}}));"
      }
    }
  ],
  "connections": {
    "手动开始": {
      "main": [
        [
          {
            "node": "虚构样本校验",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {}
}