Browse Source

特殊报工外协周转

wangxin 10 months ago
parent
commit
d11ec5ec50
1 changed files with 5 additions and 9 deletions
  1. 5 9
      src/views/business/specialDaywork/turnoverInfoDialog.vue

+ 5 - 9
src/views/business/specialDaywork/turnoverInfoDialog.vue

@@ -386,16 +386,12 @@ function handleConfirmOutsource() {
   /**** 此处暂时为硬编码,170000为外协部门编码,根据编码查询信息 ***/
   turnoverOutsource(curDayworkItemList.value).then((res) => {
     if (res.code === 200) {
-      uni.showToast({
-        icon: "success",
-        title: "操作成功",
-      });
-      emit("reflushDaywork");
+      proxy.$modal.msgSuccess("保存成功!");
+      visible.value = false;
+      reset();
+      getList.value();
     } else {
-      uni.showToast({
-        icon: "none",
-        title: "操作失败",
-      });
+      proxy.$modal.msgError("保存失败!");
     }
   });
 }