代码更新

This commit is contained in:
ldj_willow
2022-10-17 14:17:53 +08:00
parent 5007452e58
commit 502c902a01
70 changed files with 54 additions and 4135 deletions

View File

@@ -111,17 +111,6 @@
</div>
<!--如果想在工具栏加入更多按钮可以使用插槽方式 slot = 'left' or 'right'-->
<crudOperation :permission="permission">
<el-button
slot="right"
class="filter-item"
type="info"
:loading="syncLoading"
icon="el-icon-refresh"
size="mini"
@click="sync()"
>
仓位同步
</el-button>
</crudOperation>
<!--表单组件-->
<el-dialog
@@ -361,9 +350,6 @@ export default {
}
},
created() {
/* checkoutbill.getInvTypes().then(res => {
this.invtypelist = res
})*/
crudPoint.getRegion().then(res => {
this.reginoList = res
})
@@ -407,16 +393,6 @@ export default {
})
}).catch(() => {
})
},
sync() {
this.syncLoading = true
crudPoint.syncStruct().then(() => {
this.crud.toQuery()
this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
this.syncLoading = false
}).catch(err => {
console.log(err.response.data.message)
})
}
}