|
@@ -1,6 +1,6 @@
|
|
|
c<template>
|
|
|
<!-- 【单证】 订单数据 -->
|
|
|
- <a-spin :spinning="spinIsShow" :delay="spinDelayMS">
|
|
|
+ <a-spin :spinning="spinIsShow" >
|
|
|
<div id="orderList">
|
|
|
<a-card :bordered="false">
|
|
|
<!-- 查询区域 -->
|
|
@@ -275,10 +275,12 @@ export default {
|
|
|
// 分页查询
|
|
|
getOrderList() {
|
|
|
var that = this;
|
|
|
- that.spinIsShow = true;
|
|
|
+ // that.spinIsShow = true;
|
|
|
+ this.loading = true
|
|
|
this.$nextTick(() => {
|
|
|
orderList(this.queryParam).then(res => {
|
|
|
- that.spinIsShow = false;
|
|
|
+ // that.spinIsShow = false;
|
|
|
+ this.loading = false
|
|
|
if (res.success) {
|
|
|
that.orderListData = res.result.records;
|
|
|
that.pagination = {
|
|
@@ -297,6 +299,7 @@ export default {
|
|
|
synchronization() {
|
|
|
this.$nextTick(() => {
|
|
|
var id = "1570672855704420354"
|
|
|
+ this.loading = true
|
|
|
syncy({id}).then(res => {
|
|
|
if (res.success) {
|
|
|
this.getOrderList();
|
|
@@ -311,8 +314,11 @@ export default {
|
|
|
synchronizationOne(){
|
|
|
this.$nextTick(() => {
|
|
|
var parameter = this.dingDan
|
|
|
+ this.loading = true
|
|
|
oneSyncy({parameter}).then(res => {
|
|
|
if (res.success) {
|
|
|
+ this.loading =false
|
|
|
+ this.queryParam.orderNumber = this.dingDan
|
|
|
this.getOrderList();
|
|
|
this.$message.success(res.message)
|
|
|
}else{
|