// //  快递模板列表下载是否完成
// export const WaybillTemplateComplete = "waybillTemplateComplete"

// // 让popup获取waybillTemplate
// export const GetWaybillTemplate = "getWaybillTemplate"
export enum ACTION{

    task="task",
}
interface Data {
    [propName: string] : any;
}
export const default_tbEnsureIssueJsonV2:Data = {
    "categoryExtParams": [
        {
            "name": "spm",
            "value": "a21dvs.23580594.0.0.621e3d0dy8cHpr"
        },
        {
            "name": "fromSmart",
            "value": true
        },
        {
            "name": "newRouter",
            "value": 1
        }
    ],
    "userId": 1807767805,
    "publishType": {
        "value": "b",
        "text": "一口价"
    },
    "selectProp": {},
    "catImages": [
        {
            "url": "https://img.alicdn.com/imgextra/i1/1807767805/O1CN01mH8yVm27Wk6AajLn4_!!1807767805.jpg",
        }
    ],
    "category": {
        "id": 150704,
        "name": "手机保护套/壳",
        "idpath": [
            50008090,
            50024094,
            150704
        ],
        "path": [
            "3C数码配件",
            "手机配件",
            "手机保护套/壳"
        ],
        "leaf": true,
        "publish": true,
        "submitId": 150704,
        "empty": false
    }
}

export let default_tbIssueJsonDataV2 : Data = {
    "frontDataLog": {
        "identityId": "general-taobao-100",
        "mainCategoryId": 50008090,
        "fromSmart": false,
        "traceId": "21507f6216736822370025435eb1c8",
        "newPublish": true
    },
    "auctionType": "b",
    "sevenDayDefaultValue": 1,
    "id": 697122796700,
    "copyItemMode": 0,
    "spuMatch": null,
    "croRule": "{\"url\":\"asyncOpt.htm?optType=croRuleAsyncCheck&catId=150704\",\"input\":[\"id\",\"userId\",\"catId\",\"title\",\"desc\",\"descForShenbiPc\",\"sku\",\"price\",\"catProp\",\"saleProp\",\"descType\",\"shopping_title\"]}",
    "afterSaleVideo_videoId": null,
    "catSuggest": {
        "empty": false
    },
    "fakeCreditSubmit": false,
    "ifdWarningSubmit": false,
    "riskWarningSubmit": 0,
    "feedbackSubmit_catErrorWarningSubmit": 0,
    "taobaoMarketTransform": null,
    "taobaoMarketClean": null,
    "snapshotId": null,
    "showDraft": 1,
    "newDescVersion": 1,
    "descRepublicEnable": 1,
    "skyLightRule": null,
    "recommendInfo": null,
    "draftIdKey": "dbDraftId",
    "firstStartTime": null,
    "itemdiagnoseInfo": "{}",
    "diagnoseInvokeId": null,
    "diagnoseSource": null,
    "aliColorEnable": "p-1627207",
    "mediaCenterEnable": null,
    "newMaterialEnable": "imageGroup,productManual,pureImage,whiteBgImage,verticalImage,sceneImages,threeToFourPureImage,threeToFourImageGroup-imageGroup,threeToFourImages,sceneVideos,mainImagesGroup-imageGroup,images,",
    "catId": 150704,
    "userId": 1807767805,
    "stuffStatus": {
        "value": 5
    },
    "shopping_title": [
        {
            "name": "applicable_brand"
        },
        {
            "name": "applicable_mobile_model"
        },
        {
            "name": "material"
        },
        {
            "name": "manner"
        },
        {
            "name": "interest"
        }
    ],
    "catProp": {
        "p-20000": {
            "text": "other/其他",
            "value": 29534
        },
        "p-20000-21920": {
            "value": -1,
            "text": "iphone"
        },
        "p-20608": [
            {
                "value": 31755,
                "text": "卡通"
            }
        ],
        "p-231100582": "卡通流行"
    },
    "globalStock": {
        "value": "globalStock_0"
    },
    "deliveryTimeType": {
        "value": 0
    },
    "sku": [
        {
            "cspuId": null,
            "skuPrice": "99.00",
            "disabled": null,
            "skuId": null,
            "skuStock": 110,
            "skuQuality": {
                "value": "mainSku",
                "text": "单品",
                "prefilled": true,
                "prefilledText": {
                    "bottom": "请确认分类"
                }
            },
            "action": {
                "selected": true
            },
            "props": [
                {
                    "name": "p-228680323",
                    "text": "华为 Mate Xs 2",
                    "value": "21397358634",
                    "label": "适用手机型号"
                },
                {
                    "name": "p-1627207",
                    "text": "测试1",
                    "value": -682337435,
                    "label": "颜色分类"
                }
            ],
            "salePropKey": "228680323-21397358634_1627207--682337435",
            "errorInfo": {}
        },
        {
            "cspuId": null,
            "skuPrice": "99.00",
            "disabled": null,
            "skuId": null,
            "skuStock": 110,
            "action": {
                "selected": true
            },
            "props": [
                {
                    "name": "p-228680323",
                    "text": "华为 Mate Xs 2",
                    "value": "21397358634",
                    "label": "适用手机型号"
                },
                {
                    "name": "p-1627207",
                    "text": "测试2",
                    "value": -682340930,
                    "label": "颜色分类"
                }
            ],
            "salePropKey": "228680323-21397358634_1627207--682340930",
            "errorInfo": {}
        },
        {
            "cspuId": null,
            "skuPrice": "9.00",
            "disabled": null,
            "skuId": null,
            "skuStock": 110,
            "skuQuality": {
                "value": "mainSku",
                "text": "单品",
                "prefilled": true,
                "prefilledText": {
                    "bottom": "请确认分类"
                }
            },
            "action": {
                "selected": true
            },
            "props": [
                {
                    "name": "p-228680323",
                    "text": "华为 Mate 20 Lite",
                    "value": "17547890070",
                    "label": "适用手机型号"
                },
                {
                    "name": "p-1627207",
                    "text": "测试1",
                    "value": -682337435,
                    "label": "颜色分类"
                }
            ],
            "salePropKey": "228680323-17547890070_1627207--682337435",
            "errorInfo": {}
        },
        {
            "cspuId": null,
            "skuPrice": "99.00",
            "disabled": null,
            "skuId": null,
            "skuStock": 110,
            "action": {
                "selected": true
            },
            "props": [
                {
                    "name": "p-228680323",
                    "text": "华为 Mate 20 Lite",
                    "value": "17547890070",
                    "label": "适用手机型号"
                },
                {
                    "name": "p-1627207",
                    "text": "测试2",
                    "value": -682340930,
                    "label": "颜色分类"
                }
            ],
            "salePropKey": "228680323-17547890070_1627207--682340930",
            "errorInfo": {}
        }
    ],
    "quantity": "440",
    "mainImagesGroup": {
        "mainImagesGroup-imageGroup": {
            "images": [
                {
                    "url": "https://img.alicdn.com/imgextra/i3/1807767805/O1CN018cvRUU27Wk6OyuIcR_!!1807767805.jpg"
                },
                {
                    "url": "https://img.alicdn.com/imgextra/i1/1807767805/O1CN0162GuJA27Wk6EJas8j_!!1807767805.jpg"
                },
                {
                    "url": null
                },
                {
                    "url": null
                }
            ]
        }
    },
    "imageVideoType": {
        "value": 1
    },
    "sceneVideos": {
        "imageVideo": {
            "videoInfo": {},
            "videoType": "宝贝",
            "channelList": []
        },
        "sceneVideo2": {
            "videoInfo": {},
            "channelList": []
        },
        "sceneVideo3": {
            "videoInfo": {},
            "channelList": []
        }
    },
    "threeToFourImageGroup": {
        "threeToFourImageGroup-imageGroup": {}
    },
    "guideImageGroup": {
        "imageGroup": {}
    },
    "descRepublicOfSell": {
        "descPageCommitParam": {
            "opt": 2,
            "clientType": 1,
            "bizSource": "sell",
            "userId": 1807767805,
            "itemId": 697122796700,
            "templateId": 0,
            "version": 0,
            "freeTry": 0,
            "needServerComposite": false,
            "batchPut": false,
            "detailHeight": 2696,
            "params": "params",
            "maxHeight": 35000,
            "articleId": 0,
            "fliggyItem": false,
            "newItem": true,
            "sell": false,
            "smart": false,
            "changed": true,
            "catId": 150704,
            "bseller": false,
            "templateContent": "{\"groups\":[{\"type\":\"group\",\"hide\":false,\"bizCode\":0,\"propertyPanelVisible\":true,\"level\":1,\"boxStyle\":{\"background-color\":\"#ffffff\",\"width\":620,\"height\":426},\"position\":\"middle\",\"groupName\":\"模块\",\"scenario\":\"wde\",\"components\":[{\"type\":\"component\",\"level\":2,\"sellerEditable\":true,\"boxStyle\":{\"rotate\":0,\"z-index\":0,\"top\":0,\"left\":0,\"width\":620,\"height\":426,\"background-image\":\"https://img.alicdn.com/imgextra/i2/1807767805/O1CN01s1VSmR27Wk6KV0qeW_!!1807767805.jpg\"},\"componentName\":\"图片组件\",\"clipType\":\"rect\",\"imgStyle\":{\"top\":0,\"left\":0,\"width\":620,\"height\":426},\"picMeta\":{\"width\":750,\"height\":515,\"size\":164688,\"id\":1780507574793466600},\"isEdit\":false,\"componentType\":\"pic\",\"componentId\":\"component1673682393365\",\"groupId\":\"group1673682389542\",\"selected\":false}],\"groupId\":\"group1673682389542\",\"id\":\"group1673682389542\",\"bizName\":\"图文模块\"},{\"type\":\"group\",\"hide\":false,\"bizCode\":0,\"propertyPanelVisible\":true,\"level\":1,\"boxStyle\":{\"background-color\":\"#ffffff\",\"width\":620,\"height\":436},\"position\":\"middle\",\"groupName\":\"模块\",\"scenario\":\"wde\",\"components\":[{\"type\":\"component\",\"level\":2,\"sellerEditable\":true,\"boxStyle\":{\"rotate\":0,\"z-index\":0,\"top\":0,\"left\":0,\"width\":620,\"height\":436,\"background-image\":\"https://img.alicdn.com/imgextra/i3/1807767805/O1CN018cvRUU27Wk6OyuIcR_!!1807767805.jpg\"},\"componentName\":\"图片组件\",\"clipType\":\"rect\",\"imgStyle\":{\"top\":0,\"left\":0,\"width\":620,\"height\":436},\"picMeta\":{\"width\":750,\"height\":528,\"size\":154781,\"id\":1780507578899727000},\"isEdit\":false,\"componentType\":\"pic\",\"componentId\":\"component1673682390815\",\"groupId\":\"group1673682392478\",\"selected\":false}],\"groupId\":\"group1673682392478\",\"id\":\"group1673682392478\",\"bizName\":\"图文模块\"},{\"type\":\"group\",\"hide\":false,\"bizCode\":0,\"propertyPanelVisible\":true,\"level\":1,\"boxStyle\":{\"background-color\":\"#ffffff\",\"width\":620,\"height\":1023},\"position\":\"middle\",\"groupName\":\"模块\",\"scenario\":\"wde\",\"components\":[{\"type\":\"component\",\"level\":2,\"sellerEditable\":true,\"boxStyle\":{\"rotate\":0,\"z-index\":0,\"top\":0,\"left\":0,\"width\":620,\"height\":1023,\"background-image\":\"https://img.alicdn.com/imgextra/i4/1807767805/O1CN01qalH0A27Wk6CCe2KE_!!1807767805.jpg\"},\"componentName\":\"图片组件\",\"clipType\":\"rect\",\"imgStyle\":{\"top\":0,\"left\":0,\"width\":620,\"height\":1023},\"picMeta\":{\"width\":750,\"height\":1237,\"size\":476592,\"id\":1780507567192993000},\"isEdit\":false,\"componentType\":\"pic\",\"componentId\":\"component1673682391496\",\"groupId\":\"group1673682397380\",\"selected\":false}],\"groupId\":\"group1673682397380\",\"id\":\"group1673682397380\",\"bizName\":\"图文模块\"},{\"type\":\"group\",\"hide\":false,\"bizCode\":0,\"propertyPanelVisible\":true,\"level\":1,\"boxStyle\":{\"background-color\":\"#ffffff\",\"width\":620,\"height\":811},\"position\":\"middle\",\"groupName\":\"模块\",\"scenario\":\"wde\",\"components\":[{\"type\":\"component\",\"level\":2,\"sellerEditable\":true,\"boxStyle\":{\"rotate\":0,\"z-index\":0,\"top\":0,\"left\":0,\"width\":620,\"height\":811,\"background-image\":\"https://img.alicdn.com/imgextra/i1/1807767805/O1CN019yAoES27Wk6CCdhXg_!!1807767805.jpg\"},\"componentName\":\"图片组件\",\"clipType\":\"rect\",\"imgStyle\":{\"top\":0,\"left\":0,\"width\":620,\"height\":811},\"picMeta\":{\"width\":750,\"height\":981,\"size\":274307,\"id\":1780507567192913200},\"isEdit\":false,\"componentType\":\"pic\",\"componentId\":\"component1673682393980\",\"groupId\":\"group1673682390593\",\"selected\":false}],\"groupId\":\"group1673682390593\",\"id\":\"group1673682390593\",\"bizName\":\"图文模块\"}],\"sellergroups\":[]}",
            "sourceAgent": "sell",
            "editType": "lite",
            "detailParam": "{\"params\":[{\"reuseImg\":false,\"groupId\":\"group1673682389542\",\"width\":620,\"size\":164688,\"imageUrls\":[\"https://img.alicdn.com/imgextra/i2/1807767805/O1CN01s1VSmR27Wk6KV0qeW_!!1807767805.jpg\"],\"splitHeight\":960,\"height\":426,\"originImg\":true,\"imageIds\":[-1]},{\"reuseImg\":false,\"groupId\":\"group1673682392478\",\"width\":620,\"size\":154781,\"imageUrls\":[\"https://img.alicdn.com/imgextra/i3/1807767805/O1CN018cvRUU27Wk6OyuIcR_!!1807767805.jpg\"],\"splitHeight\":960,\"height\":437,\"originImg\":true,\"imageIds\":[-1]},{\"reuseImg\":false,\"groupId\":\"group1673682397380\",\"width\":620,\"size\":476592,\"imageUrls\":[\"https://img.alicdn.com/imgextra/i4/1807767805/O1CN01qalH0A27Wk6CCe2KE_!!1807767805.jpg\"],\"splitHeight\":960,\"height\":1023,\"originImg\":true,\"imageIds\":[-1]},{\"reuseImg\":false,\"groupId\":\"group1673682390593\",\"width\":620,\"size\":274307,\"imageUrls\":[\"https://img.alicdn.com/imgextra/i1/1807767805/O1CN019yAoES27Wk6CCdhXg_!!1807767805.jpg\"],\"splitHeight\":960,\"height\":811,\"originImg\":true,\"imageIds\":[-1]}]}"
        },
        "descPageRenderParam": {
            "userId": 1807767805,
            "itemId": 697122796700,
            "templateId": 0,
            "clientType": 1,
            "catId": 150704,
            "bizSource": "sell",
            "newItem": true,
            "bseller": false,
            "smart": false
        },
        "descPageRenderModel": {
            "wholeConfigBO": {
                "width": 620,
                "maxHeight": 35000,
                "splitHeight": 960,
                "ratio": 2,
                "canCoverFromTmall": false,
                "userId": 1807767805,
                "liteCannotEdit": false,
                "renderWhite": false
            },
            "extendFields": "{}",
            "extendConfig": {
                "httpRequestUrlConfig": {
                    "imageSelectUrl": "//sucai.wangpu.taobao.com/select.htm",
                    "tokenUrl": "https://xiangqing.wangpu.taobao.com/GetToken.do",
                    "mtopHost": "h5api.m.taobao.com",
                    "mediaUploadUrl": [
                        "stream.xiangqing.taobao.com",
                        "stream-xiangqing.taobao.com"
                    ],
                    "httpHost": "sell.xiangqing.taobao.com",
                    "url": "https://xiangqing.wangpu.taobao.com/template/ajax/commit_item_description.do"
                },
                "wangpuEditorConfig": {
                    "type": "iframe",
                    "params": {
                        "isAdescription": 1,
                        "catId": 0,
                        "itemId": 697122796700,
                        "clientType": 1,
                        "isV3": "true"
                    },
                    "url": "https://sell.xiangqing.taobao.com/new_user_panel.htm"
                },
                "functionConfig": {
                    "showPreview": false,
                    "showDistinguish": false,
                    "backOldDiscardDraft": false,
                    "showBackOldVersion": true,
                    "showTemplate": true,
                    "showFastAddText": true,
                    "bSeller": false
                },
                "imagePluginConfig": {
                    "appkey": "tu"
                },
                "imageConfig": {
                    "usePreDraw": true,
                    "mustCutImage": false,
                    "useCutThreshold": true,
                    "cutImageConfig": {
                        "cutWidthThreshold": 1500,
                        "cutHeightThreshold": 2000,
                        "cutMinWidth": 620,
                        "cutMinHeight": 0
                    }
                },
                "uploadConfig": {
                    "localFile": false,
                    "picUploadApi": "picUploadApi",
                    "params": {
                        "folderId": "folderId"
                    }
                }
            }
        }
    },
    "shopcat": [11],
    "subStock": {
        "value": 1
    },
    "tbExtractWay": {
        "value": [
            "2"
        ],
        "template": "54659134050"
    },
    "regionLimitSale": {
        "value": "regionLimitSale_0"
    },

    "sevenDaySupport": 1,
    "startTime": {
        "type": 0
    },
    "title": "测试手机壳数据",
    "saleProp": {
        "p-228680323": [
            {
                "text": "华为 Mate Xs 2",
                "value": "21397358634"
            },
            {
                "text": "华为 Mate 20 Lite",
                "value": "17547890070"
            }
        ],
        "p-1627207": [
            {
                "text": "测试1",
                "value": -682337435
            },
            {
                "text": "测试2",
                "value": -682340930
            }
        ]
    },
    "price": "9.00",
}
