pages/business/goBusiness/modiReimburseOnlineDetl.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/business/goBusiness/reimburseOnlineDetl.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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) { pages/business/goBusiness/reimburseOnlineDetl.vue
@@ -136,18 +136,7 @@ <view class="box"> <view class="box-title">流程动态</view> <u-steps :current="1" direction="column"> <u-steps-item title="开始 2023-11-09 13:30:54" desc="张芬创建了审批"> </u-steps-item> <u-steps-item title="部门经理审核 2023-11-09 13:31:42" desc="部门经理张芬审批通过"> </u-steps-item> <u-steps-item title="俞晓审核" desc=""> </u-steps-item> <u-steps-item title="周春松审核" desc=""> </u-steps-item> <u-steps-item title="罗萍审核" desc=""> </u-steps-item> <u-steps-item title="俞晓审核" desc=""> </u-steps-item> <u-steps-item :title="`${item.title} ${item.time ? item.time : ''}`" :desc="item.msg" v-for="item in steps" /> </u-steps> </view> </view> @@ -168,6 +157,7 @@ export default { data() { return { steps: [], list: [{ templateName: '项目未完成', checkData: '否', @@ -252,10 +242,23 @@ _this.list.push(data.data) console.log(data) _this.getTableData(data.data.id) _this.getSetps(data.data.id) }) }, methods: { getSetps(id) { let _this = this uni.request({ url: `${_this.baseUrl}/reimburseOnline/${id}/auth`, header: { 'token': uni.getStorageSync('token') }, success(res) { res = res.data console.log(JSON.parse(res.data.settleMsg)); _this.steps = JSON.parse(res.data.settleMsg) } }) }, getTableData(id) { let _this = this uni.request({