|
文档如下:启用了物料属性特征组,必须传物料模板id
示例代码如下:主要关注productPropCharacterDefine对象中的结构
- {
- "orgCode": "99",
- "code": "123334",
- "name": {
- "simplifiedName": "测试jgj123"
- },
- "productPropCharacterDefine": {
- "id": "1728406699106631693",
- "wlsx01_jgj": "123",
- "wlsx02_jgj": "456",
- "zj5": true
- },
- "detail": {
- "inspectionType":0,
- "businessAttribute": "1,7",
- "purchaseUnitCode": "TNE",
- "inspectionUnitCode": "TNE",
- "purchasePriceUnitCode": "TNE",
- "stockUnitCode": "TNE",
- "produceUnitCode": "TNE",
- "batchPriceUnitCode": "TNE",
- "batchUnitCode": "TNE",
- "onlineUnitCode": "TNE",
- "offlineUnitCode": "TNE",
- "requireUnitCode": "TNE",
- "displayPrice": true,
- "stopstatus": true,
- "storeOffAndOffState": false,
- "orderLoadAndUnloadStatus": false,
- "canSale": false,
- "batchManage": false,
- "expiryDateManage": false,
- "serialNoManage": false,
- "barcodeManage": false,
- "planDefaultAttribute":1,
- "allowNegativeInventory": true,
- "keySubPart": true,
- "checkByBatch": false,
- "recommend": false,
- "allowStorePurchase": true,
- "saleInOfflineStore": true,
- "priceChangeAllowed": true,
- "offlineStoreOrder": true,
- "offlineStoreReturn": true,
- "process": true,
- "material": true,
- "weighingOrNot": true
- },
- "manageClassCode": "jst_ycl",
- "productClassCode": "jst_ycl",
- "registrationManager": true,
- "authorizationManager": true,
- "autoGenerateRangeData": false,
- "productTemplate":1726891065268502536,
- "realProductAttribute":1,
- "realProductAttributeType":1,
- "unitUseType":2,
- "unitCode": "TNE",
- "enableAssistUnit": false,
- "weightUnitCode": "TNE",
- "volumeUnitCode": "TNE"
- }
复制代码
|
本帖子中包含更多资源,您需要 登录 才可以下载或查看,没有帐号?立即注册
X
|