Auto Submit

dev_local_v9_test4
autosubmit 1 year ago
parent 920b965443
commit d4989087f8

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[11684,81721,7573,50935,69222,42123,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[11684,81721,50935,69222,42123,26314],{
/***/ 21646:
/*!**************************************************************************************************************!*\

@ -1,5 +1,50 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[7573,50935,69222,42123,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[76375,46208,25777,43726,28943,69103,24064,65105,53941,20993,6302,90935,69909,89306,15141,28244,13300,7077,96004,23003,6572,62573,26314],{
/***/ 14726:
/*!*******************************************************************************************************************!*\
!*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***!
\*******************************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ icons_ExclamationCircleOutlined; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(16378);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js
// This icon file is generated automatically.
var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" };
/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(31533);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/ExclamationCircleOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_ExclamationCircleOutlined
}));
};
/**![exclamation-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnoiIC8+PHBhdGggZD0iTTQ2NCA2ODhhNDggNDggMCAxMDk2IDAgNDggNDggMCAxMC05NiAwem0yNC0xMTJoNDhjNC40IDAgOC0zLjYgOC04VjI5NmMwLTQuNC0zLjYtOC04LThoLTQ4Yy00LjQgMC04IDMuNi04IDh2MjcyYzAgNC40IDMuNiA4IDggOHoiIC8+PC9zdmc+) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined);
if (false) {}
/* harmony default export */ var icons_ExclamationCircleOutlined = (RefIcon);
/***/ }),
/***/ 21646:
/*!**************************************************************************************************************!*\
@ -154,6 +199,683 @@ function useForceUpdate() {
/***/ }),
/***/ 24905:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules ***!
\************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ es_checkbox; }
});
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_rc-checkbox@3.1.0@rc-checkbox/es/index.js
var es = __webpack_require__(5630);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var config_provider_context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/DisabledContext.js
var DisabledContext = __webpack_require__(1684);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/context.js
var context = __webpack_require__(32441);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/GroupContext.js
const GroupContext = /*#__PURE__*/_react_17_0_2_react.createContext(null);
/* harmony default export */ var checkbox_GroupContext = (GroupContext);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/style/index.js
var checkbox_style = __webpack_require__(98447);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules
var wave = __webpack_require__(14088);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/interface.js
var wave_interface = __webpack_require__(4572);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/Checkbox.js
"use client";
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const InternalCheckbox = (props, ref) => {
var _a;
const {
prefixCls: customizePrefixCls,
className,
rootClassName,
children,
indeterminate = false,
style,
onMouseEnter,
onMouseLeave,
skipGroup = false,
disabled
} = props,
restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]);
const {
getPrefixCls,
direction,
checkbox
} = _react_17_0_2_react.useContext(config_provider_context/* ConfigContext */.E_);
const checkboxGroup = _react_17_0_2_react.useContext(checkbox_GroupContext);
const {
isFormItemInput
} = _react_17_0_2_react.useContext(context/* FormItemInputContext */.aM);
const contextDisabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z);
const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled;
const prevValue = _react_17_0_2_react.useRef(restProps.value);
_react_17_0_2_react.useEffect(() => {
checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value);
false ? 0 : void 0;
}, []);
_react_17_0_2_react.useEffect(() => {
if (skipGroup) {
return;
}
if (restProps.value !== prevValue.current) {
checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current);
checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value);
prevValue.current = restProps.value;
}
return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value);
}, [restProps.value]);
const prefixCls = getPrefixCls('checkbox', customizePrefixCls);
const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls);
const checkboxProps = Object.assign({}, restProps);
if (checkboxGroup && !skipGroup) {
checkboxProps.onChange = function () {
if (restProps.onChange) {
restProps.onChange.apply(restProps, arguments);
}
if (checkboxGroup.toggleOption) {
checkboxGroup.toggleOption({
label: children,
value: restProps.value
});
}
};
checkboxProps.name = checkboxGroup.name;
checkboxProps.checked = checkboxGroup.value.includes(restProps.value);
}
const classString = _classnames_2_5_1_classnames_default()(`${prefixCls}-wrapper`, {
[`${prefixCls}-rtl`]: direction === 'rtl',
[`${prefixCls}-wrapper-checked`]: checkboxProps.checked,
[`${prefixCls}-wrapper-disabled`]: mergedDisabled,
[`${prefixCls}-wrapper-in-form-item`]: isFormItemInput
}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId);
const checkboxClass = _classnames_2_5_1_classnames_default()({
[`${prefixCls}-indeterminate`]: indeterminate
}, wave_interface/* TARGET_CLS */.A, hashId);
const ariaChecked = indeterminate ? 'mixed' : undefined;
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, {
component: "Checkbox",
disabled: mergedDisabled
}, /*#__PURE__*/_react_17_0_2_react.createElement("label", {
className: classString,
style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style),
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave
}, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, Object.assign({
"aria-checked": ariaChecked
}, checkboxProps, {
prefixCls: prefixCls,
className: checkboxClass,
disabled: mergedDisabled,
ref: ref
})), children !== undefined && /*#__PURE__*/_react_17_0_2_react.createElement("span", null, children))));
};
const Checkbox = /*#__PURE__*/_react_17_0_2_react.forwardRef(InternalCheckbox);
if (false) {}
/* harmony default export */ var checkbox_Checkbox = (Checkbox);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
var toConsumableArray = __webpack_require__(65093);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js
var omit = __webpack_require__(64002);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/Group.js
"use client";
var Group_rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const InternalGroup = (props, ref) => {
const {
defaultValue,
children,
options = [],
prefixCls: customizePrefixCls,
className,
rootClassName,
style,
onChange
} = props,
restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]);
const {
getPrefixCls,
direction
} = _react_17_0_2_react.useContext(config_provider_context/* ConfigContext */.E_);
const [value, setValue] = _react_17_0_2_react.useState(restProps.value || defaultValue || []);
const [registeredValues, setRegisteredValues] = _react_17_0_2_react.useState([]);
_react_17_0_2_react.useEffect(() => {
if ('value' in restProps) {
setValue(restProps.value || []);
}
}, [restProps.value]);
const memoOptions = _react_17_0_2_react.useMemo(() => options.map(option => {
if (typeof option === 'string' || typeof option === 'number') {
return {
label: option,
value: option
};
}
return option;
}), [options]);
const cancelValue = val => {
setRegisteredValues(prevValues => prevValues.filter(v => v !== val));
};
const registerValue = val => {
setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]));
};
const toggleOption = option => {
const optionIndex = value.indexOf(option.value);
const newValue = (0,toConsumableArray/* default */.Z)(value);
if (optionIndex === -1) {
newValue.push(option.value);
} else {
newValue.splice(optionIndex, 1);
}
if (!('value' in restProps)) {
setValue(newValue);
}
onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => {
const indexA = memoOptions.findIndex(opt => opt.value === a);
const indexB = memoOptions.findIndex(opt => opt.value === b);
return indexA - indexB;
}));
};
const prefixCls = getPrefixCls('checkbox', customizePrefixCls);
const groupPrefixCls = `${prefixCls}-group`;
const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls);
const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']);
const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/_react_17_0_2_react.createElement(checkbox_Checkbox, {
prefixCls: prefixCls,
key: option.value.toString(),
disabled: 'disabled' in option ? option.disabled : restProps.disabled,
value: option.value,
checked: value.includes(option.value),
onChange: option.onChange,
className: `${groupPrefixCls}-item`,
style: option.style,
title: option.title
}, option.label)) : children;
// eslint-disable-next-line react/jsx-no-constructed-context-values
const context = {
toggleOption,
value,
disabled: restProps.disabled,
name: restProps.name,
// https://github.com/ant-design/ant-design/issues/16376
registerValue,
cancelValue
};
const classString = _classnames_2_5_1_classnames_default()(groupPrefixCls, {
[`${groupPrefixCls}-rtl`]: direction === 'rtl'
}, className, rootClassName, hashId);
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
className: classString,
style: style
}, domProps, {
ref: ref
}), /*#__PURE__*/_react_17_0_2_react.createElement(checkbox_GroupContext.Provider, {
value: context
}, childrenNode)));
};
const CheckboxGroup = /*#__PURE__*/_react_17_0_2_react.forwardRef(InternalGroup);
/* harmony default export */ var Group = (/*#__PURE__*/_react_17_0_2_react.memo(CheckboxGroup));
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js
"use client";
const es_checkbox_Checkbox = checkbox_Checkbox;
es_checkbox_Checkbox.Group = Group;
es_checkbox_Checkbox.__ANT_CHECKBOX = true;
if (false) {}
/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox);
/***/ }),
/***/ 98447:
/*!******************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/checkbox/style/index.js ***!
\******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ C2: function() { return /* binding */ getStyle; }
/* harmony export */ });
/* unused harmony export genCheckboxStyle */
/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 17313);
/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../theme/internal */ 37613);
/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 83116);
// ============================== Styles ==============================
const genCheckboxStyle = token => {
const {
checkboxCls
} = token;
const wrapperCls = `${checkboxCls}-wrapper`;
return [
// ===================== Basic =====================
{
// Group
[`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), {
display: 'inline-flex',
flexWrap: 'wrap',
columnGap: token.marginXS,
// Group > Grid
[`> ${token.antCls}-row`]: {
flex: 1
}
}),
// Wrapper
[wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), {
display: 'inline-flex',
alignItems: 'baseline',
cursor: 'pointer',
// Fix checkbox & radio in flex align #30260
'&:after': {
display: 'inline-block',
width: 0,
overflow: 'hidden',
content: "'\\a0'"
},
// Checkbox near checkbox
[`& + ${wrapperCls}`]: {
marginInlineStart: 0
},
[`&${wrapperCls}-in-form-item`]: {
'input[type="checkbox"]': {
width: 14,
height: 14 // FIXME: magic
}
}
}),
// Wrapper > Checkbox
[checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), {
position: 'relative',
whiteSpace: 'nowrap',
lineHeight: 1,
cursor: 'pointer',
borderRadius: token.borderRadiusSM,
// To make alignment right when `controlHeight` is changed
// Ref: https://github.com/ant-design/ant-design/issues/41564
alignSelf: 'center',
// Wrapper > Checkbox > input
[`${checkboxCls}-input`]: {
position: 'absolute',
// Since baseline align will get additional space offset,
// we need to move input to top to make it align with text.
// Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799
inset: 0,
zIndex: 1,
cursor: 'pointer',
opacity: 0,
margin: 0,
[`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .genFocusOutline */ .oN)(token))
},
// Wrapper > Checkbox > inner
[`${checkboxCls}-inner`]: {
boxSizing: 'border-box',
position: 'relative',
top: 0,
insetInlineStart: 0,
display: 'block',
width: token.checkboxSize,
height: token.checkboxSize,
direction: 'ltr',
backgroundColor: token.colorBgContainer,
border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`,
borderRadius: token.borderRadiusSM,
borderCollapse: 'separate',
transition: `all ${token.motionDurationSlow}`,
'&:after': {
boxSizing: 'border-box',
position: 'absolute',
top: '50%',
insetInlineStart: '21.5%',
display: 'table',
width: token.checkboxSize / 14 * 5,
height: token.checkboxSize / 14 * 8,
border: `${token.lineWidthBold}px solid ${token.colorWhite}`,
borderTop: 0,
borderInlineStart: 0,
transform: 'rotate(45deg) scale(0) translate(-50%,-50%)',
opacity: 0,
content: '""',
transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}`
}
},
// Wrapper > Checkbox + Text
'& + span': {
paddingInlineStart: token.paddingXS,
paddingInlineEnd: token.paddingXS
}
})
},
// ===================== Hover =====================
{
// Wrapper & Wrapper > Checkbox
[`
${wrapperCls}:not(${wrapperCls}-disabled),
${checkboxCls}:not(${checkboxCls}-disabled)
`]: {
[`&:hover ${checkboxCls}-inner`]: {
borderColor: token.colorPrimary
}
},
[`${wrapperCls}:not(${wrapperCls}-disabled)`]: {
[`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: {
backgroundColor: token.colorPrimaryHover,
borderColor: 'transparent'
},
[`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: {
borderColor: token.colorPrimaryHover
}
}
},
// ==================== Checked ====================
{
// Wrapper > Checkbox
[`${checkboxCls}-checked`]: {
[`${checkboxCls}-inner`]: {
backgroundColor: token.colorPrimary,
borderColor: token.colorPrimary,
'&:after': {
opacity: 1,
transform: 'rotate(45deg) scale(1) translate(-50%,-50%)',
transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}`
}
}
},
[`
${wrapperCls}-checked:not(${wrapperCls}-disabled),
${checkboxCls}-checked:not(${checkboxCls}-disabled)
`]: {
[`&:hover ${checkboxCls}-inner`]: {
backgroundColor: token.colorPrimaryHover,
borderColor: 'transparent'
}
}
},
// ================= Indeterminate =================
{
[checkboxCls]: {
'&-indeterminate': {
// Wrapper > Checkbox > inner
[`${checkboxCls}-inner`]: {
backgroundColor: token.colorBgContainer,
borderColor: token.colorBorder,
'&:after': {
top: '50%',
insetInlineStart: '50%',
width: token.fontSizeLG / 2,
height: token.fontSizeLG / 2,
backgroundColor: token.colorPrimary,
border: 0,
transform: 'translate(-50%, -50%) scale(1)',
opacity: 1,
content: '""'
}
}
}
}
},
// ==================== Disable ====================
{
// Wrapper
[`${wrapperCls}-disabled`]: {
cursor: 'not-allowed'
},
// Wrapper > Checkbox
[`${checkboxCls}-disabled`]: {
// Wrapper > Checkbox > input
[`&, ${checkboxCls}-input`]: {
cursor: 'not-allowed',
// Disabled for native input to enable Tooltip event handler
// ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901
pointerEvents: 'none'
},
// Wrapper > Checkbox > inner
[`${checkboxCls}-inner`]: {
background: token.colorBgContainerDisabled,
borderColor: token.colorBorder,
'&:after': {
borderColor: token.colorTextDisabled
}
},
'&:after': {
display: 'none'
},
'& + span': {
color: token.colorTextDisabled
},
[`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: {
background: token.colorTextDisabled
}
}
}];
};
// ============================== Export ==============================
function getStyle(prefixCls, token) {
const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_1__/* .merge */ .TS)(token, {
checkboxCls: `.${prefixCls}`,
checkboxSize: token.controlInteractiveSize
});
return [genCheckboxStyle(checkboxToken)];
}
/* harmony default export */ __webpack_exports__.ZP = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)('Checkbox', (token, _ref) => {
let {
prefixCls
} = _ref;
return [getStyle(prefixCls, token)];
}));
/***/ }),
/***/ 38854:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***!
\************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ es_dropdown; }
});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js
var dropdown = __webpack_require__(91857);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules
var EllipsisOutlined = __webpack_require__(24764);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules
var space = __webpack_require__(81327);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules
var style = __webpack_require__(47211);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.js
"use client";
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const DropdownButton = props => {
const {
getPopupContainer: getContextPopupContainer,
getPrefixCls,
direction
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const {
prefixCls: customizePrefixCls,
type = 'default',
danger,
disabled,
loading,
onClick,
htmlType,
children,
className,
menu,
arrow,
autoFocus,
overlay,
trigger,
align,
open,
onOpenChange,
placement,
getPopupContainer,
href,
icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null),
title,
buttonsRender = buttons => buttons,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
} = props,
restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]);
const prefixCls = getPrefixCls('dropdown', customizePrefixCls);
const buttonPrefixCls = `${prefixCls}-button`;
const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls);
const dropdownProps = {
menu,
arrow,
autoFocus,
align,
disabled,
trigger: disabled ? [] : trigger,
onOpenChange,
getPopupContainer: getPopupContainer || getContextPopupContainer,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
};
const {
compactSize,
compactItemClassnames
} = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId);
if ('overlay' in props) {
dropdownProps.overlay = overlay;
}
if ('open' in props) {
dropdownProps.open = open;
}
if ('placement' in props) {
dropdownProps.placement = placement;
} else {
dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight';
}
const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
disabled: disabled,
loading: loading,
onClick: onClick,
htmlType: htmlType,
href: href,
title: title
}, children);
const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
icon: icon
});
const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]);
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({
className: classes,
size: compactSize,
block: true
}, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender)));
};
DropdownButton.__ANT_BUTTON = true;
/* harmony default export */ var dropdown_button = (DropdownButton);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js
"use client";
const Dropdown = dropdown/* default */.Z;
Dropdown.Button = dropdown_button;
/* harmony default export */ var es_dropdown = (Dropdown);
/***/ }),
/***/ 92832:
/*!*********************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules ***!
@ -768,30 +1490,183 @@ if (false) {}
/***/ }),
/***/ 8378:
/*!*******************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/style/motion/collapse.js ***!
\*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
const genCollapseMotion = token => ({
[token.componentCls]: {
// For common/openAnimation
[`${token.antCls}-motion-collapse-legacy`]: {
overflow: 'hidden',
'&-active': {
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
},
[`${token.antCls}-motion-collapse`]: {
overflow: 'hidden',
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
/***/ 81327:
/*!*********************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ space; }
});
// UNUSED EXPORTS: SpaceContext
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/Children/toArray.js
var toArray = __webpack_require__(38298);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/context.js
const SpaceContext = /*#__PURE__*/_react_17_0_2_react.createContext({
latestIndex: 0
});
const SpaceContextProvider = SpaceContext.Provider;
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Item.js
"use client";
const Item = _ref => {
let {
className,
index,
children,
split,
style
} = _ref;
const {
latestIndex
} = _react_17_0_2_react.useContext(SpaceContext);
if (children === null || children === undefined) {
return null;
}
return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: className,
style: style
}, children), index < latestIndex && split && /*#__PURE__*/_react_17_0_2_react.createElement("span", {
className: `${className}-split`
}, split));
};
/* harmony default export */ var space_Item = (Item);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/index.js + 1 modules
var space_style = __webpack_require__(2856);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/utils.js
function isPresetSize(size) {
return ['small', 'middle', 'large'].includes(size);
}
function isValidGapNumber(size) {
if (!size) {
// The case of size = 0 is deliberately excluded here, because the default value of the gap attribute in CSS is 0, so if the user passes 0 in, we can directly ignore it.
return false;
}
return typeof size === 'number' && !Number.isNaN(size);
}
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js
"use client";
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
const Space = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
var _a, _b;
const {
getPrefixCls,
space,
direction: directionConfig
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const {
size = (space === null || space === void 0 ? void 0 : space.size) || 'small',
align,
className,
rootClassName,
children,
direction = 'horizontal',
prefixCls: customizePrefixCls,
split,
style,
wrap = false,
classNames: customClassNames,
styles
} = props,
otherProps = __rest(props, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]);
const [horizontalSize, verticalSize] = Array.isArray(size) ? size : [size, size];
const isPresetVerticalSize = isPresetSize(verticalSize);
const isPresetHorizontalSize = isPresetSize(horizontalSize);
const isValidVerticalSize = isValidGapNumber(verticalSize);
const isValidHorizontalSize = isValidGapNumber(horizontalSize);
const childNodes = (0,toArray/* default */.Z)(children, {
keepEmpty: true
});
const mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;
const prefixCls = getPrefixCls('space', customizePrefixCls);
const [wrapSSR, hashId] = (0,space_style/* default */.Z)(prefixCls);
const cls = _classnames_2_5_1_classnames_default()(prefixCls, space === null || space === void 0 ? void 0 : space.className, hashId, `${prefixCls}-${direction}`, {
[`${prefixCls}-rtl`]: directionConfig === 'rtl',
[`${prefixCls}-align-${mergedAlign}`]: mergedAlign,
[`${prefixCls}-gap-row-${verticalSize}`]: isPresetVerticalSize,
[`${prefixCls}-gap-col-${horizontalSize}`]: isPresetHorizontalSize
}, className, rootClassName);
const itemClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-item`, (_a = customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.classNames) === null || _b === void 0 ? void 0 : _b.item);
// Calculate latest one
let latestIndex = 0;
const nodes = childNodes.map((child, i) => {
var _a, _b;
if (child !== null && child !== undefined) {
latestIndex = i;
}
const key = child && child.key || `${itemClassName}-${i}`;
return /*#__PURE__*/_react_17_0_2_react.createElement(space_Item, {
className: itemClassName,
key: key,
index: i,
split: split,
style: (_a = styles === null || styles === void 0 ? void 0 : styles.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.styles) === null || _b === void 0 ? void 0 : _b.item
}, child);
});
const spaceContext = _react_17_0_2_react.useMemo(() => ({
latestIndex
}), [latestIndex]);
// =========================== Render ===========================
if (childNodes.length === 0) {
return null;
}
const gapStyle = {};
if (wrap) {
gapStyle.flexWrap = 'wrap';
}
if (!isPresetHorizontalSize && isValidHorizontalSize) {
gapStyle.columnGap = horizontalSize;
}
if (!isPresetVerticalSize && isValidVerticalSize) {
gapStyle.rowGap = verticalSize;
}
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
ref: ref,
className: cls,
style: Object.assign(Object.assign(Object.assign({}, gapStyle), space === null || space === void 0 ? void 0 : space.style), style)
}, otherProps), /*#__PURE__*/_react_17_0_2_react.createElement(SpaceContextProvider, {
value: spaceContext
}, nodes)));
});
/* harmony default export */ __webpack_exports__.Z = (genCollapseMotion);
if (false) {}
const CompoundedSpace = Space;
CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony default export */ var space = (CompoundedSpace);
/***/ }),

@ -12,7 +12,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<meta http-equiv="Cache-Control" content="no-transform">
<title>头歌实践教学平台</title>
<link rel="stylesheet" href="/react/build/umi.6f65e047.css">
<link rel="stylesheet" href="/react/build/umi.bcb4c191.css">
<script src="/react/build/js/polyfill.min.js"></script>
</head>
<body>
@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.3e427b97.js"></script>
<script src="/react/build/umi.5e9065af.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -177,9 +177,12 @@ var EditModal = function EditModal(_ref) {
centered: true,
keyboard: false,
destroyOnClose: true,
className: EditModalmodules.my_modal,
open: openEditModal,
title: "".concat(centerId ? '编辑' : '增加', "\u5165\u8D26\u5355"),
className: "".concat(EditModalmodules.my_modal, " modalXazy"),
closeIcon: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-fanhui"
}),
width: "790px",
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _ruleForm$getFieldVal;
@ -628,6 +631,10 @@ var Navigation = function Navigation(_ref) {
display: 'none'
}
},
className: "modalXazy",
closeIcon: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-fanhui"
}),
width: 600,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {

@ -1,592 +0,0 @@
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Materials/ItemAssetsList/CreateItemAssets/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___DmOGS {
width: 1200px;
margin: 20px auto 40px auto;
}
.wrap___DmOGS .back_style___TmAJ9 {
color: #999;
margin: 10px 0 15px 0;
cursor: pointer;
}
.wrap___DmOGS .back_style_span___xb3Ua {
cursor: pointer;
}
.wrap___DmOGS .back_style_span___xb3Ua:hover {
color: #165DFF;
}
.wrap___DmOGS .header___Jryyz {
background: #FFFFFF;
border-radius: 4px;
padding: 30px 30px 30px 0;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
width: 140px !important;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #666 !important;
display: block !important;
line-height: 40px !important;
padding-right: 5px !important;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 .guize_select___Uq_oh {
width: 96px;
height: 32px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #3061D0;
line-height: 30px;
text-align: left;
font-style: normal;
text-align: center;
cursor: pointer;
margin-top: 4px;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 .guize_update___jNBfj {
width: 48px;
height: 22px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #FFFFFF;
line-height: 22px;
text-align: left;
font-style: normal;
cursor: pointer;
text-align: center;
margin-top: 9px;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 .shangchuan_button___FGARg {
width: 118px;
height: 32px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #3061D0;
line-height: 32px;
text-align: left;
font-style: normal;
text-align: center;
cursor: pointer;
margin-top: 4px;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 .shangchuan_img___molWX {
width: 300px;
height: 156px;
background: #F5F5F5;
border-radius: 1px;
position: relative;
margin-top: 20px;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 .shangchuan_close___VkAWB {
position: absolute;
top: 5px;
right: 10px;
color: #FF5555;
cursor: pointer;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #666 !important;
display: block !important;
line-height: 40px !important;
padding-right: 5px !important;
}
.wrap___DmOGS .header___Jryyz .header_form___Vnph8 [class~='ant-upload'] {
margin-top: 5px !important;
}
.wrap___DmOGS .header___Jryyz .close_button___SDAUv {
width: 64px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
border: 1px solid #C3CFE0;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #464F66;
line-height: 32px;
text-align: left;
font-style: normal;
cursor: pointer;
text-align: center;
margin-left: auto;
}
.wrap___DmOGS .header___Jryyz .submit_button___IGPOo {
width: 64px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #FFFFFF;
line-height: 32px;
text-align: left;
font-style: normal;
cursor: pointer;
text-align: center;
margin-left: 20px;
}
.add_button___Jz6GY {
width: 116px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #FFFFFF;
line-height: 32px;
font-style: normal;
text-align: center;
cursor: pointer;
position: absolute;
top: 5px;
right: 0;
}
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Materials/ItemAssetsList/CreateItemAssets/UpdateAvatarModal/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.modal___GMdv5 {
display: flex;
flex-direction: row;
}
.avatarWrap___k2FvQ {
border: 1px solid #eee;
}
.tip___dUCZq {
color: #9b9b9b;
margin-top: 4px;
font-size: 14px;
}
.previewWrap___Lbfik {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 320px;
align-items: center;
margin-left: 36px;
}
.previewImg___CIcte {
overflow: hidden;
background-color: #fff;
text-align: center;
width: 120px !important;
height: 60px !important;
border: 1px #eee solid;
}
.uploadButton___AUTsw {
color: #0152d9;
border: 1px solid #0152d9;
padding: 2px 18px;
cursor: pointer;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./node_modules/_cropperjs@1.6.2@cropperjs/dist/cropper.css ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************/
/*!
* Cropper.js v1.6.2
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2024-04-21T07:43:02.731Z
*/
.cropper-container {
direction: ltr;
font-size: 0;
line-height: 0;
position: relative;
touch-action: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.cropper-container img {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
display: block;
height: 100%;
image-orientation: 0deg;
max-height: none !important;
max-width: none !important;
min-height: 0 !important;
min-width: 0 !important;
width: 100%;
}
.cropper-wrap-box,
.cropper-canvas,
.cropper-drag-box,
.cropper-crop-box,
.cropper-modal {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
}
.cropper-wrap-box,
.cropper-canvas {
overflow: hidden;
}
.cropper-drag-box {
background-color: #fff;
opacity: 0;
}
.cropper-modal {
background-color: #000;
opacity: 0.5;
}
.cropper-view-box {
display: block;
height: 100%;
outline: 1px solid #39f;
outline-color: rgba(51, 153, 255, 0.75);
overflow: hidden;
width: 100%;
}
.cropper-dashed {
border: 0 dashed #eee;
display: block;
opacity: 0.5;
position: absolute;
}
.cropper-dashed.dashed-h {
border-bottom-width: 1px;
border-top-width: 1px;
height: calc(100% / 3);
left: 0;
top: calc(100% / 3);
width: 100%;
}
.cropper-dashed.dashed-v {
border-left-width: 1px;
border-right-width: 1px;
height: 100%;
left: calc(100% / 3);
top: 0;
width: calc(100% / 3);
}
.cropper-center {
display: block;
height: 0;
left: 50%;
opacity: 0.75;
position: absolute;
top: 50%;
width: 0;
}
.cropper-center::before,
.cropper-center::after {
background-color: #eee;
content: ' ';
display: block;
position: absolute;
}
.cropper-center::before {
height: 1px;
left: -3px;
top: 0;
width: 7px;
}
.cropper-center::after {
height: 7px;
left: 0;
top: -3px;
width: 1px;
}
.cropper-face,
.cropper-line,
.cropper-point {
display: block;
height: 100%;
opacity: 0.1;
position: absolute;
width: 100%;
}
.cropper-face {
background-color: #fff;
left: 0;
top: 0;
}
.cropper-line {
background-color: #39f;
}
.cropper-line.line-e {
cursor: ew-resize;
right: -3px;
top: 0;
width: 5px;
}
.cropper-line.line-n {
cursor: ns-resize;
height: 5px;
left: 0;
top: -3px;
}
.cropper-line.line-w {
cursor: ew-resize;
left: -3px;
top: 0;
width: 5px;
}
.cropper-line.line-s {
bottom: -3px;
cursor: ns-resize;
height: 5px;
left: 0;
}
.cropper-point {
background-color: #39f;
height: 5px;
opacity: 0.75;
width: 5px;
}
.cropper-point.point-e {
cursor: ew-resize;
margin-top: -3px;
right: -3px;
top: 50%;
}
.cropper-point.point-n {
cursor: ns-resize;
left: 50%;
margin-left: -3px;
top: -3px;
}
.cropper-point.point-w {
cursor: ew-resize;
left: -3px;
margin-top: -3px;
top: 50%;
}
.cropper-point.point-s {
bottom: -3px;
cursor: s-resize;
left: 50%;
margin-left: -3px;
}
.cropper-point.point-ne {
cursor: nesw-resize;
right: -3px;
top: -3px;
}
.cropper-point.point-nw {
cursor: nwse-resize;
left: -3px;
top: -3px;
}
.cropper-point.point-sw {
bottom: -3px;
cursor: nesw-resize;
left: -3px;
}
.cropper-point.point-se {
bottom: -3px;
cursor: nwse-resize;
height: 20px;
opacity: 1;
right: -3px;
width: 20px;
}
@media (min-width: 768px) {
.cropper-point.point-se {
height: 15px;
width: 15px;
}
}
@media (min-width: 992px) {
.cropper-point.point-se {
height: 10px;
width: 10px;
}
}
@media (min-width: 1200px) {
.cropper-point.point-se {
height: 5px;
opacity: 0.75;
width: 5px;
}
}
.cropper-point.point-se::before {
background-color: #39f;
bottom: -50%;
content: ' ';
display: block;
height: 200%;
opacity: 0;
position: absolute;
right: -50%;
width: 200%;
}
.cropper-invisible {
opacity: 0;
}
.cropper-bg {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC);
}
.cropper-hide {
display: block;
height: 0;
position: absolute;
width: 0;
}
.cropper-hidden {
display: none !important;
}
.cropper-move {
cursor: move;
}
.cropper-crop {
cursor: crosshair;
}
.cropper-disabled .cropper-drag-box,
.cropper-disabled .cropper-face,
.cropper-disabled .cropper-line,
.cropper-disabled .cropper-point {
cursor: not-allowed;
}
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.upload_button {
width: 108px;
height: 32px;
background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3061D0;
display: inline-block;
text-align: center;
align-items: center;
align-content: center;
}
.upload_button .aBtn_img {
width: 14px;
height: 14px;
margin-top: -3px;
margin-right: 8px;
}
.upload_button:hover {
width: 108px;
background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3061D0;
}
.disable_upload_button {
width: 108px;
height: 32px;
background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
}
.disable_upload_button .aBtn_img {
width: 14px;
height: 14px;
margin-top: -3px;
margin-right: 8px;
}
.upload_button:active {
width: 108px;
height: 32px;
background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3061D0;
}
.upload_text {
width: 129px;
height: 20px;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #5F6367;
line-height: 20px;
margin-left: 16px;
}

File diff suppressed because one or more lines are too long

@ -45,7 +45,7 @@ var input_number = __webpack_require__(88897);
var message = __webpack_require__(8591);
;// CONCATENATED MODULE: ./src/pages/Materials/ItemAssetsList/CreateItemAssets/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var CreateItemAssetsmodules = ({"wrap":"wrap___DmOGS","back_style":"back_style___TmAJ9","back_style_span":"back_style_span___xb3Ua","header":"header___Jryyz","header_form":"header_form___Vnph8","guize_select":"guize_select___Uq_oh","guize_update":"guize_update___jNBfj","shangchuan_button":"shangchuan_button___FGARg","shangchuan_img":"shangchuan_img___molWX","shangchuan_close":"shangchuan_close___VkAWB","close_button":"close_button___SDAUv","submit_button":"submit_button___IGPOo","add_button":"add_button___Jz6GY"});
/* harmony default export */ var CreateItemAssetsmodules = ({"wrap":"wrap___DmOGS","back_style":"back_style___TmAJ9","header":"header___Jryyz","header_form":"header_form___Vnph8","guize_select":"guize_select___Uq_oh","guize_update":"guize_update___jNBfj","shangchuan_button":"shangchuan_button___FGARg","shangchuan_img":"shangchuan_img___molWX","shangchuan_close":"shangchuan_close___VkAWB","close_button":"close_button___SDAUv","submit_button":"submit_button___IGPOo","add_button":"add_button___Jz6GY","reportWrp":"reportWrp___OxbIu","reportContent":"reportContent___xJU5q"});
// EXTERNAL MODULE: ./src/service/laboratory.ts
var service_laboratory = __webpack_require__(39531);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
@ -244,6 +244,8 @@ var roomInitImgMaterials = __webpack_require__(3416);
var markdown_editor = __webpack_require__(92042);
// EXTERNAL MODULE: ./src/service/materials.ts
var materials = __webpack_require__(80231);
// EXTERNAL MODULE: ./src/components/HeaderNav/index.tsx + 4 modules
var HeaderNav = __webpack_require__(59827);
;// CONCATENATED MODULE: ./src/pages/Materials/ItemAssetsList/CreateItemAssets/index.tsx
@ -263,6 +265,8 @@ var materials = __webpack_require__(80231);
var logo = __webpack_require__(/*! @/../public/images/materials/logo.png */ 12017);
var Navigation = function Navigation(_ref) {
var _account$actionTabs;
var loading = _ref.loading,
@ -410,355 +414,365 @@ var Navigation = function Navigation(_ref) {
setRoomImg(box);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CreateItemAssetsmodules.wrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CreateItemAssetsmodules.back_style,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: CreateItemAssetsmodules.back_style_span,
onClick: function onClick() {
_umi_production_exports.history.push('/materials/itemAssetsList');
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fanhui2 font12 mr5"
}), "\u8FD4\u56DE"]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CreateItemAssetsmodules.header,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
form: myForm,
className: CreateItemAssetsmodules.header_form
// labelCol={{ span: 3 }}
,
wrapperCol: {
span: 21
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7269\u8D44\u540D\u79F0",
name: "title",
rules: [{
required: true,
message: '请输入物资名称'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large",
maxLength: 20,
showCount: true
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7269\u8D44\u5206\u7C7B",
name: "substance_category_id",
rules: [{
required: true,
message: '请选择物资分类'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
size: "large",
children: substanceList === null || substanceList === void 0 ? void 0 : substanceList.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: item === null || item === void 0 ? void 0 : item.title
}, index);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u578B\u53F7\u89C4\u683C",
name: "model",
rules: [{
required: true,
message: '请输入型号规格'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large",
showCount: true,
maxLength: 30
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u5355\u4EF7\uFF08\u5143\uFF09",
name: "price",
rules: [{
required: true,
message: '请输入单价'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large"
className: CreateItemAssetsmodules.reportWrp,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
title: "\u7269\u8D44\u7BA1\u7406",
goBackUrl: '/materials/myReceive',
imgUrl: logo
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CreateItemAssetsmodules.reportContent,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CreateItemAssetsmodules.wrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CreateItemAssetsmodules.back_style,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: CreateItemAssetsmodules.back_style_span,
onClick: function onClick() {
_umi_production_exports.history.push('/materials/itemAssetsList');
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "icon-zzxy-fanhui1 font14 mr5"
}), "\u8FD4\u56DE"]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: "flex"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u89C4\u683C",
name: "capacity",
rules: [{
required: true,
message: '必填项'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large",
style: {
width: 502
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
name: "unit",
rules: [{
required: true,
message: '请选择单位'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
size: "large",
style: {
width: 502,
marginLeft: '20px'
},
children: unitList === null || unitList === void 0 ? void 0 : unitList.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.value,
children: item === null || item === void 0 ? void 0 : item.label
}, index);
className: "".concat(CreateItemAssetsmodules.header, " mt20"),
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
form: myForm,
className: CreateItemAssetsmodules.header_form
// labelCol={{ span: 3 }}
,
wrapperCol: {
span: 21
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7269\u8D44\u540D\u79F0",
name: "title",
rules: [{
required: true,
message: '请输入物资名称'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large",
maxLength: 20,
showCount: true
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: "flex"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u5B58\u653E\u5730\u70B9",
name: "classroom_id",
rules: [{
required: true,
message: '必填项'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
size: "large",
style: {
width: 502
},
defaultValue: laboratory,
value: laboratory,
onChange: function onChange(e) {
setLaboratory(e);
setLaboratoryRoom('');
//实验室房间
(0,service_laboratory/* classroom_rooms_query */.jd)({
page: 1,
limit: 10000,
keyword: '',
classroom_id: e
}).then(function (res) {
var _res$data22;
setLaboratoryRooms(res === null || res === void 0 || (_res$data22 = res.data) === null || _res$data22 === void 0 ? void 0 : _res$data22.list);
});
myForm.setFieldValue('classroom_room_id', '');
},
children: laboratorys === null || laboratorys === void 0 ? void 0 : laboratorys.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: item === null || item === void 0 ? void 0 : item.title
}, index);
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7269\u8D44\u5206\u7C7B",
name: "substance_category_id",
rules: [{
required: true,
message: '请选择物资分类'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
size: "large",
children: substanceList === null || substanceList === void 0 ? void 0 : substanceList.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: item === null || item === void 0 ? void 0 : item.title
}, index);
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
name: "classroom_room_id",
rules: [{
required: true,
message: '请选择实验室房间'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
size: "large",
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u578B\u53F7\u89C4\u683C",
name: "model",
rules: [{
required: true,
message: '请输入型号规格'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large",
showCount: true,
maxLength: 30
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u5355\u4EF7\uFF08\u5143\uFF09",
name: "price",
rules: [{
required: true,
message: '请输入单价'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large"
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
width: 502,
marginLeft: '20px'
display: "flex"
},
defaultValue: laboratoryRoom,
value: laboratoryRoom,
onChange: function onChange(e) {
setLaboratoryRoom(e);
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u89C4\u683C",
name: "capacity",
rules: [{
required: true,
message: '必填项'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large",
style: {
width: 502
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
name: "unit",
rules: [{
required: true,
message: '请选择单位'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
size: "large",
style: {
width: 502,
marginLeft: '20px'
},
children: unitList === null || unitList === void 0 ? void 0 : unitList.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.value,
children: item === null || item === void 0 ? void 0 : item.label
}, index);
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: "flex"
},
children: laboratoryRooms === null || laboratoryRooms === void 0 ? void 0 : laboratoryRooms.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: item === null || item === void 0 ? void 0 : item.title
}, index);
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u5B58\u653E\u5730\u70B9",
name: "classroom_id",
rules: [{
required: true,
message: '必填项'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
size: "large",
style: {
width: 502
},
defaultValue: laboratory,
value: laboratory,
onChange: function onChange(e) {
setLaboratory(e);
setLaboratoryRoom('');
//实验室房间
(0,service_laboratory/* classroom_rooms_query */.jd)({
page: 1,
limit: 10000,
keyword: '',
classroom_id: e
}).then(function (res) {
var _res$data22;
setLaboratoryRooms(res === null || res === void 0 || (_res$data22 = res.data) === null || _res$data22 === void 0 ? void 0 : _res$data22.list);
});
myForm.setFieldValue('classroom_room_id', '');
},
children: laboratorys === null || laboratorys === void 0 ? void 0 : laboratorys.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: item === null || item === void 0 ? void 0 : item.title
}, index);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
name: "classroom_room_id",
rules: [{
required: true,
message: '请选择实验室房间'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
size: "large",
style: {
width: 502,
marginLeft: '20px'
},
defaultValue: laboratoryRoom,
value: laboratoryRoom,
onChange: function onChange(e) {
setLaboratoryRoom(e);
},
children: laboratoryRooms === null || laboratoryRooms === void 0 ? void 0 : laboratoryRooms.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: item === null || item === void 0 ? void 0 : item.title
}, index);
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u6570\u91CF\u4E0B\u9650\u63D0\u9192\u503C",
name: "low_value",
rules: [{
required: true,
pattern: /^\d*\.?\d+$/,
message: '请输入正数'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large"
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u6570\u91CF\u4E0B\u9650\u63D0\u9192\u503C",
name: "low_value",
rules: [{
required: true,
pattern: /^\d*\.?\d+$/,
message: '请输入正数'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u91C7\u8D2D\u65F6\u95F4",
name: "buy_time",
rules: [{
required: true,
message: '请请选择采购时间'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], {
placeholder: "\u8BF7\u9009\u62E9\u65F6\u95F4"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u53EF\u7528\u6708\u4EFD",
name: "available_month",
rules: [{
required: true,
message: '请输入物资编号'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
size: "large",
maxLength: 4
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u751F\u4EA7\u5382\u5BB6",
name: "facturer",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large"
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7269\u8D44\u56FE\u7247",
name: "image",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CreateItemAssetsmodules.shangchuan_button,
onClick: function onClick() {
dispatch({
type: 'account/setActionTabs',
payload: {
key: 'Account-UpdateAvatar'
}
});
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "aBtn_img",
src: uploadImg/* default */.Z,
style: {
marginTop: '-4px',
marginRight: '8px'
}
}), "\u4E0A\u4F20\u56FE\u7247"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u91C7\u8D2D\u65F6\u95F4",
name: "buy_time",
rules: [{
required: true,
message: '请请选择采购时间'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], {
placeholder: "\u8BF7\u9009\u62E9\u65F6\u95F4"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u53EF\u7528\u6708\u4EFD",
name: "available_month",
rules: [{
required: true,
message: '请输入物资编号'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
size: "large",
maxLength: 4
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u751F\u4EA7\u5382\u5BB6",
name: "facturer",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large"
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7269\u8D44\u56FE\u7247",
name: "image",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CreateItemAssetsmodules.shangchuan_button,
onClick: function onClick() {
dispatch({
type: 'account/setActionTabs',
payload: {
key: 'Account-UpdateAvatar'
}
});
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "aBtn_img",
src: uploadImg/* default */.Z,
style: {
marginTop: '-4px',
marginRight: '8px'
}
}), "\u4E0A\u4F20\u56FE\u7247"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CreateItemAssetsmodules.shangchuan_img,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: roomImg ? roomImg : roomInitImgMaterials,
style: {
width: '300px',
height: "156px"
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CreateItemAssetsmodules.shangchuan_close,
onClick: function onClick() {
setRoomImg('');
myForm.setFieldValue('image', '');
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shanchu6"
})
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u4F7F\u7528\u987B\u77E5",
name: "description",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, {
height: 300,
defaultValue: myForm.getFieldValue('description') || '',
watch: true
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u9644\u4EF6",
name: "attachment_ids",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: CreateItemAssetsmodules.shangchuan_img,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: roomImg ? roomImg : roomInitImgMaterials,
style: {
width: '300px',
height: "156px"
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CreateItemAssetsmodules.shangchuan_close,
style: {
display: 'flex',
marginTop: '40px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CreateItemAssetsmodules.close_button,
onClick: function onClick() {
setRoomImg('');
myForm.setFieldValue('image', '');
_umi_production_exports.history.push('/materials/itemAssetsList');
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shanchu6"
})
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u4F7F\u7528\u987B\u77E5",
name: "description",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, {
height: 300,
defaultValue: myForm.getFieldValue('description') || '',
watch: true
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u9644\u4EF6",
name: "attachment_ids",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
marginTop: '40px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CreateItemAssetsmodules.close_button,
onClick: function onClick() {
_umi_production_exports.history.push('/materials/itemAssetsList');
},
children: "\u53D6\u6D88"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CreateItemAssetsmodules.submit_button,
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _myForm$getFieldValue, _myForm$getFieldValue2;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return myForm.validateFields();
case 2:
if ((params === null || params === void 0 ? void 0 : params.itemAssetsId) != 'null') {
//编辑
(0,materials/* substances_update */.xR)({
id: params === null || params === void 0 ? void 0 : params.itemAssetsId,
substance: objectSpread2_default()(objectSpread2_default()({}, myForm.getFieldsValue()), {}, {
attachment_ids: (_myForm$getFieldValue = myForm.getFieldValue('attachment_ids')) === null || _myForm$getFieldValue === void 0 ? void 0 : _myForm$getFieldValue.map(function (item) {
var _item$response;
return item === null || item === void 0 || (_item$response = item.response) === null || _item$response === void 0 ? void 0 : _item$response.id;
})
})
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('编辑成功');
_umi_production_exports.history.push("/materials/itemAssetsList");
}
});
} else {
(0,materials/* substances_create */.i6)({
substance: objectSpread2_default()(objectSpread2_default()({}, myForm.getFieldsValue()), {}, {
attachment_ids: (_myForm$getFieldValue2 = myForm.getFieldValue('attachment_ids')) === null || _myForm$getFieldValue2 === void 0 ? void 0 : _myForm$getFieldValue2.map(function (item) {
var _item$response2;
return item === null || item === void 0 || (_item$response2 = item.response) === null || _item$response2 === void 0 ? void 0 : _item$response2.id;
})
})
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('新建成功');
_umi_production_exports.history.push("/materials/itemAssetsList");
children: "\u53D6\u6D88"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CreateItemAssetsmodules.submit_button,
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _myForm$getFieldValue, _myForm$getFieldValue2;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return myForm.validateFields();
case 2:
if ((params === null || params === void 0 ? void 0 : params.itemAssetsId) != 'null') {
//编辑
(0,materials/* substances_update */.xR)({
id: params === null || params === void 0 ? void 0 : params.itemAssetsId,
substance: objectSpread2_default()(objectSpread2_default()({}, myForm.getFieldsValue()), {}, {
attachment_ids: (_myForm$getFieldValue = myForm.getFieldValue('attachment_ids')) === null || _myForm$getFieldValue === void 0 ? void 0 : _myForm$getFieldValue.map(function (item) {
var _item$response;
return item === null || item === void 0 || (_item$response = item.response) === null || _item$response === void 0 ? void 0 : _item$response.id;
})
})
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('编辑成功');
_umi_production_exports.history.push("/materials/itemAssetsList");
}
});
} else {
(0,materials/* substances_create */.i6)({
substance: objectSpread2_default()(objectSpread2_default()({}, myForm.getFieldsValue()), {}, {
attachment_ids: (_myForm$getFieldValue2 = myForm.getFieldValue('attachment_ids')) === null || _myForm$getFieldValue2 === void 0 ? void 0 : _myForm$getFieldValue2.map(function (item) {
var _item$response2;
return item === null || item === void 0 || (_item$response2 = item.response) === null || _item$response2 === void 0 ? void 0 : _item$response2.id;
})
})
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('新建成功');
_umi_production_exports.history.push("/materials/itemAssetsList");
}
});
}
});
case 3:
case "end":
return _context.stop();
}
case 3:
case "end":
return _context.stop();
}
}, _callee);
})),
children: "\u63D0\u4EA4"
}, _callee);
})),
children: "\u63D0\u4EA4"
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(CreateItemAssets_UpdateAvatarModal, {
setImgUrl: setImgUrl,
visible: ((_account$actionTabs = account.actionTabs) === null || _account$actionTabs === void 0 ? void 0 : _account$actionTabs.key) === 'Account-UpdateAvatar',
onClose: function onClose() {
dispatch({
type: 'account/setActionTabs'
});
}
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(CreateItemAssets_UpdateAvatarModal, {
setImgUrl: setImgUrl,
visible: ((_account$actionTabs = account.actionTabs) === null || _account$actionTabs === void 0 ? void 0 : _account$actionTabs.key) === 'Account-UpdateAvatar',
onClose: function onClose() {
dispatch({
type: 'account/setActionTabs'
});
}
})
})]
});
};

@ -323,7 +323,10 @@ var Navigation = function Navigation(_ref) {
centered: true,
keyboard: false,
destroyOnClose: true,
className: ItemAssetsTypemodules.my_modal,
className: "".concat(ItemAssetsTypemodules.my_modal, " modalXazy"),
closeIcon: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-fanhui"
}),
open: openMyModal,
title: "".concat(typeId ? '编辑' : '新建', "\u7269\u8D44\u7C7B\u522B"),
width: "600px",

@ -464,7 +464,7 @@ var Navigation = function Navigation(_ref) {
className: AddProcuremodules.reportWrp,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
title: "\u7269\u8D44\u7BA1\u7406",
goBackurl: '/materials/myReceive',
goBackUrl: '/materials/myReceive',
imgUrl: logo
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: AddProcuremodules.reportContent,

@ -827,7 +827,7 @@ var Navigation = function Navigation(_ref) {
className: AddReceiveScenemodules.root,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
title: "\u7269\u8D44\u7BA1\u7406",
goBackurl: '/materials/myReceive',
goBackUrl: '/materials/myReceive',
imgUrl: logo
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: AddReceiveScenemodules.reportContent,

@ -945,7 +945,7 @@ var Navigation = function Navigation(_ref) {
className: AddReceivemodules.reportWrp,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
title: "\u7269\u8D44\u7BA1\u7406",
goBackurl: '/materials/myReceive',
goBackUrl: '/materials/myReceive',
imgUrl: logo
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: AddReceivemodules.reportContent,

@ -589,10 +589,13 @@ var ViewModal = function ViewModal(_ref) {
centered: true,
keyboard: false,
destroyOnClose: true,
className: ViewModalmodules.my_modal,
className: "".concat(ViewModalmodules.my_modal, " modalXazy"),
closeIcon: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-fanhui"
}),
open: openViewModal,
title: "\u7533\u8D2D\u7EC6\u5219",
width: "810px",
width: "850px",
footer: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.status) == 'pending' && !showButton && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ViewModalmodules.footer,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {

@ -217,7 +217,6 @@
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Materials/Procure/ViewModal/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.header___U15p7 {
background: #FFFFFF;
border-radius: 4px;
max-height: 500px;
overflow-y: auto;

@ -617,7 +617,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
title: "\u7269\u8D44\u7BA1\u7406",
goBackurl: '/materials/myReceive',
goBackUrl: '/materials/myReceive',
imgUrl: logo
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Reportmodules.reportContent,

@ -207,7 +207,6 @@
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Materials/Procure/ViewModal/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.header___U15p7 {
background: #FFFFFF;
border-radius: 4px;
max-height: 500px;
overflow-y: auto;

@ -117,10 +117,13 @@ var ViewModal = function ViewModal(_ref) {
centered: true,
keyboard: false,
destroyOnClose: true,
className: ViewModalmodules.my_modal,
className: "".concat(ViewModalmodules.my_modal, " modalXazy"),
closeIcon: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-fanhui"
}),
open: openViewModal,
title: "\u7533\u8D2D\u7EC6\u5219",
width: "810px",
width: "850px",
footer: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.status) == 'pending' && !showButton && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ViewModalmodules.footer,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {

@ -617,7 +617,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
title: "\u7269\u8D44\u7BA1\u7406",
goBackurl: '/materials/myReceive',
goBackUrl: '/materials/myReceive',
imgUrl: logo
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Reportmodules.reportContent,

@ -396,6 +396,9 @@ __webpack_require__.d(__webpack_exports__, {
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(82242);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/defineProperty.js
var defineProperty = __webpack_require__(85573);
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
@ -739,6 +742,7 @@ var MultiUpload = __webpack_require__(86618);
var statusType = {
@ -1575,87 +1579,85 @@ var Navigation = function Navigation(_ref) {
setOpenReturnModal(false);
getData(true);
}
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()({
maskClosable: false,
centered: true,
keyboard: false,
destroyOnClose: true,
className: Receivemodules.upload_modal,
open: warehousing,
title: "\u7269\u8D28\u660E\u7EC6",
width: "1000px",
footer: canDelete ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
onClick: function onClick() {
setWarehousing(false);
},
children: "\u53D6\u6D88"
}, "cancel"), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
onClick: function onClick() {
return outbound();
},
children: "\u786E\u8BA4\u51FA\u5E93"
}, "ok")]
}) : null,
title: "\u7269\u8D28\u660E\u7EC6"
}, "className", "modalXazy"), "closeIcon", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-fanhui"
})), "width", "1000px"), "footer", canDelete ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
onClick: function onClick() {
setWarehousing(false);
},
children: "\u53D6\u6D88"
}, "cancel"), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
onClick: function onClick() {
return outbound();
},
children: "\u786E\u8BA4\u51FA\u5E93"
}, "ok")]
}) : null), "onCancel", function onCancel() {
setWarehousing(false);
}), "children", [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [canDelete && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Receivemodules.warehousing_add,
onClick: function onClick() {
myRuleForm.setFieldValue('number', null);
setVisible(true);
},
children: "\u589E\u52A0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: canDelete ? warehousingList : outboundList,
columns: addColumns
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
centered: true,
visible: visible,
okText: "\u786E\u5B9A",
cancelText: "\u53D6\u6D88",
title: "\u6DFB\u52A0",
onOk: handleOk,
onCancel: function onCancel() {
setWarehousing(false);
myRuleForm.resetFields();
setVisible(false);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [canDelete && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Receivemodules.warehousing_add,
onClick: function onClick() {
myRuleForm.setFieldValue('number', null);
setVisible(true);
},
children: "\u589E\u52A0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: canDelete ? warehousingList : outboundList,
columns: addColumns
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
centered: true,
visible: visible,
okText: "\u786E\u5B9A",
cancelText: "\u53D6\u6D88",
title: "\u6DFB\u52A0",
onOk: handleOk,
onCancel: function onCancel() {
myRuleForm.resetFields();
setVisible(false);
width: 400,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, {
className: Receivemodules.formWrap,
form: myRuleForm,
wrapperCol: {
span: 20
},
width: 400,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, {
className: Receivemodules.formWrap,
form: myRuleForm,
wrapperCol: {
span: 20
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u8D44\u4EA7\u7F16\u53F7",
name: "number",
rules: [{
required: true,
message: '请输入资产编号'
}, {
validator: validateInput,
message: '请输入数字和字母'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large",
onChange: function onChange(e) {
var _e$target;
myRuleForm.setFieldValue('number', e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 || (_e$target = _e$target.value) === null || _e$target === void 0 ? void 0 : _e$target.trim());
},
ref: inputRef,
onKeyDown: handleKeyDown
})
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u8D44\u4EA7\u7F16\u53F7",
name: "number",
rules: [{
required: true,
message: '请输入资产编号'
}, {
validator: validateInput,
message: '请输入数字和字母'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large",
onChange: function onChange(e) {
var _e$target;
myRuleForm.setFieldValue('number', e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 || (_e$target = _e$target.value) === null || _e$target === void 0 ? void 0 : _e$target.trim());
},
ref: inputRef,
onKeyDown: handleKeyDown
})
})
})]
})]
})
})]))]
});
};
/* harmony default export */ var Receive = ((0,_umi_production_exports.connect)(function (_ref4) {

File diff suppressed because one or more lines are too long

@ -13114,6 +13114,9 @@ p {
#educoder .modalXazy .ant-modal-header {
background: none;
}
#educoder .modalXazy .ant-modal-footer {
margin-top: 0 !important;
}
#educoder .modalXazy .ant-modal-body {
padding-top: 20px;
border-radius: 8px;
Loading…
Cancel
Save