|
|
@ -22,6 +22,21 @@ URL: http://localhost:8033/open/AddMaterial |
|
|
|
| materialCode | string | 是 | 物料编码 | |
|
|
|
| materialTypeCode | string | 是 | 物料类别代码 | |
|
|
|
| descriptions | string | 否 | 物料描述 | |
|
|
|
| spec | string | 否 | 规格 | |
|
|
|
| model | string | 否 | 型号 | |
|
|
|
| erpTypeCode | string | 否 | ERP物料类型 | |
|
|
|
| unitId | string | 否 | 主单位 | |
|
|
|
| astUnitId | string | 否 | 辅单位 | |
|
|
|
| changeRate | string | 否 | 换算率 | |
|
|
|
| isNeedCheck | string | 否 | 是否检验 | |
|
|
|
| validDay | int | 否 | 保质期 | |
|
|
|
| validType | string | 否 | 保质期类型 | |
|
|
|
| cellGrade | int | 否 | 辅助属性:等级 | |
|
|
|
| cellColor | int | 否 | 辅助属性:颜色 | |
|
|
|
| cellEff | int | 否 | 辅助属性:效率 | |
|
|
|
| cellUop | int | 否 | 辅助属性:功率 | |
|
|
|
| currentGrade | int | 否 | 辅助属性:电流 | |
|
|
|
| isBatchManage | int | 否 | 是否启用批次管理 | |
|
|
|
| attrs | Array | 否 | 物料属性 | |
|
|
|
|
|
|
|
attrs字段 |
|
|
@ -44,6 +59,21 @@ attrs字段 |
|
|
|
"materialCode": "CELL002", |
|
|
|
"materialTypeCode": "CELL", |
|
|
|
"descriptions": "电池片描述", |
|
|
|
"spec","4*100", |
|
|
|
"model","s700", |
|
|
|
"erpTypeCode","", |
|
|
|
"unitId","", |
|
|
|
"astUnitId","", |
|
|
|
"changRate","1/500", |
|
|
|
"isNeedCheck","0", |
|
|
|
"validDays","60", |
|
|
|
"validType","天", |
|
|
|
"cellGrade","", |
|
|
|
"cellColor","", |
|
|
|
"cellEff","", |
|
|
|
"cellUop","", |
|
|
|
"currentGrade","", |
|
|
|
"isBatchManage":"0", |
|
|
|
"attrs": [{ |
|
|
|
"materialCode": "CELL002", |
|
|
|
"materialTypeCode": "CELL", |
|
|
|