#
whycq
2023-11-22 6824ba109c5d5f4b952a8afd1bff59816b8480e5
pages/business/goBusiness/modiReimburseOnlineDetl.vue
@@ -206,10 +206,10 @@
         _this.list = []
         const eventChannel = this.getOpenerEventChannel();
         eventChannel.on('reimburseOnlineDetl', function(data) {
            console.log(data);
            if (data.data == 'add') {
               _this.title = '添加报销审批'
               _this.fixtype = 'add'
               _this.form[0].hide = false
            }
            if (data.data == 'modi') {
               // _this.title = '添加报销审批'
@@ -312,7 +312,7 @@
            }
            
            for (let element of this.orderIdList) {
               if(element.value == this.orderId) {
               if(element.value == this.form[0].value) {
                  param.orderId = element.id + ''
               }
            }
@@ -326,10 +326,6 @@
            }
            param.reimburseId = this.reimburseId2
            param.reimburseOnlineDetls = this.tableData
            // if (param.reimburseId == null || param.reimburseId === '') {
            //    uni.showToast({title: '报销类型不能为空', icon: "none", position: 'top'})
            //    return
            // }
            if (param.checkData == '') {
               uni.showToast({title: '是否冲账不能为空', icon: "none", position: 'top'})
               return
@@ -371,10 +367,9 @@
               data: JSON.stringify(param),
               method: 'POST',
               success(res) {
                  console.log(res);
                  res = res.data
                  if (res.code === 200) {
                     uni.navigateBack({})
                     uni.navigateBack({delta:2})
                  } else if(res.code === 500) {
                     uni.showToast({title: res.msg, icon: "none", position: 'top'})
                  }