From a43f9d75a9e0ba2720b3c438a0c5ece7be0eb110 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 28 五月 2025 18:23:45 +0800
Subject: [PATCH] git ch

---
 wx/unpackage/dist/dev/mp-weixin/pages/factory_change_personnel/factory_change_personnel.js |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/wx/unpackage/dist/dev/mp-weixin/pages/factory_change_personnel/factory_change_personnel.js b/wx/unpackage/dist/dev/mp-weixin/pages/factory_change_personnel/factory_change_personnel.js
index 8c8cc86..c6bd448 100644
--- a/wx/unpackage/dist/dev/mp-weixin/pages/factory_change_personnel/factory_change_personnel.js
+++ b/wx/unpackage/dist/dev/mp-weixin/pages/factory_change_personnel/factory_change_personnel.js
@@ -285,6 +285,14 @@
 //
 //
 //
+//
+//
+//
+//
+//
+//
+//
+//
 var _default = {
   data: function data() {
     var _rules;
@@ -301,6 +309,7 @@
       model: {
         memberName: '',
         memberId: '',
+        remark: '',
         idcardNo: '',
         oldDuName: '',
         oldDuId: '',
@@ -365,6 +374,7 @@
       this.model.memberId = item.id;
       this.model.idcardNo = item.idcardNo;
       this.model.oldDuName = item.duName;
+      this.model.remark = item.remark;
       this.model.oldDuId = item.duId;
       this.model.oldWorkTypeName = item.workTypeName;
       this.model.oldWorktypeId = item.worktypeId;
@@ -373,13 +383,24 @@
     // 鎼滅储
     changeSearch: function changeSearch(name) {
       var _this = this;
+      if (!name) {
+        this.user = [];
+        return;
+      }
       this.$u.api.memberFindListByDTO({
         name: name,
         insuranceApplyId: this.insuranceApplyId,
         validTime: this.validTime
       }).then(function (res) {
         if (res.code === 200) {
-          _this.user = res.data;
+          if (res.data.length > 0) {
+            _this.user = res.data;
+          } else {
+            uni.showToast({
+              title: '鏈壘鍒拌浜哄憳',
+              icon: 'none'
+            });
+          }
         }
       });
     },
@@ -424,6 +445,7 @@
       this.model.duName = e.value[0].label;
       this.duSolutionId = e.value[0].duSolutionId;
       this.model.worktypeId = '';
+      this.model.remark = '';
       this.model.workTypeName = '';
       this.getGZ();
       this.show = false;
@@ -435,6 +457,10 @@
     },
     submit: function submit() {
       var _this4 = this;
+      if (!this.model.memberId) return uni.showToast({
+        title: '璇烽�夋嫨浜哄憳',
+        icon: 'none'
+      });
       this.$refs.uForm.validate().then(function (res) {
         uni.$emit('data', _this4.model);
         uni.navigateBack({

--
Gitblit v1.9.3