@kmkf-fe-packages/kmkf-work-order-service-component
TypeScript icon, indicating that this package has built-in type declarations

1.28.3 • Public • Published

kmkf-work-order-service-component

Getting Started

Install dependencies,

$ npm i

Start the dev server,

$ npm start

Build documentation,

$ npm run docs:build

Run test,

$ npm test

Build library via father,

$ npm run build

111222

企业工单工单项目抽离模块

  • 自定义工单
  • 打款工单

link 方式 https://cloud.tencent.com/developer/article/1842631

1.模块引用方式

import { WorkOrder } from 'kmkf-work-order-service-component'
import { PlatForm } from 'kmkf-work-order-service-component/dist/esm/WorkOrder';

const Text = ()=>{
  return <WorkOrder platform={PlatForm.FXG}
        shopId={shopId}
        buyerNick={buyerNick}
        buyerId={buyerId}
        orderNo={orderNo}></WorkOrder>
}

| 字段 | 说明 | 数据类型 | | ----------------- | ---------------- | ------------------------------------ | | platform | 平台 | TAOBAO =淘宝|FXG=抖音|PDD=拼多多| | | shopId | 店铺 ID | number | | buyerNick | 买家昵称 | string | | buyerId | 买家 id | string | | orderNo | 订单 id | string | | onEmpowerCallback | 授权弹框点击回调 | function |

/@kmkf-fe-packages/kmkf-work-order-service-component/

    Package Sidebar

    Install

    npm i @kmkf-fe-packages/kmkf-work-order-service-component

    Weekly Downloads

    419

    Version

    1.28.3

    License

    none

    Unpacked Size

    1.78 MB

    Total Files

    299

    Last publish

    Collaborators

    • sxpan
    • nanyue0511
    • xilull
    • flyingmonkey
    • shenjianfei
    • raycloud-apaas