|
|
@@ -102,6 +102,15 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
+
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ style="margin-top: 10px"
|
|
|
+ layout="total,prev, pager, next"
|
|
|
+ @current-change="page_event"
|
|
|
+ :page-size="order_search.pagesize"
|
|
|
+ :total="order_search.total">
|
|
|
+ </el-pagination>
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -181,7 +190,8 @@
|
|
|
is_income:2,
|
|
|
kp_type:0
|
|
|
},
|
|
|
- multipleSelection:[]
|
|
|
+ multipleSelection:[],
|
|
|
+ order_search:{order_type:1,view:"platform",date_type:1,status:401,artificial_mark:0,active_name:"all",page:1,page_size:20}
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
|
@@ -257,10 +267,13 @@
|
|
|
this.loading = true;
|
|
|
|
|
|
//获取订单信息
|
|
|
- let res = await this.$post("/api/admin/order/get_orders",{order_type:1,view:"platform",date_type:1,status:401,artificial_mark:0,user:this.ruleForm.uid,active_name:"all",page:1,page_size:20});
|
|
|
+ let order_search=this.order_search;
|
|
|
+ order_search.user=this.ruleForm.uid;
|
|
|
+ let res = await this.$post("/api/admin/order/get_orders",this.order_search);
|
|
|
if (res.status == 1) {
|
|
|
this.order.list=res.data.orders;
|
|
|
this.order.total=res.data.count;
|
|
|
+ this.order_search.total=res.data.count;
|
|
|
}
|
|
|
|
|
|
//获取开票信息
|
|
|
@@ -271,6 +284,10 @@
|
|
|
|
|
|
this.loading = false;
|
|
|
},
|
|
|
+ page_event(page) {
|
|
|
+ this.order_search.page = page;
|
|
|
+ this.getUserAccount();
|
|
|
+ },
|
|
|
async add_user_invoice_order() {
|
|
|
this.loading = true;
|
|
|
let data=this.ruleForm;
|