import React from 'react';
import { Input } from 'kts-components-antd-x3';
import Invoice from '../../';
import 'antd/dist/antd.css';

export default () => {

    const controller = React.useMemo(() => new MyController1(), [])

    const [deduction, setDeduction] = React.useState<number | undefined>(0);

    const [goodMax, setgoodMax] = React.useState(0);

    const onChange = React.useCallback((e: React.ChangeEvent<HTMLInputElement>) => {
        const num = e.target.value ? parseFloat(e.target.value) : undefined;
        if (typeof num === 'number' && `${num}` !== 'NaN') {
            setgoodMax(1);
            setDeduction(num);
        } else {
            setgoodMax(0);
            setDeduction(undefined);
        }
    }, [])

    const menuExpansion = React.useMemo(() => {
        return (
            <span style={{ marginRight: 10 }} >
                <Input size="small" placeholder='扣除额' onChange={onChange} />
            </span>
        )
    }, [])

    return (
        <Invoice
            controller={controller}
            goodsList={
                <Invoice.GoodsList
                    isSwitchTax={false}             // 是否可以切换(含税/不含税)状态
                    isAddDiscount={false}           // 不能添加折扣行
                    goodMax={goodMax}               // 控制能可以添加的货物函数
                    deduction={deduction}           // 扣除额
                    menuExpansion={menuExpansion}   // 扩展
                />
            }
        />
    )
};


// 税收分类编码列表
class MyController1 extends Invoice.InvoiceController {

    constructor() {
        super()
        this.state.model = 'default'
    }

    getTaxCategoryCodeList = this.pipeline(async (s) => {
        console.log('===> 准备赋码的货物索引列表', s.goodsListState.endowCode.endowcodeGoodIndex);

        s.goodsListState.endowCode.getTaxCategoryCodeTree = async (value) => {
            return moke.map(e => {
                return {
                    label: `${e.taxCategoryCode}-${e.shorthand}`,
                    shorthand: e.shorthand,
                    id: e.taxCategoryCode,
                    pid: e.pid
                }
            })
        };
    });
}

const moke = [
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "稻谷、早籼稻、晚籼稻、中籼稻、粳稻、糯稻",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50550,
        "pid": "1010101000000000000",
        "productName": "稻谷",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括早籼稻、晚籼稻、中籼稻、粳稻、糯稻、其他稻谷。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101010000000000",
        "updateTime": "2021-08-17 15:12:33.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "小麦、硬质小麦、软质小麦",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50551,
        "pid": "1010101000000000000",
        "productName": "小麦",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括硬质小麦、软质小麦、其他小麦。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101020000000000",
        "updateTime": "2021-08-17 15:12:22.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "玉米、白玉米、黄玉米、糯玉米、甜玉米",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50552,
        "pid": "1010101000000000000",
        "productName": "玉米",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括白玉米、黄玉米、糯玉米、甜玉米、其他玉米。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101030000000000",
        "updateTime": "2021-08-17 15:12:27.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）、《财政部、国家税务总局关于免征蔬菜流通环节增值税有关问题的通知》（财税〔2011〕137号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "谷子、硬谷子、糯谷子",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50553,
        "pid": "1010101000000000000",
        "productName": "谷子",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括硬谷子、糯谷子、其他谷子。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101040000000000",
        "updateTime": "2021-08-17 15:12:12.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "高粱、红粒高粱、白粒高粱、糯高粱",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50554,
        "pid": "1010101000000000000",
        "productName": "高粱",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括红粒高粱、白粒高粱、糯高粱、其他高粱。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101050000000000",
        "updateTime": "2021-08-17 15:12:30.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "大麦、裸大麦、皮大麦",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50555,
        "pid": "1010101000000000000",
        "productName": "大麦",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括裸大麦、皮大麦。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101060000000000",
        "updateTime": "2021-08-17 15:12:08.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "裸燕麦、皮燕麦",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50556,
        "pid": "1010101000000000000",
        "productName": "燕麦",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括裸燕麦、皮燕麦。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101070000000000",
        "updateTime": "2021-08-17 15:12:29.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "黑麦",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50557,
        "pid": "1010101000000000000",
        "productName": "黑麦",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101080000000000",
        "updateTime": "2021-08-17 15:12:11.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "荞麦、甜荞麦、苦荞麦",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50558,
        "pid": "1010101000000000000",
        "productName": "荞麦",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括甜荞麦、苦荞麦。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101090000000000",
        "updateTime": "2021-08-17 15:12:30.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "糜子、硬糜子、糯糜子、紫米、薏苡",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50559,
        "pid": "1010101000000000000",
        "productName": "其他谷物",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括糜子（硬糜子、糯糜子）、紫米、薏苡等。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101990000000000",
        "updateTime": "2021-08-17 15:12:19.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "种用谷物、种用皮大麦、种用裸大麦、种用糯高粱、种用红粒高粱、种用白粒高粱、种用甜玉米、种用糯玉米、种用黄玉米、种用白玉米、种用硬质小麦、种用软质小麦、种用中籼稻、种用早籼稻、种用晚籼稻、种用糯稻、种用粳稻",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50683,
        "pid": "1010119000000000000",
        "productName": "种用谷物",
        "qysj": "20190401",
        "shorthand": "种子种苗",
        "sm": "包括种用硬质小麦、种用甜玉米、种用软质小麦、种用皮大麦、种用糯玉米、种用糯高粱、种用裸大麦、种用黄玉米、种用红粒高粱、种用白玉米、种用白粒高粱、其他种用玉米、其他种用小麦、其他种用高粱、种用中籼稻、种用早籼稻、种用晚籼稻、种用糯稻、种用粳稻、其他种用稻谷。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010119010000000000",
        "updateTime": "2021-08-17 15:12:24.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部、国家税务总局关于若干农业生产资料征免增值税政策的通知》（财税〔2001〕113号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "小麦粉、小麦专用粉、小麦自发粉",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50923,
        "pid": "1030101000000000000",
        "productName": "小麦粉",
        "qysj": "20190401",
        "shorthand": "谷物细粉",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030101010000000000",
        "updateTime": "2021-08-17 15:12:14.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "大米粉、籼米细粉、粳米细粉",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50924,
        "pid": "1030101000000000000",
        "productName": "大米粉",
        "qysj": "20190401",
        "shorthand": "谷物细粉",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030101020000000000",
        "updateTime": "2021-08-17 15:12:08.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "玉米细粉、糯米细粉、荞麦细粉、黑麦细粉、莜麦细粉、高粱细粉、大麦细粉",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50925,
        "pid": "1030101000000000000",
        "productName": "其他谷物细粉",
        "qysj": "20190401",
        "shorthand": "谷物细粉",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030101990000000000",
        "updateTime": "2021-08-17 15:12:08.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "籼米、粳米",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50928,
        "pid": "1030102010000000000",
        "productName": "大米",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102010100000000",
        "updateTime": "2021-08-17 15:12:11.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "大米",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50929,
        "pid": "1030102010000000000",
        "productName": "小米",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102010200000000",
        "updateTime": "2021-08-17 15:12:25.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "糯米",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50930,
        "pid": "1030102010000000000",
        "productName": "糯米",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102010300000000",
        "updateTime": "2021-08-17 15:12:14.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "高粱米",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50931,
        "pid": "1030102010000000000",
        "productName": "高粱米",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102010400000000",
        "updateTime": "2021-08-17 15:12:13.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "脱壳燕麦",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50932,
        "pid": "1030102010000000000",
        "productName": "脱壳燕麦",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "指已脱壳但未去皮的燕麦。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102010500000000",
        "updateTime": "2021-08-17 15:12:06.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "脱壳青稞",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50933,
        "pid": "1030102010000000000",
        "productName": "脱壳青稞",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102010600000000",
        "updateTime": "2021-08-17 15:12:11.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "珠粒大麦",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50934,
        "pid": "1030102010000000000",
        "productName": "珠粒大麦",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102010700000000",
        "updateTime": "2021-08-17 15:12:12.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50935,
        "pid": "1030102010000000000",
        "productName": "其他碾磨、脱壳谷物",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102019900000000",
        "updateTime": "2021-08-17 15:12:21.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "小麦粗磨、大米粗磨、玉米粗磨、燕麦粗磨",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50936,
        "pid": "1030102000000000000",
        "productName": "粗磨谷物",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "包括谷物去壳谷粉、粗粉及团粒。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102020000000000",
        "updateTime": "2021-08-17 15:12:15.0",
        "zzssl": "9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "燕麦片、大麦片、玉米片、谷物胚芽",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 50937,
        "pid": "1030102000000000000",
        "productName": "谷物加工制品",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "包括燕麦片、大麦片、玉米片，谷物胚芽等。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102030000000000",
        "updateTime": "2021-08-17 15:12:19.0",
        "zzssl": "13%、9%",
        "zzstsgl": "免税",
        "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》（财税字〔1999〕198号）"
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "谷物制品类罐头、甜玉米罐头、米粥罐头、米饭罐头、八宝粥罐头、蔬菜粥罐头、八宝饭罐头",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 51065,
        "pid": "1030205000000000000",
        "productName": "谷物制品类罐头",
        "qysj": "20190401",
        "shorthand": "罐头",
        "sm": "指经过处理后的谷类、干果及其他原料（桂圆、枸杞、蔬菜等）装罐制成的罐头产品",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030205080000000000",
        "updateTime": "2021-08-17 15:12:25.0",
        "zzssl": "13%",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "谷物磨粉工业用筛、谷物磨粉工业用筛架、混合滚筒、分离滚筒、谷物磨粉机的滚筒、谷物磨粉机的变换器、谷物磨粉工业用机械零件",
        "gxsj": "20200601",
        "hzx": "N",
        "id": 53402,
        "pid": "1090220000000000000",
        "productName": "谷物磨粉工业用机械零件",
        "qysj": "20190401",
        "shorthand": "食品制造机械",
        "sm": "包括谷物磨粉工业用筛及筛架、混合或分离滚筒、谷物磨粉机的滚筒或变换器、其他谷物磨粉工业用机械零件",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1090220050000000000",
        "updateTime": "2021-08-17 15:12:11.0",
        "zzssl": "13%",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50549,
        "pid": "1010100000000000000",
        "productName": "谷物",
        "qysj": "20190401",
        "shorthand": "谷物",
        "sm": "包括稻谷、小麦、玉米、谷子、高粱、大麦、燕麦、黑麦、荞麦、其他谷物，不包括种用谷物（详见101011901）。",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010101000000000000",
        "updateTime": "2021-08-17 15:12:22.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "种子、种苗、种用谷物、种用薯类、种用油料、种用豆类、种用饲料作物、蔬菜籽、花草种、水果籽",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50682,
        "pid": "1010100000000000000",
        "productName": "种子、种苗",
        "qysj": "20190401",
        "shorthand": "种子种苗",
        "sm": "包括种用谷物、种用薯类、种用油料、种用豆类、种用饲料作物、蔬菜籽、花草种、水果籽及其他种子、种苗",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010119000000000000",
        "updateTime": "2021-08-17 15:12:22.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50922,
        "pid": "1030100000000000000",
        "productName": "谷物细粉",
        "qysj": "20190401",
        "shorthand": "谷物细粉",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030101000000000000",
        "updateTime": "2021-08-17 15:12:09.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50927,
        "pid": "1030102000000000000",
        "productName": "碾磨、脱壳谷物",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102010000000000",
        "updateTime": "2021-08-17 15:12:07.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 51057,
        "pid": "1030200000000000000",
        "productName": "罐头",
        "qysj": "20190401",
        "shorthand": "罐头",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030205000000000000",
        "updateTime": "2021-08-17 15:12:13.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 53397,
        "pid": "1090200000000000000",
        "productName": "食品、饮料、烟草专用生产设备零件",
        "qysj": "20190401",
        "shorthand": "食品制造机械",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1090220000000000000",
        "updateTime": "2021-08-17 15:12:09.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50548,
        "pid": "1010000000000000000",
        "productName": "农业产品",
        "qysj": "20190401",
        "shorthand": "农业产品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010100000000000000",
        "updateTime": "2021-08-17 15:12:32.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50921,
        "pid": "1030000000000000000",
        "productName": "农副食品，动、植物油制品",
        "qysj": "20190401",
        "shorthand": "农副食品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030100000000000000",
        "updateTime": "2021-08-17 15:12:23.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50926,
        "pid": "1030100000000000000",
        "productName": "碾磨谷物及谷物加工品",
        "qysj": "20190401",
        "shorthand": "谷物加工品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030102000000000000",
        "updateTime": "2021-08-17 15:12:20.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 51032,
        "pid": "1030000000000000000",
        "productName": "食品及加工盐",
        "qysj": "20190401",
        "shorthand": "食品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030200000000000000",
        "updateTime": "2021-08-17 15:12:30.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 53261,
        "pid": "1090000000000000000",
        "productName": "专用设备",
        "qysj": "20190401",
        "shorthand": "专用设备",
        "sm": "指只在一个特定产业，用来生产、加工、处理特定产品或者改变特定物质形态的机械设备及其专门配套件",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1090200000000000000",
        "updateTime": "2021-08-17 15:12:15.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50547,
        "pid": "1000000000000000000",
        "productName": "农、林、牧、渔业类产品",
        "qysj": "20190401",
        "shorthand": "农产品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1010000000000000000",
        "updateTime": "2021-08-17 15:12:19.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50920,
        "pid": "1000000000000000000",
        "productName": "食品、饮料、烟、酒类产品",
        "qysj": "20190401",
        "shorthand": "食品类产品",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1030000000000000000",
        "updateTime": "2021-08-17 15:12:07.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 53022,
        "pid": "1000000000000000000",
        "productName": "机械、设备类产品",
        "qysj": "20190401",
        "shorthand": "机械设备",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1090000000000000000",
        "updateTime": "2021-08-17 15:12:15.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    },
    {
        "bbh": "34.0",
        "createTime": "2019-09-12 08:54:16.0",
        "gjz": "",
        "gxsj": "20200601",
        "hzx": "Y",
        "id": 50546,
        "pid": "0",
        "productName": "货物",
        "qysj": "20190401",
        "shorthand": "货物",
        "sm": "",
        "specification": null,
        "ssflbbh": "32.0",
        "statusDesc": null,
        "taxCategoryCode": "1000000000000000000",
        "updateTime": "2021-08-17 15:12:12.0",
        "zzssl": "",
        "zzstsgl": "",
        "zzszcyj": ""
    }
]