owl-cli 7.14.0 → 7.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "7.14.0",
3
+ "version": "7.15.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {
@@ -1,53 +0,0 @@
1
- {
2
- "id": "string(32),listSize:16,tab:a1,disabled:true,hidden:false;商品Id",
3
- "name": "string(64),listSize:16,tab:a2;名称",
4
- "skus": [{
5
- "#meta": {
6
- "fieldLabel": "子商品",
7
- "tab": "f",
8
- "addSingle":true,
9
- "position": "card"
10
- },
11
- "spec": "string(32),listSize:14,help:规格尺码等,tab:f1;规格",
12
- "buyUnit": "string(6),inputType:letterChina,required:true,listSize:8,tab:f2;采购单位",
13
- "buyUnitCount": "number(4),listSize:8,help:每采购单位包含的单品数量,tab:f3;采购单位数量"
14
-
15
- }],
16
- "_t": "product",
17
- "#meta": {
18
- "rem": "商品",
19
- "parent": [
20
- "sku"
21
- ],
22
- "projectName": "商品",
23
-
24
- "visitType": [
25
- "shop",
26
- "warehouse",
27
- "platform"
28
- ],
29
- "pos": -1,
30
- "group": {
31
- "id": "mainData",
32
- "name": "主数据",
33
- "pos": 1
34
- },
35
- "project": "example",
36
- "export":[
37
- {
38
- "label":"导出完整单据",
39
- "mainTitleFormat":{"background":"#474747","color":"#cccccc"},
40
- "subTitleFormat":{"background":"#777777","color":"#ffffff"},
41
- "subRecordFormat":{"background":"#ffffff","color":"#000000"},
42
- "mainRecordFormat":{"background":"#555555","color":"#FFFFFF"},
43
- "key":"completeDoc",
44
- "fields":["*"],
45
- "items":{
46
- "name":"items",
47
- "itemFields":["*"]
48
- },
49
- "subTitleInterval":20
50
- }
51
- ]
52
- }
53
- }
@@ -1,72 +0,0 @@
1
- {
2
- "id":"string(32),tab:01,disabled:true;店铺Id",
3
- "name":"string(16),tab:02,searchable:true;店铺名称;",
4
- "mobile":"string(16),inputType:mobile,tab:03;手机",
5
- "logo":"imgfileId,tab:04;店铺logo",
6
- "ownerName":"string(16),tab:09,searchable:true;店主",
7
- "ownerUserId":"string(16),tab:09,searchable:true;店主Id",
8
- "area": "tree,tab:11,dataSource:/owlApi/region/getArea.jsx; 地区",
9
- "address":"string(24),tab:10;详细地址",
10
- "type":"choice,values:1_商品销售/2_工业生产/3_服务销售,listSize:14,tab:06,listTab:09;店铺类型",
11
- "bankInfo":{
12
- "#meta":{
13
- "fieldLabel":"银行资料",
14
- "tab":"11"
15
- },
16
- "account":"string(19),inputType:number,tab:1101;账号",
17
- "bank":"string(10),tab:1102;开户行",
18
- "branch":"string(10),tab:1103;支行"
19
- },
20
- "registrationInfo":{
21
- "#meta":{
22
- "fieldLabel":"工商资料",
23
- "tab":"12"
24
- },
25
- "address":"string(32),inputType:numberLetter,tab:1201;注册地址",
26
- "registrationNumber":"string(19),tab:1202;工商登记号",
27
- "businessRange":"string(128),tab:1203;营业范围"
28
- },
29
- "admins": [
30
- {
31
- "#meta": {
32
- "fieldLabel":"管理员",
33
- "tab": "11",
34
- "addMulti":{
35
- "linkId":"userId",
36
- "from":"id",
37
- "label":"选择用户...",
38
- "dataSource":"/owlApi/user/search.jsx",
39
- "fields":["id","loginId","realName","nickName"],
40
- "toFields":["userId","loginId","realName","nickName"],
41
- "fieldLabels":["id","loginId","真实姓名","昵称"],
42
- "fieldWidths":[100,120,120,120]
43
- }
44
- },
45
- "userId": "linkId,dataSource:/owlApi/user/search.jsx,unique:true,fields:id/realName/nickName,toFields:userId/realName/nickName,displayField:id,fieldsWidth:100/120/120,tab:13;用户Id",
46
- "loginId":"string(16),disabled:true,inputType:numberLetter,tab:14;loginId",
47
- "realName":"string(16),disabled:true,tab:14;姓名",
48
- "nickName":"string(16),tab:15;昵称"
49
- }
50
- ],
51
- "_t":"shop",
52
- "#meta":{
53
- "rem":"店铺",
54
- "parent":["subplatform"],
55
- "visitType": [
56
- "platform"
57
- ],
58
- "projectName":"店铺",
59
- "project":"example",
60
- "export":[
61
- {
62
- "label":"导出完整",
63
- "mainTitleFormat":{"background":"#474747","color":"#cccccc"},
64
- "subTitleFormat":{"background":"#777777","color":"#ffffff"},
65
- "subRecordFormat":{"background":"#ffffff","color":"#000000"},
66
- "mainRecordFormat":{"background":"#555555","color":"#FFFFFF"},
67
- "key":"completeDoc",
68
- "fields":["*"]
69
- }
70
- ]
71
- }
72
- }
@@ -1,254 +0,0 @@
1
- {
2
- "id": "string(32),listSize:16,tab:a1,disabled:true,hidden:false;物料Id",
3
- "name": "string(64),listSize:16,tab:a2;物料名称",
4
- "shopId": "string(16),listSize:12,disabled:true,hidden:true,defaultValue:$shopId,tab:a11;店铺id",
5
- "code": "string(16),inputType:numberLetter,listSize:8,tab:a3;物料编码",
6
- "barcode": "string(16),inputType:numberLetter,required:true,listSize:8,tab:a4;条形码",
7
- "categoryId": "tree,listSize:12,tab:a5,dataSource:/owlApi/category/tree.jsx,searchable:true;分类",
8
- "producerName": "string(12),listSize:12,required:true,tab:a6;生产商名称",
9
- "producerNo": "string(64),inputType:numberLetter,listSize:8,tab:a7;生产商编号",
10
- "warehouseName": "linkId,required:true,listSize:16,dataSource:/erp_warehouse/handlers/list.jsx,displayField:name,fields:id/name,toFields:warehouseId/warehouseName,fieldsWidth:120/120,searchable:true,tab:a8;对接仓库",
11
- "warehouseId": "string(16),listSize:12,disabled:true,searchable:true,hidden:true,tab:a9;对接仓库Id",
12
- "makePlace": "string(16),listSize:8,tab:a91;产地",
13
- "_createTime":"date,searchable:true,disabled:true,listSize:8,tab:a92;创建时间",
14
- "priceInfo": {
15
- "#meta": {
16
- "fieldLabel": "参考价格",
17
- "tab": "b",
18
- "position": "subcard"
19
- },
20
- "noTaxPrice": "number(8),listSize:12,isMoney:true,required:true,tab:b1;不含税价",
21
- "taxRate": "choice,values:0_0/3_3/6_6/7.7_7.7/10_10/11_11/11.9_11.9/13_13/15_15/16_16/17_17/20_20/21_21/26.353_26.353/32.375_32.375,listSize:8,required:true,tab:b2;进项率利(%)",
22
- "outPutTax": "choice,values:0_0/3_3/6_6/7.7_7.7/10_10/11_11/11.9_11.9/13_13/15_15/16_16/17_17/20_20/21_21/26.353_26.353/32.375_32.375,listSize:8,tab:b2;销项税率",
23
- "taxPrice": "number(8),listSize:8,isMoney:true,disabled:true,value:$priceInfo.noTaxPrice*(1+$priceInfo.taxRate/100),tab:b3;含税价",
24
- "profits": "number(4),listSize:8,tab:b4;毛利",
25
- "bucklePoint": "number(4),listSize:8,tab:b5;扣点(%)"
26
- },
27
- "management": {
28
- "#meta": {
29
- "fieldLabel": "管理参数",
30
- "tab": "c",
31
- "position": "subcard"
32
- },
33
- "alarmNumber": "number(12),listSize:12,tab:c1;库存预警值;",
34
- "businessModel": "choice,values:1_经销/0_代销,listSize:12,tab:c3;经营模式",
35
- "isZeroSell": "choice,values:1_是/0_否,listSize:8,tab:c4;是否零负可卖",
36
- "zeroSellNumber": "number(12),listSize:12,tab:c5;零负可卖数量;",
37
- "isCrossBorderPurchase": "choice,values:1_是/0_否,listSize:8,tab:c6;是否跨境购",
38
- "isStorage": "choice,values:1_是/0_否,required:true,searchable:true,listSize:12,tab:c7;是否入库",
39
- "isVirtualGoods": "choice,values:1_是/0_否,listSize:12,tab:c8;是否虚拟商品",
40
- "taxTypeCode": "string(16),listSize:8,tab:c9;税收分类编码"
41
- },
42
- "b2c": {
43
- "#meta": {
44
- "fieldLabel": "b2c对接参数",
45
- "tab": "d",
46
- "position": "subcard"
47
- },
48
- "merchantId": "string(16),listSize:12,inputType:numberLetter,tab:d1;商家id",
49
- "b2cShopId": "string(16),listSize:12,inputType:numberLetter,tab:d11;B2C店铺Id",
50
- "productId": "string(16),listSize:12,inputType:numberLetter,tab:d2;商品Id",
51
- "productCode": "string(16),listSize:12,tab:d3;商品编号",
52
- "skuId":"string(64),listSize:12,inputType:numberLetter,tab:d4;skuId",
53
- "skuCode":"string(64),listSize:12,tab:d5;skuCode",
54
- "brand": "string(16),listSize:12,tab:d6;品牌",
55
- "categoryName": "string(32),listSize:12,tab:d7;商品类型",
56
- "standardName": "string(32),listSize:12,tab:d8;规格名称",
57
- "shippingType": "string(32),listSize:12,tab:d9;发货类型"
58
- },
59
- "measurement": {
60
- "#meta": {
61
- "fieldLabel": "计量单位",
62
- "tab": "e",
63
- "position": "subcard"
64
- },
65
- "length": "number(6),help:单位厘米,listSize:6,tab:e1;长",
66
- "width": "number(6),help:单位厘米,listSize:6,tab:e2;宽",
67
- "height": "number(6),help:单位厘米,listSize:6,tab:e3;高",
68
- "volume": "number(6),help:单位毫升,listSize:6,tab:e4;体积",
69
- "weight": "number(6),help:单位克,listSize:6,tab:e5;重量"
70
- },
71
- "purchaseInfo": {
72
- "#meta": {
73
- "fieldLabel": "采购数据",
74
- "tab": "f",
75
- "position": "card"
76
- },
77
- "buyUnit": "string(6),inputType:letterChina,required:true,listSize:8,tab:f1;采购单位",
78
- "buyUnitCount": "number(4),listSize:8,help:每采购单位包含的单品数量,tab:f2;采购单位数量",
79
- "shelflife": "number(5),listSize:14,help:保质期(天数),tab:f4;保质期(天数)"
80
- },
81
- "salesInfo": {
82
- "#meta": {
83
- "fieldLabel": "销售数据",
84
- "tab": "g",
85
- "position": "card"
86
- },
87
- "saleUnit": "string(6),inputType:letterChina,listSize:8,tab:g1;销售单位",
88
- "saleUnitCount": "number(6),listSize:8,tab:g2;销售单位数量"
89
- },
90
- "supplierInfo": [
91
- {
92
- "#meta": {
93
- "fieldLabel": "供应商",
94
- "tab": "h",
95
- "addMulti": {
96
- "linkId": "supplierId",
97
- "from": "id",
98
- "label": "选择供应商...",
99
- "dataSource": "/erp_supplier/handlers/list.jsx",
100
- "searchArgs": {
101
- },
102
- "fields": [
103
- "id",
104
- "name"
105
- ],
106
- "toFields": [
107
- "supplierId",
108
- "supplierName"
109
- ],
110
- "fieldLabels": [
111
- "供应商Id",
112
- "供应商"
113
- ],
114
- "fieldWidths": [
115
- 100,
116
- 120
117
- ]
118
- }
119
- },
120
- "supplierId": "linkId,dataSource:/erp_supplier/handlers/list.jsx,displayField:name,fields:id/name,toFields:supplierId/supplierName,searchable:true,listSize:12,tab:h1;供应商",
121
- "supplierName": "string(16),disabled:true,listSize:8,tab:h2;供应商名称",
122
- "supplyPrice": "number(8),inputType:number,listSize:8,tab:h3;供价",
123
- "startTime": "date,compare:<=|endTime,listSize:12,tab:h4;开始时间",
124
- "endTime": "date,compare:>=|startTime,listSize:12,tab:h5;结束时间",
125
- "bucklePoint": "number(4),inputType:number,listSize:8,tab:h6;扣点"
126
- }
127
- ],
128
- "channelInfo": [
129
- {
130
- "#meta": {
131
- "fieldLabel": "销售渠道",
132
- "tab": "i",
133
- "addMulti": {
134
- "linkId": "channelId",
135
- "from": "id",
136
- "label": "选择渠道...",
137
- "dataSource": "/erp_saleChannel/handlers/list.jsx",
138
- "searchArgs": {
139
- },
140
- "unique": true,
141
- "fields": [
142
- "id",
143
- "code",
144
- "name"
145
- ],
146
- "toFields": [
147
- "channelId",
148
- "code",
149
- "name"
150
- ],
151
- "fieldLabels": [
152
- "渠道Id",
153
- "渠道编码",
154
- "渠道名称"
155
- ],
156
- "fieldWidths": [
157
- 150,
158
- 120,
159
- 120
160
- ]
161
- }
162
- },
163
- "channelId": "string(16),listSize:12,disable:true,tab:h1;渠道Id",
164
- "code": "string(16),listSize:12,disable:true,tab:h2;渠道编码",
165
- "name": "string(16),listSize:12,disable:true,tab:h3;渠道名称",
166
- "percent": "number(6),listSize:8,inputType:number,min:0,max:100,tab:h4;分配百分比"
167
- }
168
- ],
169
- "inventoryInfo": [
170
- {
171
- "#meta": {
172
- "fieldLabel": "库存信息",
173
- "tab": "i",
174
- "type": "external",
175
- "dataSource": "/erp_inventory/handlers/list.jsx",
176
- "searchArgs": {
177
- "skuId": "@id"
178
- },
179
- "fields": [
180
- "warehouseName",
181
- "amount"
182
- ],
183
- "toFields": [
184
- "warehouseName",
185
- "amount"
186
- ]
187
- },
188
- "warehouseName": "string(16),listSize:20,disable:true,tab:i2;仓库",
189
- "amount": "number(6),listSize:8,disable:true,tab:i3;数量"
190
- }
191
- ],
192
- "channelnventoryInfo": [
193
- {
194
- "#meta": {
195
- "fieldLabel": "渠道库存信息",
196
- "tab": "j",
197
- "type": "external",
198
- "dataSource": "/erp_channelInventory/handlers/list.jsx",
199
- "searchArgs": {
200
- "skuId": "@id"
201
- },
202
- "fields": [
203
- "channelName",
204
- "amount",
205
- "freezeAmount"
206
- ],
207
- "toFields": [
208
- "channelName",
209
- "amount",
210
- "freezeAmount"
211
- ]
212
- },
213
- "channelName": "string(16),disable:true,tab:j2;渠道名称",
214
- "amount": "number(6),disable:true,listSize:8,tab:j3;数量",
215
- "freezeAmount":"number(6),disable:true,listSize:8,tab:j4;冻结数"
216
- }
217
- ],
218
- "_t": "sku",
219
- "#meta": {
220
- "rem": "物料",
221
- "parent": [
222
- "sku"
223
- ],
224
- "projectName": "物料",
225
- "visitType": [
226
- "shop",
227
- "warehouse",
228
- "platform"
229
- ],
230
- "pos": -1,
231
- "group": {
232
- "id": "mainData",
233
- "name": "主数据",
234
- "pos": 1
235
- },
236
- "project":"example",
237
- "export":[
238
- {
239
- "label":"导出完整单据",
240
- "mainTitleFormat":{"background":"#474747","color":"#cccccc"},
241
- "subTitleFormat":{"background":"#777777","color":"#ffffff"},
242
- "subRecordFormat":{"background":"#ffffff","color":"#000000"},
243
- "mainRecordFormat":{"background":"#555555","color":"#FFFFFF"},
244
- "key":"completeDoc",
245
- "fields":["*"],
246
- "items":{
247
- "name":"items",
248
- "itemFields":["*"]
249
- },
250
- "subTitleInterval":20
251
- }
252
- ]
253
- }
254
- }
@@ -1,50 +0,0 @@
1
- {
2
- "id": "string(32),tab:01,disabled:true;用户Id",
3
- "name": "string(16),tab:02,searchable:true;用户名字",
4
- "loginId":"string(16),tab:02,searchable:true,unique:true;登录Id",
5
- "passwordhash":"password,tab:03,searchable:false,hidden:true;密码",
6
- "random":"string(64),tab:03,searchable:false,hidden:true;密码",
7
- "isEnable":"choice,values:y_是/n_否,tab:04,searchable:true,hidden:false;是否有效",
8
- "mobile": "string(16),inputType:mobile,tab:03,searchable:true,unique:true;手机",
9
- "mobile_verified": "choice,values:y_是/n_否,tab:03,searchable:true;手机是否已经验证",
10
- "icon": "image,spec:160x160,size:5M,exts:png#jpg#gif#jpeg,tab:04,maxFileCount:5;头像",
11
- "email": "string(16),tab:05,searchable:true;邮件",
12
- "email_verified":"choice,values:y_是/n_否,tab:06,searchable:true;邮箱是否已验证",
13
- "qq": "string(16),tab:06,searchable:true;qq号",
14
- "qq_openId": "string(16),tab:06,searchable:true;qq openId",
15
- "qq_icon": "string(128),tab:06,searchable:true;qq 头像",
16
- "wechat": "string(32),tab:06,searchable:true;微信号",
17
- "wechat_openId": "string(16),tab:10;微信 openId",
18
- "wechat_icon": "string(128),tab:10;微信头像",
19
- "isFake":"choice,values:y_是/n_否,tab:11,hidden:true,searchable:true;是否马甲",
20
- "_t":"u",
21
- "#meta":{
22
- "rem":"用户",
23
- "parent":["platform"],
24
- "visitType": [
25
- "platform"
26
- ],
27
- "projectName":"用户",
28
- "project":"example",
29
- "export":[
30
- {
31
- "label":"导出完整",
32
- "mainTitleFormat":{"background":"#474747","color":"#cccccc"},
33
- "subTitleFormat":{"background":"#777777","color":"#ffffff"},
34
- "subRecordFormat":{"background":"#ffffff","color":"#000000"},
35
- "mainRecordFormat":{"background":"#555555","color":"#FFFFFF"},
36
- "key":"completeDoc",
37
- "fields":["*"]
38
- },
39
- {
40
- "label":"导出用户名",
41
- "mainTitleFormat":{"background":"#474747","color":"#cccccc"},
42
- "subTitleFormat":{"background":"#777777","color":"#ffffff"},
43
- "subRecordFormat":{"background":"#ffffff","color":"#000000"},
44
- "mainRecordFormat":{"background":"#555555","color":"#FFFFFF"},
45
- "key":"completeDoc",
46
- "fields":["name"]
47
- }
48
- ]
49
- }
50
- }