浏览代码

no message

ly 1 年之前
父节点
当前提交
71bc8d72c4

+ 1 - 1
src/views/business/entrust/workOrder/currentMonth/index.vue

@@ -275,7 +275,7 @@
 
   function delEntrustHandle() {
     const entrust = {
-      currentMonth: currentMonth.value,
+      workMonth: currentMonth.value,
       workOrderIds: ids.value,
     };
     proxy.$modal.confirm("是否确认取消委托?").then(() => {

+ 1 - 1
src/views/business/entrust/workOrder/nextMonth/index.vue

@@ -352,7 +352,7 @@ function setEntrustHandle() {
 
 function delEntrustHandle() {
   const entrust = {
-    currentMonth: currentMonth.value,
+    workMonth: currentMonth.value,
     workOrderIds: ids.value,
   };
   proxy.$modal.confirm("是否确认取消委托?").then(() => {

+ 1 - 2
src/views/business/entrust/workOrder/setEntrustDialog.vue

@@ -134,8 +134,7 @@ function submitForm() {
     return;
   }
   const entrust = {
-    // currentMonth: currentMonth.value,
-    workMonth: proxy.moment().add(1,"month").format("YYYY-MM-01"),
+    workMonth: currentMonth.value,
     toTenantId: toTenantId.value,
     workOrderIds: list.value.map((l) => l.id),
   };