kmkf-work-order-service-component 0.5.0-alpha.8 → 0.5.0-alpha.9

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.
@@ -394,7 +394,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
394
394
  }), searchForm, /*#__PURE__*/_jsxs("div", {
395
395
  className: "custom_box_main_layout",
396
396
  children: [/*#__PURE__*/_jsx("main", {
397
- className: "custom_box_main custom_box_main_".concat(platform),
397
+ className: "custom_box_main",
398
398
  children: dataSource.length > 0 ? dataSource.map(function (item) {
399
399
  return /*#__PURE__*/_jsx(CustomizeWorkOrderCard, {
400
400
  item: item,
@@ -135,9 +135,9 @@
135
135
 
136
136
  .custom_box_main {
137
137
  margin-top: 8px;
138
- background-color: #fafafa;
139
- overflow: auto;
140
138
  margin-bottom: 40px;
139
+ overflow: auto;
140
+ background-color: #fafafa;
141
141
  }
142
142
 
143
143
  .custom_box_main_empty {
@@ -151,15 +151,15 @@
151
151
  }
152
152
 
153
153
  .custom_box_page {
154
- display: flex;
155
- justify-content: flex-end;
156
- width: 100%;
157
- background-color: #fff;
158
154
  position: absolute;
159
155
  bottom: 0;
160
- height: 40px;
156
+ display: flex;
161
157
  flex: 1;
162
158
  align-items: center;
159
+ justify-content: flex-end;
160
+ width: 100%;
161
+ height: 40px;
162
+ background-color: #fff;
163
163
  }
164
164
  .bottom-actions {
165
165
  display: flex;
@@ -175,7 +175,7 @@
175
175
  cursor: pointer;
176
176
  }
177
177
  .customizeSearch {
178
- padding: 8px;
178
+ padding: 8px 8px 0px 8px;
179
179
  background-color: #fff;
180
180
  transition: all 0.3s linear;
181
181
  .ant-form-item {
@@ -318,13 +318,13 @@ function PaymentWorkOrderCard(props) {
318
318
  }), /*#__PURE__*/_jsx("div", {
319
319
  className: "workOrderInfo",
320
320
  children: renderFormItem([{
321
- label: '提交时间:',
321
+ label: '提交时间:',
322
322
  value: moment(operateTime).format('YYYY-MM-DD HH:mm:ss')
323
323
  }, {
324
- label: '提交客服:',
324
+ label: '提交客服:',
325
325
  value: operateNick
326
326
  }, {
327
- label: '打款时间:',
327
+ label: '打款时间:',
328
328
  value: remitTime ? moment(remitTime).format('YYYY-MM-DD HH:mm:ss') : ''
329
329
  }])
330
330
  }), /*#__PURE__*/_jsx(Divider, {
@@ -335,22 +335,22 @@ function PaymentWorkOrderCard(props) {
335
335
  }), /*#__PURE__*/_jsxs("div", {
336
336
  className: "paymentInfo",
337
337
  children: [renderFormItem([{
338
- label: '打款金额:',
338
+ label: '打款金额:',
339
339
  value: "\xA5 ".concat(workPayFee)
340
340
  }, {
341
- label: '店铺名称:',
341
+ label: '店铺名称:',
342
342
  value: shopName
343
343
  }, {
344
- label: '买家昵称:',
344
+ label: '买家昵称:',
345
345
  value: buyerNick
346
346
  }, {
347
- label: '订单编号:',
347
+ label: '订单编号:',
348
348
  value: tid
349
349
  }, {
350
- label: '支付宝名称:',
350
+ label: '支付宝名称:',
351
351
  value: accountNickMix
352
352
  }, {
353
- label: '支付宝账号:',
353
+ label: '支付宝账号:',
354
354
  value: accountNoMix
355
355
  }]), /*#__PURE__*/_jsx(WorkOrderId, {
356
356
  label: "\u5DE5\u5355\u7F16\u53F7\uFF1A",
@@ -259,7 +259,8 @@ var PaymentWorkOrderList = function PaymentWorkOrderList(_ref) {
259
259
  return /*#__PURE__*/_jsxs("div", {
260
260
  className: "custom_box",
261
261
  style: {
262
- display: tabActive === 'payment' ? 'block' : 'none'
262
+ display: tabActive === 'payment' ? 'flex' : 'none',
263
+ flexDirection: 'column'
263
264
  },
264
265
  children: [/*#__PURE__*/_jsxs("div", {
265
266
  className: "bottom-actions",
@@ -275,9 +276,9 @@ var PaymentWorkOrderList = function PaymentWorkOrderList(_ref) {
275
276
  onClick: handleAddPaymentWorkOrder,
276
277
  children: "+\u65B0\u5EFA\u5DE5\u5355"
277
278
  })]
278
- }), searchForm, /*#__PURE__*/_jsx("div", {
279
- className: "payment_box_main payment_box_main_".concat(platform),
280
- children: payOrderList.length ? payOrderList.map(function (item) {
279
+ }), searchForm, /*#__PURE__*/_jsxs("div", {
280
+ className: "payment_box_main",
281
+ children: [payOrderList.length ? payOrderList.map(function (item) {
281
282
  return /*#__PURE__*/_jsx(PaymentWorkOrderCard, {
282
283
  record: item
283
284
  }, item.id);
@@ -291,21 +292,21 @@ var PaymentWorkOrderList = function PaymentWorkOrderList(_ref) {
291
292
  children: "\u6682\u65E0\u6570\u636E"
292
293
  })]
293
294
  })
294
- })
295
- }), /*#__PURE__*/_jsx("div", {
296
- className: "payment_box_page",
297
- children: /*#__PURE__*/_jsx(Pagination, {
298
- size: "small",
299
- showQuickJumper: true,
300
- showSizeChanger: false,
301
- showTotal: function showTotal(total) {
302
- return "\u5171".concat(total, "\u6761");
303
- },
304
- current: paySearch.pageNo,
305
- pageSize: paySearch.pageSize,
306
- total: total,
307
- onChange: onChangePage
308
- })
295
+ }), /*#__PURE__*/_jsx("div", {
296
+ className: "payment_box_page",
297
+ children: /*#__PURE__*/_jsx(Pagination, {
298
+ size: "small",
299
+ showQuickJumper: true,
300
+ showSizeChanger: false,
301
+ showTotal: function showTotal(total) {
302
+ return "\u5171".concat(total, "\u6761");
303
+ },
304
+ current: paySearch.pageNo,
305
+ pageSize: paySearch.pageSize,
306
+ total: total,
307
+ onChange: onChangePage
308
+ })
309
+ })]
309
310
  }), /*#__PURE__*/_jsx(ExamineModal, {}), /*#__PURE__*/_jsx(UnExamineModal, {}), /*#__PURE__*/_jsx(DeletePaymentWorkOrderModal, {}), /*#__PURE__*/_jsx(FlagPayModal, {}), /*#__PURE__*/_jsx(RecordModal, {
310
311
  width: platform === PlatForm.XIAOZHI ? '100%' : '90%'
311
312
  }), /*#__PURE__*/_jsx(PaymentFormModal, {
@@ -122,17 +122,13 @@
122
122
  }
123
123
 
124
124
  .payment_box_main {
125
- height: calc(100vh - 236px);
126
125
  overflow: auto;
127
126
  background-color: #fafafa;
128
- }
129
-
130
- .payment_box_main_fxg {
131
- height: calc(100vh - 340px);
132
- }
133
-
134
- .payment_box_main_ks {
135
- height: calc(100vh - 436px);
127
+ display: flex;
128
+ flex: 1 1 auto;
129
+ flex-direction: column;
130
+ justify-content: space-between;
131
+ overflow: auto;
136
132
  }
137
133
 
138
134
  .payment_box_page {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.5.0-alpha.8",
3
+ "version": "0.5.0-alpha.9",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",