kmkf-work-order-service-component 0.3.0-alpha.4 → 0.3.0-alpha.6
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.
@@ -108,8 +108,6 @@ var StatusSelectModal = function StatusSelectModal() {
|
|
108
108
|
|
109
109
|
var handleAppointTo = /*#__PURE__*/function () {
|
110
110
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
111
|
-
var _record$jsonMap2;
|
112
|
-
|
113
111
|
var params, _yield$updateFlowStat, success, errMsg;
|
114
112
|
|
115
113
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
@@ -118,7 +116,7 @@ var StatusSelectModal = function StatusSelectModal() {
|
|
118
116
|
case 0:
|
119
117
|
params = {
|
120
118
|
updatedFlowStatus: status,
|
121
|
-
currentFlowStatus: record === null || record === void 0 ? void 0 :
|
119
|
+
currentFlowStatus: record === null || record === void 0 ? void 0 : record.flowStatus,
|
122
120
|
workOrderUniqueKeys: [record === null || record === void 0 ? void 0 : record.id]
|
123
121
|
};
|
124
122
|
_context.next = 3;
|
@@ -95,7 +95,7 @@ export var showImage = function showImage(_ref2) {
|
|
95
95
|
title: '商品编码',
|
96
96
|
text: item.outerId
|
97
97
|
}), type === 'itemThird' && (item.itemId || item.supplierItemOuterId) && /*#__PURE__*/_jsx(TextTool, {
|
98
|
-
title: '
|
98
|
+
title: '供应商编码',
|
99
99
|
text: item.itemId || item.supplierItemOuterId
|
100
100
|
}), type === 'itemThird' && item.supplierName && /*#__PURE__*/_jsx(TextTool, {
|
101
101
|
title: '供应商名称',
|
@@ -188,7 +188,7 @@ export var ShowTotalImage = function ShowTotalImage(_ref4) {
|
|
188
188
|
title: '商品编码',
|
189
189
|
text: i.outerId
|
190
190
|
}), type === 'itemThird' && (i.itemId || i.supplierItemOuterId) && /*#__PURE__*/_jsx(TextTool, {
|
191
|
-
title: '
|
191
|
+
title: '供应商编码',
|
192
192
|
text: i.itemId || i.supplierItemOuterId
|
193
193
|
}), type === 'itemThird' && i.supplierName && /*#__PURE__*/_jsx(TextTool, {
|
194
194
|
title: '供应商名称',
|
@@ -76,7 +76,7 @@ var ItemSelectThird = /*#__PURE__*/function (_BasicComponent) {
|
|
76
76
|
});
|
77
77
|
|
78
78
|
if (config.enableItemId && hasNotId) {
|
79
|
-
return Promise.reject(new Error('
|
79
|
+
return Promise.reject(new Error('请输入供应商编码'));
|
80
80
|
}
|
81
81
|
|
82
82
|
var hasNotName = (value || []).some(function (item) {
|
@@ -111,7 +111,7 @@ var ItemSelectThird = /*#__PURE__*/function (_BasicComponent) {
|
|
111
111
|
|
112
112
|
_defineProperty(_assertThisInitialized(_this), "renderExport", function (value, record) {
|
113
113
|
return value.map(function (item) {
|
114
|
-
return "\
|
114
|
+
return "\u4F9B\u5E94\u5546\u7F16\u7801:".concat(item.itemId || item.supplierItemOuterId || '', "\n\u4F9B\u5E94\u5546\u540D\u79F0:").concat(item.supplierName || '');
|
115
115
|
});
|
116
116
|
});
|
117
117
|
|
@@ -121,7 +121,7 @@ var ItemSelectThird = /*#__PURE__*/function (_BasicComponent) {
|
|
121
121
|
});
|
122
122
|
});
|
123
123
|
|
124
|
-
_this.name = '
|
124
|
+
_this.name = '供应商编码/名称';
|
125
125
|
_this.width = 340;
|
126
126
|
_this.canFilter = false;
|
127
127
|
_this.canGroup = false;
|