diff --git a/pages/Order/detail.vue b/pages/Order/detail.vue index b77b6ff..d04e207 100644 --- a/pages/Order/detail.vue +++ b/pages/Order/detail.vue @@ -360,7 +360,8 @@ export default { } }, onLoad(option) { - this.model.order.house_order_id = option.id?option.id:''; + this.model.order.house_order_id = option.house_order_id?option.house_order_id:''; + this.model.order.house_id = option.id?option.id:''; this.model.order.rent = option.rent?parseFloat(option.rent)+'':''; this.type = option.type?option.type:'create'; }, @@ -389,9 +390,7 @@ export default { // this.model.order.month = ''+this.model.order.month; // this.model.order.month = parseInt(this.model.order.month); - this.fileList1 = [{ - url:res.data.payment_voucher - }]; + this.fileList1 = res.data.payment_voucher; this.fileList2 = res.data.lease_agreement; }) }, diff --git a/pages/User/order.vue b/pages/User/order.vue index 1544d27..cb346af 100644 --- a/pages/User/order.vue +++ b/pages/User/order.vue @@ -126,21 +126,21 @@