|
@@ -362,10 +362,11 @@ export default {
|
|
|
methods: {
|
|
|
moment,
|
|
|
//获取表格数据
|
|
|
- getBookList(){
|
|
|
+ getBookList(data){
|
|
|
this.$nextTick(() => {
|
|
|
// this.queryParam.pageSize = 50
|
|
|
this.loading = true
|
|
|
+ if(data=='await'){this.loading = false}
|
|
|
bookList(this.queryParam).then(res => {
|
|
|
this.loading = false
|
|
|
if (res.success) {
|
|
@@ -527,9 +528,9 @@ export default {
|
|
|
pushU8(record){
|
|
|
pushU8({ id: record.id}).then(res => {
|
|
|
if (res.success) {
|
|
|
- this.$message.success('推送U8成功')
|
|
|
+ // this.$message.success('推送U8成功')
|
|
|
// record.theDocumentsState = '0'
|
|
|
- this.getBookList()
|
|
|
+ this.getBookList('await')
|
|
|
}else {
|
|
|
this.$message.error(res.message);
|
|
|
}
|
|
@@ -538,9 +539,9 @@ export default {
|
|
|
pushPackLst(record){
|
|
|
pushPackeList({ id: record.id}).then(res => {
|
|
|
if (res.success) {
|
|
|
- this.$message.success('推送装箱单发票成功')
|
|
|
+ // this.$message.success('推送装箱单发票成功')
|
|
|
// record.theDocumentsState = '0'
|
|
|
- this.getBookList()
|
|
|
+ this.getBookList('await')
|
|
|
}else {
|
|
|
this.$message.error(res.message);
|
|
|
}
|