SOURCE

let goods = [
    {
        "id":"41959",
        "sku":"1211111",
        "goods_name":"工程模块吊顶测试",
        "price":300,
        "type":"",
        "num":"1",
        "remark":"柜门板模块",
        "sort":"0",
        "cid":"2390",
        "sales":"0",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"126",
        "special":"1",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-39",
        "pinyin":"",
        "unit":"",
        "add_time":"",
        "longgu":"0",
        "tj_price":"250.00",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"10",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"90620",
        "image":"./static/attached/thumb/202208/202208080946ujuj.jpg",
        "weight":"0",
        "recommend_time":"1661579738",
        "delivery_time":"0",
        "xianhuo":"0",
        "is_show":"0",
        "re":"0",
        "s_size":"",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"40",
        "area":"0",
        "categoryname":"柜门板",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 1/件",
        "count":10,
        "money":"3000.00",
        "origin_price":"300.00",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"41970",
        "sku":"121628",
        "goods_name":"顶上智能电器产品指南",
        "price":12,
        "type":"",
        "num":"1",
        "remark":"",
        "sort":"0",
        "cid":"2145",
        "sales":"7",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"128",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-7",
        "pinyin":"",
        "unit":"本",
        "add_time":"",
        "longgu":"0",
        "tj_price":"0.00",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"90640",
        "image":"./static/attached/thumb/202208/202208181015entc.jpg",
        "weight":"0",
        "recommend_time":"1660788997",
        "delivery_time":"0",
        "xianhuo":"0",
        "is_show":"0",
        "re":"0",
        "s_size":"",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "category_name":"物料",
        "fid":"2097",
        "area":"0",
        "categoryname":"物料",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 1本/件",
        "count":2,
        "money":"24.00",
        "origin_price":"12.00",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"41813",
        "sku":"121119",
        "goods_name":"顶上定制恒温暖暖杯套装",
        "price":55,
        "type":"",
        "num":"1",
        "remark":"",
        "sort":"0",
        "cid":"2146",
        "sales":"48",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"200",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-51",
        "pinyin":"",
        "unit":"套",
        "add_time":"",
        "longgu":"0",
        "tj_price":"0.00",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"44144",
        "image":"./static/attached/thumb/202205/202205171721ck4y.jpg",
        "weight":"0",
        "recommend_time":"1652779339",
        "delivery_time":"0",
        "xianhuo":"1",
        "is_show":"0",
        "re":"0",
        "s_size":"",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "name":"促销礼品",
        "area":"0",
        "categoryname":"促销礼品",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 1套/件",
        "count":1,
        "money":"55.00",
        "origin_price":"55.00",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"37594",
        "sku":"111958",
        "goods_name":"乐雅印象B",
        "price":15.2,
        "type":"360*360(10件起订)",
        "num":"64",
        "remark":"扣板",
        "sort":"0",
        "cid":"2100",
        "sales":"7.3万",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"1597",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-22529",
        "pinyin":"",
        "unit":"片  ",
        "add_time":"",
        "longgu":"1",
        "tj_price":"0.00",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"10",
        "project":"1",
        "pinxiang":"1",
        "patent":"0",
        "nid":"38499",
        "image":"./static/attached/thumb/201709/201709161645uqse.jpg",
        "weight":"0",
        "recommend_time":"1622532419",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"360x360",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":"360*360(10件起订) 64片  /件",
        "count":1,
        "money":"972.80",
        "origin_price":"15.20",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"41969",
        "sku":"121627",
        "goods_name":"顶上条纹板同色墙板设计大师必备",
        "price":32,
        "type":"",
        "num":"1",
        "remark":"",
        "sort":"0",
        "cid":"2145",
        "sales":"11",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"146",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-12",
        "pinyin":"",
        "unit":"本",
        "add_time":"",
        "longgu":"0",
        "tj_price":"0.00",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"90639",
        "image":"./static/attached/thumb/202208/2022081810100tw1.jpg",
        "weight":"0",
        "recommend_time":"1660788632",
        "delivery_time":"0",
        "xianhuo":"0",
        "is_show":"0",
        "re":"0",
        "s_size":"",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "category_name":"物料",
        "fid":"2097",
        "area":"0",
        "categoryname":"物料",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 1本/件",
        "count":1,
        "money":"32.00",
        "origin_price":"32.00",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"41968",
        "sku":"121626",
        "goods_name":"顶上MAX·印象大板设计大师必备",
        "price":30,
        "type":"",
        "num":"1",
        "remark":"",
        "sort":"0",
        "cid":"2145",
        "sales":"6",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"141",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-9",
        "pinyin":"",
        "unit":"本",
        "add_time":"",
        "longgu":"0",
        "tj_price":"0.00",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"90638",
        "image":"./static/attached/thumb/202208/202208181005kdex.jpg",
        "weight":"0",
        "recommend_time":"1660788361",
        "delivery_time":"0",
        "xianhuo":"0",
        "is_show":"0",
        "re":"0",
        "s_size":"",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "category_name":"物料",
        "fid":"2097",
        "area":"0",
        "categoryname":"物料",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 1本/件",
        "count":1,
        "money":"30.00",
        "origin_price":"30.00",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"35693",
        "sku":"109368",
        "goods_name":"智能开关A(白钻)",
        "price":101,
        "type":"",
        "num":"1",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"5236",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"7455",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-2147483648",
        "pinyin":"znkgabz",
        "unit":"个  ",
        "add_time":"1460455193",
        "longgu":"0",
        "tj_price":"101.00",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"36491",
        "image":"./static/attached/thumb/201604/201604121758xm1y.jpg",
        "weight":"0",
        "recommend_time":"0",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 1个  /件",
        "count":1,
        "money":"101.00",
        "origin_price":"101.00",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"35671",
        "sku":"105905",
        "goods_name":"M8膨胀螺钉四件套",
        "price":1.2,
        "type":"T",
        "num":"80",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"54.4万",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"10500",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-224480",
        "pinyin":"pzldsjt",
        "unit":"套  ",
        "add_time":"1458978118",
        "longgu":"0",
        "tj_price":"1.20",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"36464",
        "image":"",
        "weight":"0",
        "recommend_time":"0",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":"T 80套  /件",
        "count":1,
        "money":"96.00",
        "origin_price":"1.20",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"35670",
        "sku":"103321",
        "goods_name":"M8螺杆",
        "price":10.9,
        "type":"3M",
        "num":"20",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"6.7万",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"12819",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-31980",
        "pinyin":"lg",
        "unit":"根  ",
        "add_time":"1458977798",
        "longgu":"0",
        "tj_price":"10.90",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"36463",
        "image":"./static/attached/thumb/202208/202208131748kycf.jpg",
        "weight":"0",
        "recommend_time":"0",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":"3M 20根  /件",
        "count":1,
        "money":"218.00",
        "origin_price":"10.90",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"35669",
        "sku":"102545",
        "goods_name":"轻钢龙骨",
        "price":19.4,
        "type":"3M",
        "num":"20",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"25.8万",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"13529",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-152760",
        "pinyin":"qglg",
        "unit":"根  ",
        "add_time":"1458977725",
        "longgu":"0",
        "tj_price":"0.00",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"32158",
        "image":"./static/attached/thumb/201410/201410251114ofcz.jpg",
        "weight":"0",
        "recommend_time":"1631674451",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":"3M 20根  /件",
        "count":1,
        "money":"388.00",
        "origin_price":"19.40",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"35559",
        "sku":"108517",
        "goods_name":"不锈钢三角龙骨",
        "price":25.6,
        "type":"",
        "num":"20",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"4.2万",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"6298",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-8000",
        "pinyin":"bxgsjlg",
        "unit":"根  ",
        "add_time":"1441348022",
        "longgu":"0",
        "tj_price":"25.60",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"36191",
        "image":"./static/attached/thumb/201509/2015091216303d3g.jpg",
        "weight":"0",
        "recommend_time":"0",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 20根  /件",
        "count":1,
        "money":"512.00",
        "origin_price":"25.60",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"35558",
        "sku":"108518",
        "goods_name":"不锈钢大吊件",
        "price":2.1,
        "type":"",
        "num":"100",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"33.7万",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"6047",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-34800",
        "pinyin":"bxgddj",
        "unit":"根  ",
        "add_time":"1441335246",
        "longgu":"0",
        "tj_price":"2.10",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"36190",
        "image":"./static/attached/thumb/201509/201509121631q15w.jpg",
        "weight":"0",
        "recommend_time":"0",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 100根  /件",
        "count":1,
        "money":"210.00",
        "origin_price":"2.10",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"35557",
        "sku":"108520",
        "goods_name":"不锈钢龙骨接头",
        "price":0.5,
        "type":"",
        "num":"100",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"16.8万",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"6175",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-9200",
        "pinyin":"bxglgjt",
        "unit":"个  ",
        "add_time":"1441334840",
        "longgu":"0",
        "tj_price":"0.50",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"36189",
        "image":"./static/attached/thumb/201509/201509291000qv7o.jpg",
        "weight":"0",
        "recommend_time":"0",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 100个  /件",
        "count":1,
        "money":"50.00",
        "origin_price":"0.50",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"35556",
        "sku":"108516",
        "goods_name":"不锈钢主龙骨",
        "price":31.3,
        "type":"",
        "num":"20",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"28.6万",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"7133",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-5840",
        "pinyin":"bxgsjlg",
        "unit":"根  ",
        "add_time":"1441334676",
        "longgu":"0",
        "tj_price":"31.30",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"36188",
        "image":"./static/attached/thumb/201509/201509121634rz3x.jpg",
        "weight":"0",
        "recommend_time":"0",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 20根  /件",
        "count":1,
        "money":"626.00",
        "origin_price":"31.30",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"569",
        "sku":"104824",
        "goods_name":"T形龙骨转接件",
        "price":7.3,
        "type":"",
        "num":"20",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"3.7万",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"6825",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-1360",
        "pinyin":"txlgzjj",
        "unit":"个  ",
        "add_time":"1420041600",
        "longgu":"0",
        "tj_price":"7.30",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"35334",
        "image":"./static/attached/thumb/201504/201504021353uzrg.jpg",
        "weight":"0",
        "recommend_time":"1630554406",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 20个  /件",
        "count":1,
        "money":"146.00",
        "origin_price":"7.30",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"514",
        "sku":"104064",
        "goods_name":"六档开关",
        "price":17.2,
        "type":"306-6开关",
        "num":"1",
        "remark":"附件",
        "sort":"0",
        "cid":"2125",
        "sales":"4677",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"13536",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-407",
        "pinyin":"ldkg",
        "unit":"套  ",
        "add_time":"1420041600",
        "longgu":"0",
        "tj_price":"17.20",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"",
        "image":"",
        "weight":"0",
        "recommend_time":"0",
        "delivery_time":"5",
        "xianhuo":"0",
        "is_show":"0",
        "re":"",
        "s_size":"0.00",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "area":"0",
        "categoryname":"附件类",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":"306-6开关 1套  /件",
        "count":1,
        "money":"17.20",
        "origin_price":"17.20",
        "ordertype":null,
        "discount_card":1
    },
    {
        "id":"41277",
        "sku":"118488",
        "goods_name":"顶上2021定制笔记本",
        "price":42.9,
        "type":"",
        "num":"1",
        "remark":"",
        "sort":"0",
        "cid":"2145",
        "sales":"14",
        "status":"0",
        "module":"1",
        "recommend":"0",
        "view":"218",
        "special":"0",
        "party":"",
        "market_price":"0.00",
        "discount":1,
        "stock":"-14",
        "pinyin":"",
        "unit":"",
        "add_time":"",
        "longgu":"0",
        "tj_price":"0.00",
        "vip":"0",
        "vip_price":"0.00",
        "order_num":"1",
        "project":"1",
        "pinxiang":"0",
        "patent":"0",
        "nid":"43462",
        "image":"./static/attached/thumb/202111/202111181546votj.jpg",
        "weight":"0",
        "recommend_time":"1637221628",
        "delivery_time":"0",
        "xianhuo":"1",
        "is_show":"0",
        "re":"0",
        "s_size":"",
        "b_size":"",
        "sel":"",
        "repeats":"0",
        "code":"0",
        "tkqm":"0",
        "tp":"",
        "category_name":"物料",
        "fid":"2097",
        "area":"0",
        "categoryname":"物料",
        "prefix":"",
        "nodename":"",
        "flag":"加入购物车",
        "new":"0",
        "buy":"0",
        "snapshot":" 1/件",
        "count":1,
        "money":"42.90",
        "origin_price":"42.90",
        "ordertype":null,
        "discount_card":1
    }
]
// console.log(arr[0])
// 过滤出需要的数据
      let newGoods = []
      goods.forEach((goodsItem,i) => {
                newGoods.push({})

        for (let item in goodsItem) {

            if(filterByName(item)){
                newGoods[i][item] = goods[i][item]
            }
        }

      });
      function     filterByName(name){
        const arr = ['id','sku','remark','sort','cid','market_price','goods_name','price','tj_price','image','origin_price','ordertype','discount_card','discount','count','order_num','num','module','snapshot','type','pre_orderno']
        if(arr.indexOf(name) > -1){
            return true
        }
        return false
      }
      console.log(newGoods)
console 命令行工具 X clear

                    
>
console