kmkf-work-order-service-component 0.3.0 → 0.3.1
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/dist/esm/WorkOrder/components/CustomizeWorkOrderList/components/CustomizeFormModal/index.d.ts +1 -0
- package/dist/esm/WorkOrder/components/CustomizeWorkOrderList/components/CustomizeFormModal/index.js +3 -2
- package/dist/esm/WorkOrder/components/CustomizeWorkOrderList/index.js +1 -0
- package/package.json +1 -1
package/dist/esm/WorkOrder/components/CustomizeWorkOrderList/components/CustomizeFormModal/index.js
CHANGED
@@ -60,7 +60,8 @@ var CustomizeFormModal = function CustomizeFormModal(props) {
|
|
60
60
|
currentShopId = props.shopId,
|
61
61
|
orderNo = props.orderNo,
|
62
62
|
buyerId = props.buyerId,
|
63
|
-
buyerNick = props.buyerNick
|
63
|
+
buyerNick = props.buyerNick,
|
64
|
+
platform = props.platform;
|
64
65
|
|
65
66
|
var _useState = useState(false),
|
66
67
|
_useState2 = _slicedToArray(_useState, 2),
|
@@ -189,7 +190,7 @@ var CustomizeFormModal = function CustomizeFormModal(props) {
|
|
189
190
|
accessToken: get(find(shopList, function (s) {
|
190
191
|
return s.shopId === currentShopId;
|
191
192
|
}), 'accessToken', ''),
|
192
|
-
source: platformMap[
|
193
|
+
source: platformMap[platform] || '工单通'
|
193
194
|
};
|
194
195
|
_params.workOrderComponentVos = submitDataTransOldFormat(data, templateDetail, !!workOrderId, workOrderDetail, _params);
|
195
196
|
hasEnterPrisePayment = some(templateDetail === null || templateDetail === void 0 ? void 0 : templateDetail.componentDtoList, function (item) {
|