diff --git a/32013.fa691a69.async.js b/32013.b338a365.async.js
similarity index 96%
rename from 32013.fa691a69.async.js
rename to 32013.b338a365.async.js
index f967452d6e..029b3b0d90 100644
--- a/32013.fa691a69.async.js
+++ b/32013.b338a365.async.js
@@ -14,6 +14,7 @@
/* harmony export */ FA: function() { return /* binding */ substance_details_scrapped; },
/* harmony export */ FE: function() { return /* binding */ my_purchases_query; },
/* harmony export */ FZ: function() { return /* binding */ substances_import; },
+/* harmony export */ Gf: function() { return /* binding */ submit_substance_details; },
/* harmony export */ HM: function() { return /* binding */ substances_query; },
/* harmony export */ HX: function() { return /* binding */ substance_categories_delete; },
/* harmony export */ JQ: function() { return /* binding */ receives_cancel; },
@@ -823,7 +824,7 @@ function receives_review(_x36) {
return _receives_review.apply(this, arguments);
}
-//通过资源自动获取可用资源详情数据
+// 确认出库
function _receives_review() {
_receives_review = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee36(data) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee36$(_context36) {
@@ -841,110 +842,134 @@ function _receives_review() {
}));
return _receives_review.apply(this, arguments);
}
-function receives_matches(_x37) {
+function submit_substance_details(_x37) {
+ return _submit_substance_details.apply(this, arguments);
+}
+
+//通过资源自动获取可用资源详情数据
+function _submit_substance_details() {
+ _submit_substance_details = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee37(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee37$(_context37) {
+ while (1) switch (_context37.prev = _context37.next) {
+ case 0:
+ return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/receives/".concat(data === null || data === void 0 ? void 0 : data.id, "/submit_substance_details.json"), {
+ method: 'post',
+ body: {
+ substance_detail_ids: data === null || data === void 0 ? void 0 : data.substance_detail_ids
+ }
+ }));
+ case 1:
+ case "end":
+ return _context37.stop();
+ }
+ }, _callee37);
+ }));
+ return _submit_substance_details.apply(this, arguments);
+}
+function receives_matches(_x38) {
return _receives_matches.apply(this, arguments);
}
//领用详情
function _receives_matches() {
- _receives_matches = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee37(data) {
- return _regeneratorRuntime().wrap(function _callee37$(_context37) {
- while (1) switch (_context37.prev = _context37.next) {
+ _receives_matches = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee38(data) {
+ return _regeneratorRuntime().wrap(function _callee38$(_context38) {
+ while (1) switch (_context38.prev = _context38.next) {
case 0:
- return _context37.abrupt("return", Fetch("/api/yn_classrooms/receives/matches.json", {
+ return _context38.abrupt("return", Fetch("/api/yn_classrooms/receives/matches.json", {
method: 'post',
body: _objectSpread({}, data)
}));
case 1:
case "end":
- return _context37.stop();
+ return _context38.stop();
}
- }, _callee37);
+ }, _callee38);
}));
return _receives_matches.apply(this, arguments);
}
-function receives_info(_x38) {
+function receives_info(_x39) {
return _receives_info.apply(this, arguments);
}
//归还物资细则
function _receives_info() {
- _receives_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee38(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee38$(_context38) {
- while (1) switch (_context38.prev = _context38.next) {
+ _receives_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee39(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee39$(_context39) {
+ while (1) switch (_context39.prev = _context39.next) {
case 0:
- return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/receives/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
+ return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/receives/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)
}));
case 1:
case "end":
- return _context38.stop();
+ return _context39.stop();
}
- }, _callee38);
+ }, _callee39);
}));
return _receives_info.apply(this, arguments);
}
-function receives_return(_x39) {
+function receives_return(_x40) {
return _receives_return.apply(this, arguments);
}
//编辑领用
function _receives_return() {
- _receives_return = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee39(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee39$(_context39) {
- while (1) switch (_context39.prev = _context39.next) {
+ _receives_return = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee40(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee40$(_context40) {
+ while (1) switch (_context40.prev = _context40.next) {
case 0:
- return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/receives/".concat(data === null || data === void 0 ? void 0 : data.id, "/return.json"), {
+ return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/receives/".concat(data === null || data === void 0 ? void 0 : data.id, "/return.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data)
}));
case 1:
case "end":
- return _context39.stop();
+ return _context40.stop();
}
- }, _callee39);
+ }, _callee40);
}));
return _receives_return.apply(this, arguments);
}
-function receives_update(_x40) {
+function receives_update(_x41) {
return _receives_update.apply(this, arguments);
}
//获取物资细则编号
function _receives_update() {
- _receives_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee40(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee40$(_context40) {
- while (1) switch (_context40.prev = _context40.next) {
+ _receives_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee41(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee41$(_context41) {
+ while (1) switch (_context41.prev = _context41.next) {
case 0:
- return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/receives/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
+ return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/receives/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data)
}));
case 1:
case "end":
- return _context40.stop();
+ return _context41.stop();
}
- }, _callee40);
+ }, _callee41);
}));
return _receives_update.apply(this, arguments);
}
-function random_number(_x41) {
+function random_number(_x42) {
return _random_number.apply(this, arguments);
}
function _random_number() {
- _random_number = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee41(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee41$(_context41) {
- while (1) switch (_context41.prev = _context41.next) {
+ _random_number = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee42(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee42$(_context42) {
+ while (1) switch (_context42.prev = _context42.next) {
case 0:
- return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/substance_details/random_number.json", {
+ return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/substance_details/random_number.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)
}));
case 1:
case "end":
- return _context41.stop();
+ return _context42.stop();
}
- }, _callee41);
+ }, _callee42);
}));
return _random_number.apply(this, arguments);
}
diff --git a/61651.133c621b.async.js b/61651.dba1db7b.async.js
similarity index 99%
rename from 61651.133c621b.async.js
rename to 61651.dba1db7b.async.js
index c426f23808..7da513e2df 100644
--- a/61651.133c621b.async.js
+++ b/61651.dba1db7b.async.js
@@ -556,7 +556,7 @@ var ReservationDialog = function ReservationDialog(_ref) {
marginTop: '-10px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
- disabled: dataInfo !== null && dataInfo !== void 0 && dataInfo.reservations_id ? true : false,
+ disabled: modalName == "调整预约" || (dataInfo !== null && dataInfo !== void 0 && dataInfo.reservations_id ? true : false),
showSearch: true,
filterOption: function filterOption(input, option) {
var _option$label;
diff --git a/index.html b/index.html
index 62d0ae7f72..08ddb75678 100644
--- a/index.html
+++ b/index.html
@@ -27,7 +27,7 @@
display: block !important;
}
-
+