#
whycq
2023-11-15 4cd5150e355da08214805c466f82251d6458a73b
pages/business/goBusiness/modiReimburseOnlineDetl.vue
@@ -214,8 +214,6 @@
            if (data.data == 'add') {
               _this.title = '添加报销审批'
            }
            console.log(data)
            console.log(_this.title)
         })
         this.getOrderId('')
      },
@@ -228,7 +226,6 @@
         popChange(n) {
            // var detl=JSON.parse(JSON.stringify(this.newDetl));  // 牛逼
            let detl  = {...this.newDetl} // 牛逼
            console.log(this.radiovalue2);
            detl.expenseType$ = this.radiovalue2
            for (let k in this.radiolist2) {
               if (this.radiolist2[k].name == this.radiovalue2) {
@@ -239,7 +236,6 @@
            this.$refs.popup.close()
         },
         radioChange(n) {
            console.log('radioChange', n);
         },
         showPicker(e) {
            switch(e) {
@@ -282,18 +278,14 @@
            this.tableData.splice(index,1)
         },
         reimburseIdConfirm(e) {
            console.log('confirm', e)
            this.form[1].value = e.value[0]
            this.form[1].submitVal = e.indexs[0]
            this.reimburseId = false
            console.log(this.form);
         },
         checkDataConfirm(e) {
            console.log('confirm', e)
            this.form[2].value = e.value[0]
            this.form[2].submitVal = e.indexs[0]
            this.checkData = false
            console.log(this.form);
         },
         // 表单提交
         submit() {
@@ -320,8 +312,6 @@
                  param.checkData = k.value
               }
            }
            console.log(this.form);
            console.log(param);
            param.reimburseOnlineDetls = this.tableData
            if (param.reimburseId == null || param.reimburseId === '') {
               uni.showToast({title: '报销类型不能为空', icon: "none", position: 'top'})
@@ -335,9 +325,6 @@
               uni.showToast({title: '请添加报销明细', icon: "none", position: 'top'})
               return
            }
            // console.log(this.orderIdList);
            // console.log(this.orderIds);
            console.log(param);
            this.formAdd(param)
         },
         formAdd(param) {