From 20d3cc61e661833e33cb6607e6314902d8b965ec Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 03 六月 2025 08:30:38 +0800
Subject: [PATCH] 提交一把订单

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

diff --git a/wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js b/wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js
index 8cb1461..1c1cd90 100644
--- a/wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js
+++ b/wx/unpackage/dist/dev/mp-weixin/pages/report_details/report_details.js
@@ -103,13 +103,25 @@
 try {
   components = {
     uIcon: function () {
-      return Promise.all(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 459))
+      return Promise.all(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 469))
     },
     uButton: function () {
-      return Promise.all(/*! import() | node-modules/uview-ui/components/u-button/u-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-button/u-button")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-button/u-button.vue */ 406))
+      return Promise.all(/*! import() | node-modules/uview-ui/components/u-button/u-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-button/u-button")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-button/u-button.vue */ 416))
     },
     uModal: function () {
-      return Promise.all(/*! import() | node-modules/uview-ui/components/u-modal/u-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-modal/u-modal")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-modal/u-modal.vue */ 423))
+      return Promise.all(/*! import() | node-modules/uview-ui/components/u-modal/u-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-modal/u-modal")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-modal/u-modal.vue */ 433))
+    },
+    uPopup: function () {
+      return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 502))
+    },
+    "u-Form": function () {
+      return Promise.all(/*! import() | node-modules/uview-ui/components/u--form/u--form */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--form/u--form")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--form/u--form.vue */ 449))
+    },
+    uFormItem: function () {
+      return Promise.all(/*! import() | node-modules/uview-ui/components/u-form-item/u-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-form-item/u-form-item.vue */ 455))
+    },
+    "u-Input": function () {
+      return Promise.all(/*! import() | node-modules/uview-ui/components/u--input/u--input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--input/u--input")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--input/u--input.vue */ 463))
     },
   }
 } catch (e) {
@@ -134,7 +146,7 @@
   var _h = _vm.$createElement
   var _c = _vm._self._c || _h
   var g0 = _vm.info ? [13].includes(_vm.info.status) : null
-  var g1 = _vm.info ? [10, 11, 12, 13].includes(_vm.info.status) : null
+  var g1 = _vm.info ? [11, 12, 13].includes(_vm.info.status) : null
   var g2 =
     _vm.info && g1
       ? [11].includes(_vm.info.status) && _vm.info.feeUpdate === 0
@@ -153,7 +165,8 @@
   var g8 = _vm.info
     ? [9].includes(_vm.info.status) && _vm.info.waitSupplement === 1
     : null
-  var g9 = _vm.info ? [4].includes(_vm.info.status) : null
+  var g9 = _vm.info ? [6, 8].includes(_vm.info.status) : null
+  var g10 = _vm.info ? [4].includes(_vm.info.status) : null
   var m0 = _vm.info ? _vm.returnInHospital(_vm.info.inHospital) : null
   var m1 = _vm.info ? _vm.returnName(_vm.info.hurtType) : null
   var m2 = _vm.info ? _vm.returnName(_vm.info.medicalInsurance) : null
@@ -161,13 +174,9 @@
     _vm.info && _vm.info && _vm.info.settleClaimsLogList
       ? _vm.__map(_vm.info.settleClaimsLogList, function (item, index) {
           var $orig = _vm.__get_orig(item)
-          var g10 = _vm.info.settleClaimsLogList.length
           var g11 = _vm.info.settleClaimsLogList.length
-          var g12 = item.content ? _vm.info.settleClaimsLogList.length : null
-          var g13 =
-            item.content && item.objType === 3
-              ? JSON.parse(item.afterContent)
-              : null
+          var g12 = _vm.info.settleClaimsLogList.length
+          var g13 = item.content ? _vm.info.settleClaimsLogList.length : null
           var g14 =
             item.content && item.objType === 3
               ? JSON.parse(item.afterContent)
@@ -184,9 +193,12 @@
             item.content && item.objType === 3
               ? JSON.parse(item.afterContent)
               : null
+          var g18 =
+            item.content && item.objType === 3
+              ? JSON.parse(item.afterContent)
+              : null
           return {
             $orig: $orig,
-            g10: g10,
             g11: g11,
             g12: g12,
             g13: g13,
@@ -194,20 +206,21 @@
             g15: g15,
             g16: g16,
             g17: g17,
+            g18: g18,
           }
         })
       : null
-  var g18 = _vm.info
+  var g19 = _vm.info
     ? [1, 2, 3, 4, 5, 9, 7, 10].includes(_vm.info.status)
     : null
-  var g19 = _vm.info
+  var g20 = _vm.info
     ? ([9].includes(_vm.info.status) && _vm.info.waitSupplement === 1) ||
       [1, 2, 4, 5, 7].includes(_vm.info.status)
     : null
-  var g20 = _vm.info
+  var g21 = _vm.info
     ? [9].includes(_vm.info.status) && _vm.info.waitSupplement === 1
     : null
-  var g21 = _vm.info ? [1, 2, 4, 5, 7].includes(_vm.info.status) : null
+  var g22 = _vm.info ? [1, 2, 4, 5, 7].includes(_vm.info.status) : null
   if (!_vm._isMounted) {
     _vm.e0 = function ($event) {
       _vm.show = true
@@ -217,6 +230,9 @@
     }
     _vm.e2 = function ($event) {
       _vm.show1 = false
+    }
+    _vm.e3 = function ($event) {
+      _vm.show2 = false
     }
   }
   _vm.$mp.data = Object.assign(
@@ -233,14 +249,15 @@
         g7: g7,
         g8: g8,
         g9: g9,
+        g10: g10,
         m0: m0,
         m1: m1,
         m2: m2,
         l0: l0,
-        g18: g18,
         g19: g19,
         g20: g20,
         g21: g21,
+        g22: g22,
       },
     }
   )
@@ -295,10 +312,36 @@
       info: null,
       show: false,
       show1: false,
+      show2: false,
       height: 'auto',
       height1: 'auto',
       height2: 'auto',
-      fileList: []
+      fileList: [],
+      form: {
+        receiveBank: '',
+        receiveAccount: '',
+        receiveUserName: ''
+      },
+      rules: {
+        receiveBank: {
+          type: 'string',
+          required: true,
+          message: '璇疯緭鍏ュ紑鎴烽摱琛�',
+          trigger: ['blur']
+        },
+        receiveAccount: {
+          type: 'string',
+          required: true,
+          message: '璇疯緭鍏ヨ处鍙�',
+          trigger: ['blur']
+        },
+        receiveUserName: {
+          type: 'string',
+          required: true,
+          message: '璇疯緭鍏ユ埛鍚�',
+          trigger: ['blur']
+        }
+      }
     };
   },
   onLoad: function onLoad(option) {
@@ -311,14 +354,35 @@
   },
   computed: _objectSpread({}, (0, _vuex.mapState)(['cookies'])),
   methods: {
+    openInfo: function openInfo() {
+      this.form.receiveBank = this.info.receiveBank;
+      this.form.receiveAccount = this.info.receiveAccount;
+      this.form.receiveUserName = this.info.receiveUserName;
+      this.show2 = true;
+    },
+    submitInfo: function submitInfo() {
+      var _this2 = this;
+      this.$refs.uForm.validate().then(function (res) {
+        _this2.$u.api.updReceiveInfo(_objectSpread(_objectSpread({}, _this2.form), {}, {
+          id: _this2.id
+        })).then(function (res) {
+          _this2.show2 = false;
+          uni.showToast({
+            title: '淇敼鎴愬姛',
+            icon: 'success'
+          });
+          _this2.getDetails();
+        });
+      }).catch(function (errors) {});
+    },
     queren: function queren() {
       this.show1 = true;
     },
     confirmPrice: function confirmPrice() {
-      var _this2 = this;
+      var _this3 = this;
       this.$u.api.confirmFee(this.id).then(function (res) {
-        _this2.show1 = false;
-        _this2.getDetails();
+        _this3.show1 = false;
+        _this3.getDetails();
       });
     },
     upload: function upload(type) {
@@ -393,10 +457,10 @@
     },
     // 鍒犻櫎闄勪欢
     deleFile: function deleFile(id, objId) {
-      var _this3 = this;
+      var _this4 = this;
       this.$u.api.delFile(objId, id).then(function (res) {
         if (res.code === 200) {
-          _this3.getDetails();
+          _this4.getDetails();
         }
       });
     },
@@ -439,7 +503,7 @@
       this.show = true;
     },
     confirm: function confirm() {
-      var _this4 = this;
+      var _this5 = this;
       if (this.fileList.length === 0) return uni.showToast({
         title: '璇峰厛涓婁紶鏉愭枡',
         icon: 'none'
@@ -449,8 +513,8 @@
         supplementFileList: this.fileList
       }).then(function (res) {
         if (res.code === 200) {
-          _this4.show = false;
-          _this4.getDetails();
+          _this5.show = false;
+          _this5.getDetails();
         }
       });
     },
@@ -460,10 +524,10 @@
       });
     },
     getDetails: function getDetails() {
-      var _this5 = this;
+      var _this6 = this;
       this.$u.api.settleClaimsById(this.id).then(function (res) {
         if (res.code === 200) {
-          _this5.info = res.data;
+          _this6.info = res.data;
         }
       });
     },

--
Gitblit v1.9.3