npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jsmom-select-data

v1.1.1

Published

数据选择组件

Downloads

56

Readme

数据选择组件

安装

npm i jsmom-select-data -S

or

yarn add jsmom-select-data

使用

  • 注册

    // main.js
    
    import SelectData from "jsmom-select-data";
    import request from "@/utils/request";
    Vue.use(SelectData, { store, request });
  • 调用

    this.$selectData({
      type: "material",
      multiple: true,
      title: "选择物料",
      fullData: true,
    }).then((data) => {
      // to do something
    });

配置

  • type String 类型
    • user 用户
    • department 部门
    • order 订单
    • material 物料
    • gaugeType 检具类型
    • process 工序
    • inspectionItem 检验项目
    • equipment 设备
    • productionLine 生产线
    • teamGroup 班组
    • defectiveItem 缺陷现象
    • defectiveReason 缺陷原因
    • customer 客户
    • boardSerialNumber 跟踪卡序列号
    • news 新闻公告
    • fQCScheme 成品检验方案
    • tableStation 台位
    • store 仓库
    • baseprocess 工序
    • mtrlType 物料系列
    • mtrlClass 物料分类
    • qmsFrequency QMS频次
    • workArea 车间片区
    • printTemplate 打印模板
    • supplier 供应商
    • gauge 检具
    • factory 工厂
    • pttype 零活项目
    • processbymtrlcode 工序
    • iQCScheme 来料检验方案列表
    • measure 计量委托
    • departmentMom mom部门
    • Price 单价档案
    • gaugeModel 检具规格型号
    • equipModel 辅具规格型号
    • toolEquip
    • bindRealation 辅具下线未维修
    • gaugeCheckItem 检具项目
    • gaugeProject 检具方案
    • toolEquipCheckItem 辅具项目
    • toolEquipProject 辅具方案
    • trayinfo 托盘管理
    • barcode 条码信息
    • barcodePorv 采购入库条码信息
    • barcodeMorv 生产入库条码信息
    • stocksinfo 条码库存记录
    • stockInventory 库存汇总记录
    • selectPositions 常委信息
    • selectSource 供应商信息
    • SelectShfit 仓位
    • duty 工种
    • applyGauge 检具申请列表
    • gaugename 根据检具名称、规格、ERP编码 分组查询
    • equipmentIOT 绑定电表的设备
    • materialfortool 物料--辅具专用
    • defectiveItemClass 现象分类
  • multiple Boolean 是否多选 默认:false
  • fullData Boolean 返回全部数据 默认:false
  • title String 标题
  • params Object 额外的参数
  • nullable Boolean 可以不选 默认:true
  • cancelable Boolean 可以取消 默认:true
  • selected Array<Object> 默认选中的数据(多选) 默认:true