Commit 5f016613465221079fddd2c08aaa8bc26ef121fa

Authored by boyang
1 parent c9f296e7

feat: 开发确认收货预警回访登记预警

src/pages/Order/Order/components/FeedbackRegistrationModal.tsx
... ... @@ -9,15 +9,13 @@ export default ({ setVisible, subOrders, mainOrder, onClose }) => {
9 9 const [textValue, setTextValue] = useState('');
10 10  
11 11 const handleOk = async () => {
12   - console.log(textValue); // 处理输入的文本
13 12 console.log(subOrders, '5656subOrders', mainOrder);
14   - let res = await postServiceOrderFeedbackRegistration({
  13 + await postServiceOrderFeedbackRegistration({
15 14 data: {
16 15 id: subOrders[0].id,
17 16 feedbackRegistrationContent: textValue,
18 17 },
19 18 });
20   - console.log(res, '5656res');
21 19 onClose();
22 20 // setIsModalOpen(false);
23 21 // onClose();
... ...
src/pages/Order/OrderWarning/components/FeedbackRegistrationModal.tsx
... ... @@ -9,15 +9,13 @@ export default ({ setVisible, subOrders, mainOrder, onClose }) => {
9 9 const [textValue, setTextValue] = useState('');
10 10  
11 11 const handleOk = async () => {
12   - console.log(textValue); // 处理输入的文本
13 12 console.log(subOrders, '5656subOrders', mainOrder);
14   - let res = await postServiceOrderFeedbackRegistration({
  13 + await postServiceOrderFeedbackRegistration({
15 14 data: {
16 15 id: subOrders[0].id,
17 16 feedbackRegistrationContent: textValue,
18 17 },
19 18 });
20   - console.log(res, '5656res');
21 19 onClose();
22 20 // setIsModalOpen(false);
23 21 // onClose();
... ...