|
@@ -454,21 +454,13 @@ export default {
|
|
|
/** 拉取按钮操作 */
|
|
|
handlePull() {
|
|
|
const queryParams = this.queryParams;
|
|
|
- const _this=this
|
|
|
- // 添加遮罩
|
|
|
-
|
|
|
+ const _this = this
|
|
|
this.$confirm('是否确认拉取电商门店所有库存?', "警告", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
|
- }).then(function() {
|
|
|
- const loading = _this.$loading({
|
|
|
- lock: true,
|
|
|
- text: 'Loading',
|
|
|
- spinner: 'el-icon-loading',
|
|
|
- background: 'rgba(0, 0, 0, 0.7)'
|
|
|
- });
|
|
|
- return pullKmallStoreInvemng(queryParams,loading,_this);
|
|
|
+ }).then(() => {
|
|
|
+ return pullKmallStoreInvemng(queryParams, _this);
|
|
|
})
|
|
|
}
|
|
|
}
|