1.0.0 • Published 3 years ago

b2program2 v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

axios for request api management

Project setup

    npm install b2Program

    colorTag活动标签
    props: {
        tags: {
            type: Array, //[1,2,3]
            default: () => []
        }
    }

    getBillDialog接单弹窗
    props:{
        isSpecial:{ //是否是非标品
            type:Boolean,
            default:()=>false
        },
        show:{//显示隐藏
            type:Boolean,
            default:()=>false
        },
        specialObject:{//一条完整的商品信息
            type:Object,
            default:()=>{}
        },
        getOrderType:{//接单类型 single all 单个/一键接单
            type:String,
            default:'single'
        }
    },

       goodsList商品列表
        props: {
            orderlist: {
            type: Object,//一条完整的商品信息
            default: {}
            },
            tabsType: { //查询的tabnum 1-8
            default: 1
            }
        },
        $event 事件
        handleClick(type|String,data|Object)
        type:事件类型 get 接单 send 发货 print打印 detail查看详情

        非标品标签 /计量秤重 标签 specialTag 
        props: {
            type: { // weight /special
            type: String,
            default:()=>'specail'
            },
            offset:{ //坐标
                type:Object,
                default:()=>{
                    return {
                        x:0,
                        y:0
                    }
                }
            }
        }

Compiles and hot-reloads for development

import b2Program from 'b2Program'
Vue.use(b2Program)
import 'b2program.css'

Customize configuration

See Configuration Reference.