|
|
@@ -75,32 +75,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
-
|
|
|
- <!-- <template v-if="scope.row.status == 1">-->
|
|
|
- <!-- <el-button size="small" disabled>打印</el-button>-->
|
|
|
- <!-- <el-button size="small" disabled>自取</el-button>-->
|
|
|
- <!-- <el-button size="small" disabled>发货</el-button>-->
|
|
|
- <!-- </template>-->
|
|
|
- <!-- <template v-else-if="['4', '5', '6'].indexOf(scope.row.status) != -1"></template>-->
|
|
|
- <!-- <template v-else>-->
|
|
|
- <!-- <template v-if="scope.row.currentFlow == 1">-->
|
|
|
- <!-- <el-popover placement="top" width="160" :ref="'popover-' + scope.row.id">-->
|
|
|
- <!-- <p>确认已自取?</p>-->
|
|
|
- <!-- <div style="text-align: right; margin: 0">-->
|
|
|
- <!-- <el-button size="mini" type="text" @click="selfGetCancel(scope.row.id)">取消</el-button>-->
|
|
|
- <!-- <el-button type="primary" size="mini" @click="noSendShipFn(scope.row)">确定</el-button>-->
|
|
|
- <!-- </div>-->
|
|
|
- <!-- <el-button slot="reference" size="mini" type="primary" plain>自取</el-button>-->
|
|
|
- <!-- </el-popover>-->
|
|
|
- <!-- <el-button @click="shipDrawFn(scope.row)" size="mini" type="primary" plain style="margin-left:14px;">发货</el-button>-->
|
|
|
- <!-- <el-button @click="printOrder(scope.row)" size="mini" type="primary" plain style="margin-left:14px;">打印</el-button>-->
|
|
|
- <!-- </template>-->
|
|
|
- <!-- <template v-else>-->
|
|
|
- <!-- <el-button size="mini" type="primary" plain @click="shipDrawFn(scope.row)">发货</el-button>-->
|
|
|
- <!-- <el-button @click="printOrder(scope.row)" size="mini" type="primary" plain style="margin-left:14px;">打印</el-button>-->
|
|
|
- <!-- </template>-->
|
|
|
-
|
|
|
- <!-- </template>-->
|
|
|
</template>
|
|
|
</x-crud>
|
|
|
<!-- 用户详情 -->
|
|
|
@@ -397,11 +371,11 @@ export default {
|
|
|
.on('refresh', async (params, { next }) => {
|
|
|
// 继续执行刷新
|
|
|
let asset = await next(params);
|
|
|
- this.tabsData[0].val = asset.allNum;
|
|
|
- this.tabsData[1].val = asset.unPayNum;
|
|
|
- this.tabsData[2].val = asset.unSendNum;
|
|
|
- this.tabsData[3].val = asset.sendingNum;
|
|
|
- this.tabsData[4].val = asset.finishNum;
|
|
|
+ this.tabsData[0].val = asset.shop.totalOrder;
|
|
|
+ this.tabsData[1].val = asset.shop.unPayOrder;
|
|
|
+ this.tabsData[2].val = asset.shop.unSendOrder;
|
|
|
+ this.tabsData[3].val = asset.shop.sendingOrder;
|
|
|
+ this.tabsData[4].val = asset.shop.finishOrder;
|
|
|
})
|
|
|
.done();
|
|
|
app.refresh({ status: this.tabIndex });
|