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

tplus-mobile-qt

v1.0.2

Published

voucher module

Downloads

8

Readme

移动追溯项目

获取列表接口

  • dropDownStyle:DropDownList && controlType:refcombobox,接口为:itemlist

  • dropDownStyle:DropDownGrid && controlType:refcombobox,接口为:dropDownData

  • dropDownStyle:DropDownList && controlType:combobox,接口为:enumItems

  • 例子:批号

    • 查询项
      {
          "id": 61046,
          "code": "Batch",
          "name": "批号",
          "type": "refcombobox",
          "mode": "single",
          "match": "",
          "modeRange": null,
          "matchRange": null,
          "disabled": false,
          "visible": true,
          "beginDefault": "",
          "endDefault": "",
          "beginDefaultText": "",
          "endDefaultText": "",
          "group": "",
          "required": false,
          "valueType": "Code",
          "isSimpleSearchItem": false,
          "options": {
              "id": 52069,
              "itemID": 61046,
              "searchType": 2,
              "dtoName": "ProductQualityTraceBatchDTO",
              "refBussCode": "",
              "refAddPage": "",
              "valueType": "Code",
              "enumName": "",
              "dropDownStyle": "DropDownList",
              "controlType": "refcombobox",
              "refDataSource": "",
              "precision": 0,
              "maxLength": 500,
              "allowEdit": true,
              "multiSelect": 0,
              "hideIncludeStop": false,
              "refMultiMode": false,
              "allowAdd": false,
              "showEmptyRow": false,
              "showComboButton": true,
              "refContinuumSelect": false,
              "refCategoryTree": false,
              "refSortField": "",
              "refShowField": "Code",
              "enumItems": null,
              "readOnly": false,
              "dropDownWhere": "",
              "refWhere": "",
              "percent": false,
              "attributes": {},
              "isShowDetail": false,
              "notEdit": false,
              "mode": "single",
              "fieldType": "nvarchar",
              "loginDate": "2023-11-08 00:00:00",
              "formatString": "",
              "fieldName": "Batch",
              "initRefWhere": "",
              "initDropDownWhere": "",
              "moduleName": ""
          }
      }
    • 获取列表:itemlist
      {
          "searchItemCtrlId": "52069", // 1
          "searchType": 2, // 1
          "strDataSourceKey": "",
          "refObj": "ProductQualityTraceBatchDTO", // 1
          "sortby": "",
          "codename": "PH101090701",
          "whereParams": {},
          "currentPage": 0,
          "pageSize": 1000,
          "dropDownGridMatchMode": "4"
      }
  • 例子:序列号

    • 查询项
    {
        "id": 61047,
        "code": "SNCode",
        "name": "序列号",
        "type": "refcombobox",
        "mode": "single",
        "match": "",
        "modeRange": null,
        "matchRange": null,
        "disabled": false,
        "visible": true,
        "beginDefault": "",
        "endDefault": "",
        "beginDefaultText": "",
        "endDefaultText": "",
        "group": "",
        "required": false,
        "valueType": "Code",
        "isSimpleSearchItem": false,
        "options": {
            "id": 52070,
            "itemID": 61047,
            "searchType": 2,
            "dtoName": "RefSerialNumberSNCodeDTO",
            "refBussCode": "",
            "refAddPage": "",
            "valueType": "Code",
            "enumName": "",
            "dropDownStyle": "DropDownGrid",
            "controlType": "refcombobox",
            "refDataSource": "RefRefSerialNumberSNCodeDTO",
            "precision": 0,
            "maxLength": 500,
            "allowEdit": true,
            "multiSelect": 0,
            "hideIncludeStop": false,
            "refMultiMode": false,
            "allowAdd": false,
            "showEmptyRow": false,
            "showComboButton": false,
            "refContinuumSelect": false,
            "refCategoryTree": false,
            "refSortField": "",
            "refShowField": "Code",
            "enumItems": null,
            "readOnly": false,
            "dropDownWhere": "",
            "refWhere": "",
            "percent": false,
            "attributes": {},
            "isShowDetail": false,
            "notEdit": false,
            "mode": "single",
            "fieldType": "nvarchar",
            "loginDate": "2023-11-08 00:00:00",
            "formatString": "",
            "fieldName": "SNCode",
            "initRefWhere": "",
            "initDropDownWhere": "",
            "moduleName": ""
        }
    }
    • 获取列表:dropDownData
    {
        "searchItemCtrlId": "52070",
        "searchType": 2,
        "strDataSourceKey": "RefRefSerialNumberSNCodeDTO",
        "refObj": "RefSerialNumberSNCodeDTO",
        "sortby": "Code ASC,id",
        "whereParams": {},
        "codename": "",
        "currentPage": 0,
        "pageSize": 7,
        "dropDownGridMatchMode": "1",
        "menuCode": "",
        "dataAuthorityDisabled": false,
        "strDisabledControlVale": false,
        "sourceName": ""
    }
  • 例子:产品状态

    • 查询项
    {
        "id": 61048,
        "code": "ProductStatus",
        "name": "产品状态",
        "type": "combobox",
        "mode": "single",
        "match": "",
        "modeRange": null,
        "matchRange": null,
        "disabled": false,
        "visible": true,
        "beginDefault": "57871",
        "endDefault": "",
        "beginDefaultText": "已入库",
        "endDefaultText": "",
        "group": "",
        "required": false,
        "valueType": "ID",
        "isSimpleSearchItem": false,
        "options": {
            "id": 52071,
            "itemID": 61048,
            "searchType": 2,
            "dtoName": "",
            "refBussCode": "",
            "refAddPage": "",
            "valueType": "ID",
            "enumName": "ProductStatus",
            "dropDownStyle": "DropDownList",
            "controlType": "combobox",
            "refDataSource": "",
            "precision": 0,
            "maxLength": 500,
            "allowEdit": false,
            "multiSelect": 0,
            "hideIncludeStop": false,
            "refMultiMode": false,
            "allowAdd": false,
            "showEmptyRow": false,
            "showComboButton": true,
            "refContinuumSelect": false,
            "refCategoryTree": false,
            "refSortField": "",
            "refShowField": "",
            "enumItems": null,
            "readOnly": false,
            "dropDownWhere": "",
            "refWhere": "",
            "percent": false,
            "attributes": {},
            "isShowDetail": false,
            "notEdit": false,
            "mode": "single",
            "fieldType": "nvarchar",
            "loginDate": "2023-11-08 00:00:00",
            "formatString": "",
            "fieldName": "ProductStatus",
            "initRefWhere": "",
            "initDropDownWhere": "",
            "moduleName": ""
        }
    }
    • 获取列表:enumItems
    {
        "strDataSourceKey": "",
        "enumName": "ProductStatus",
        "moduleName": "",
        "whereParams": {},
        "top": 1000
    }

穿透相关

穿透时检查功能与数据权限,无权限时按公共提示即可,穿透后要支持返回追溯报表

产品正向追溯表

  • 材料信息
    • 入库单号 PURDRecord_Code 采购入库单
    • 检验单号 QualityInspect_Code 来料/成品检验单
    • 采购订单号 PurchaseOrderCode 采购订单
    • 进货单号 PurchaseArrival_Code 进货单
  • 产品检验信息
    • 产成品入库单 RDRecord_Code 产成品入库单
    • 检验单号 QualityInspect_Code 来料/成品检验单
  • 销售出库信息
    • 销售出库单号 RDRecord_Code 销售出库单
    • 销售订单号 saleOrderCode 销售订单
    • 销货单号 SaleDeliveryCode 销货单

材料反向追溯表

  • 材料基本信息

    • 入库单号 PURDRecord_Code 采购入库单
    • 采购订单号 PurchaseOrderCode 采购订单
    • 进货单号 PurchaseArrival_Code 进货单
  • 产品信息

    • 销售订单号 saleOrderCode 销售订单
    • 检验单号 QualityInspect_Code 来料/成品检验单
  • 材料检验信息

    • 采购订单号 PurchaseOrderCode 采购订单
    • 采购入库单号 RDRecord_Code 采购入库单
    • 检验单号 QualityInspect_Code 来料/成品检验单
  • 材料出库信息

    • 出库单号 RDRecord_Code 材料出库单
  • 采购入库单

  • 来料/成品检验单

  • 采购订单

  • 进货单

  • 产成品入库单

  • 销售出库单

  • 销售订单

  • 销货单

  • 材料出库单

[
    { Name: '采购订单', redirect: 'REDIRECT_ASSOCIATED_PU_ORDER', appId: 1297 },
    { Name: '销售订单', redirect: 'REDIRECT_ASSOCIATED_ORDER', appId: 1249 },
    { Name: '销货单', redirect: 'REDIRECT_ASSOCIATED_SALEDELIVERY', appId: 1249 },
    { Name: '进货单', redirect: 'REDIRECT_ASSOCIATED_PU03', appId: 1297 }
];

redirectOtherApp(item.appId, item.redirect, { keyWord: docNo })