_viewObj = {
    type: 'div',
    props: {
        style: {
            width: "100%",
            background: '#ffffff',
            borderRadius: 15,
            borderStyle: "dashed",
            borderWidth: 0,
            padding: 3,
            margin: 3
        }
    },
    children: [
        {
            type: 'OwlInput',
            props: {
                level: 2, wrapStyle: {color: '#333333', borderBottom: "1px solid #dddddd"},
                inputStyle: {width: "100%", fontSize: 32, fontWeight: 600},
                value: $name, fieldKey: 'name', bordered: false,
                rules: [{required: true, message: '请输入商品名称'}]
            }
        },
        {
            type: 'div',
            props: {style: {display: 'flex', flexWrap: 'wrap'}},
            children: [
                {
                    type: 'div',
                    props: {style: {color: '#999999'}},
                    children: ["[卖点]"]
                },
                {
                    type: 'OwlInput',
                    props: {
                        wrapStyle: {
                            color: '#cc2222',
                            marginLeft: '10px',
                            width: '80%',
                            borderBottom: "1px solid #dddddd"
                        },
                        inputStyle: {width: "100%"},
                        value: $selling_point, fieldKey: 'selling_point', bordered: false
                    }
                },
            ]
        },
        {
            'type': 'Divider'
        },

        {
            type: 'div',
            props: {style: {display: 'flex', flexWrap: "wrap", backgroundColor: '#f5f5f5', padding: 10, marginBottom: 10}},
            children: [
                {
                    "type": "div",
                    "key": "basic_div",
                    "props": {"style": {minWidth: 300, marginTop: 10, marginRight: 10, marginBottom: 10}},
                    "children": [{
                        type: 'Typography.Title',
                        props: {style: {color: '#333333', fontSize: 14, display:'none'}, level: 4, marginBottom: 10},
                        children: ["基础信息"],
                    },
                        {
                            type: 'div',
                            props: {
                                key: "content_div",
                                style: {background: '#ffffff', borderRadius: 15, borderColor: "#eeeeee", padding: 15}
                            },
                            children: [
                                {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',
                                            paddingTop: 6,
                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999'}},
                                        children: ["款型代码"]
                                    }, {
                                        type: 'OwlInput',
                                        props: {
                                            inputStyle: {color: '#333333'},
                                            value: $productNumber,
                                            fieldKey: 'productNumber'
                                        },
                                        children: [$productNumber || '']
                                    }]
                                },
                                {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',
                                            paddingTop: 6,
                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999'}},
                                        children: ["外部编码"]
                                    }, {
                                        type: 'OwlInput',
                                        props: {style: {color: '#333333'}, value: $code, fieldKey: 'code'},
                                        children: [$code || '']
                                    }]
                                },
                                {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',
                                            paddingTop: 6,
                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999'}},
                                        children: ["条形码"]
                                    }, {
                                        type: 'OwlInput',
                                        props: {style: {color: '#333333'}, value: $barcode, fieldKey: 'barcode'},
                                        children: [$barcode || '']
                                    }]
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "div",
                    "key": "brand_div",
                    "props": {"style": {minWidth: 300, marginTop: 10, marginRight: 10, marginBottom: 10}},
                    "children": [
                        {
                            type: 'Typography.Title',
                            props: {style: {color: '#333333', fontSize: 14, display:'none'}, level: 4, marginBottom: 10},
                            children: ["品牌信息"],
                        },
                        {
                            type: 'div',
                            props: {
                                key: "content_div",
                                style: {background: '#ffffff', borderRadius: 15, borderColor: "#eeeeee", padding: 15}
                            },
                            children: [
                                {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',

                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999', fontSize: 14}},
                                        children: ["品牌"]
                                    }, {
                                        type: 'OwlLinkIdInput',
                                        props: {
                                            style: {color: '#333333', width: 120},
                                            wrapStyle: {width: 160},
                                            fieldKey: 'brandName', record: __viewData,
                                            datasource: 'brand',
                                            displayField: 'name',
                                            value: $brandName,
                                            fields: 'id/name', toFields: 'brandId/brandName'
                                        },
                                        children: []
                                    }]

                                },
                                {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',
                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999'}},
                                        children: ["计量单位"]
                                    }, {
                                        type: 'OwlLinkIdInput',
                                        props: {
                                            style: {color: '#333333'},
                                            wrapStyle: {width: 160, marginTop: 5},
                                            fieldKey: 'sellUnitName', record: __viewData,
                                            datasource: 'mall_sellunit',
                                            displayField: 'name',
                                            value: $sellUnitName,
                                            fields: 'id/name', toFields: 'sellUnitId/sellUnitName'


                                        },
                                        children: [$sellUnitName || '']
                                    }]
                                },
                                {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',
                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999'}},
                                        children: ["原产国"]
                                    }, {
                                        type: 'OwlLinkIdInput',
                                        props: {
                                            style: {color: '#333333'},
                                            wrapStyle: {width: 160, marginTop: 5},
                                            fieldKey: 'country_name', record: __viewData,
                                            datasource: 'country',
                                            displayField: 'name',
                                            value: $country_name,
                                            fields: 'id/name', toFields: 'country_id/country_name'
                                        },
                                        children: [$country_name || '']
                                    }]
                                },
                                {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',
                                            paddingTop: 6,
                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999'}},
                                        children: ["税率"]
                                    }, {
                                        type: 'OwlSelect',
                                        props: {
                                            inputStyle: {color: '#333333'},
                                            wrapStyle: {width: 160,marginBottom:5},
                                            value: $tax_rate,
                                            options:[[0,'0%'],[3,'3%'],[6,'6%'],[9,'9%'],[10,'10%'],[13,'13%'],[16,'16%']],
                                            fieldKey: 'tax_rate'
                                        },
                                        children: ["" + $tax_rate || '']
                                    }]
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "div",
                    "key": "resale_div",
                    "props": {"style": {minWidth: 300, marginTop: 10, marginRight: 10, marginBottom: 10}},
                    "children": [{
                        type: 'Typography.Title',
                        props: {style: {color: '#333333', fontSize: 14, display:'none'}, level: 4, marginBottom: 10},
                        children: ["数量信息"],
                    },
                        {
                            type: 'div',
                            props: {
                                key: "content_div",
                                style: {background: '#ffffff', borderRadius: 15, borderColor: "#eeeeee", padding: 15}
                            },
                            children: [
                                {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',
                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999'}},
                                        children: ["真实库存"]
                                    }, {
                                        type: 'div',
                                        props: {style: {color: '#333333'}},
                                        children: [toString($real_inventory)]
                                    }]
                                },
                                {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',
                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999'}},
                                        children: ["分销sku数"]
                                    }, {
                                        type: 'div',
                                        props: {style: {color: '#333333'}},
                                        children: [toString($resellSkuCount)]
                                    }]
                                }, {
                                    type: 'div',
                                    props: {
                                        style: {
                                            color: '#333333',
                                            height: 42,
                                            lineHeight: '42px',
                                            borderBottom: '1px solid #eeeeee',
                                            display: 'flex',
                                            justifyContent: 'space-between'
                                        }
                                    },
                                    children: [{
                                        type: 'div',
                                        props: {style: {color: '#999999'}},
                                        children: ["是否全部sku已分销"]
                                    }, {
                                        type: 'div',
                                        props: {style: {color: '#333333'}},
                                        children: [toString($isResellAllSku)]
                                    }]
                                }
                            ]
                        }
                    ]
                }
            ]
        }]
}
