43 lines
1.6 KiB
JSON
43 lines
1.6 KiB
JSON
{
|
|
"flowName": "CONTRACT_CREATE_预览",
|
|
"platform": "YiSaiQi iS-RPA",
|
|
"nodeCode": "CONTRACT_CREATE",
|
|
"inputs": [
|
|
"stateCenterUrl",
|
|
"agentToken",
|
|
"jobId",
|
|
"supplierName",
|
|
"orderDate",
|
|
"sourceType",
|
|
"templateType",
|
|
"templateName",
|
|
"customerCode",
|
|
"customerName",
|
|
"contractCategory",
|
|
"settlementType",
|
|
"contractBackground",
|
|
"amount",
|
|
"contractEndDate",
|
|
"paymentMethod",
|
|
"paymentDays",
|
|
"submitMode",
|
|
"goodsLines",
|
|
"mergedPdfPath"
|
|
],
|
|
"outputs": [
|
|
"previewDone"
|
|
],
|
|
"steps": [
|
|
{ "id": "P01", "name": "打开合同系统", "script": "open_contract_system(browser, ctx)" },
|
|
{ "id": "P02", "name": "登录合同系统", "script": "login_contract_system(browser, ctx)" },
|
|
{ "id": "P03", "name": "进入合同起草", "script": "enter_contract_create(browser)" },
|
|
{ "id": "P04", "name": "选择模板", "script": "select_contract_template(browser, ctx)" },
|
|
{ "id": "P05", "name": "填写签约方", "script": "fill_contract_signatory_info(browser, ctx)" },
|
|
{ "id": "P06", "name": "填写基础表单", "script": "fill_contract_basic_info(browser, ctx)" },
|
|
{ "id": "P07", "name": "填写金额日期", "script": "fill_contract_amount_and_dates(browser, ctx)" },
|
|
{ "id": "P08", "name": "填写明细", "script": "fill_contract_goods_lines(browser, ctx)" },
|
|
{ "id": "P09", "name": "填写付款与标志", "script": "fill_contract_payment_info(browser, ctx)" },
|
|
{ "id": "P10", "name": "预览结束", "script": "submit_contract_for_approval(browser, ctx) with submitMode=dry_run" }
|
|
]
|
|
}
|