@kmkf-fe-packages/kmkf-work-order-service-component
v1.28.3
Published
<!-- * @Description: * @Author: litian * @Date: 2022-09-21 09:16:51 * @LastEditors: litian * @LastEditTime: 2022-11-28 16:45:07 -->
Downloads
4,879
Keywords
Readme
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 |