Browse Source

04.08 生产入库

领料申请 - 提货单明细汇总导出、刷新提货单、取消预留
仓库发料
master
jiayang yue 1 year ago
parent
commit
b63600a60e
  1. 7
      src/views/modules/inventory/materialIssue.vue
  2. 12
      src/views/modules/orderIssure/soIssueNotify/issueNotify.vue
  3. 14
      src/views/modules/production/warehousing.vue

7
src/views/modules/inventory/materialIssue.vue

@ -1049,6 +1049,13 @@ export default {
},30000) },30000)
} }
}, },
billLadingDetailLoading(newValue){
if (newValue){
setTimeout(()=>{
this.billLadingDetailLoading = false;
},30000)
}
}
} }
} }
</script> </script>

12
src/views/modules/orderIssure/soIssueNotify/issueNotify.vue

@ -58,6 +58,7 @@
<el-table <el-table
:height="height" :height="height"
:data="dataList" :data="dataList"
v-loading="queryLoading"
border border
style="width: 100%;"> style="width: 100%;">
<el-table-column <el-table-column
@ -268,6 +269,7 @@ export default {
authSave: false, authSave: false,
authUpdate: false, authUpdate: false,
authDelete: false, authDelete: false,
queryLoading: false,
searchData: { searchData: {
notifyNo: '', notifyNo: '',
site: this.$store.state.user.site, site: this.$store.state.user.site,
@ -1106,6 +1108,13 @@ export default {
this.getDataList(); this.getDataList();
}, },
watch:{ watch:{
queryLoading(newValue){
if (newValue){
setTimeout(()=>{
this.queryLoading = false;
},30000)
}
},
pickDetailLoading(newValue){ pickDetailLoading(newValue){
if (newValue){ if (newValue){
setTimeout(()=>{ setTimeout(()=>{
@ -1125,6 +1134,7 @@ export default {
getDataList() { getDataList() {
this.searchData.page = this.pageIndex; this.searchData.page = this.pageIndex;
this.searchData.limit = this.pageSize; this.searchData.limit = this.pageSize;
this.queryLoading = true
issueNotifyPageSearch(this.searchData) issueNotifyPageSearch(this.searchData)
.then(({data}) => { .then(({data}) => {
if (data.code === 0) { if (data.code === 0) {
@ -1133,8 +1143,10 @@ export default {
this.pageIndex = data.page.currPage this.pageIndex = data.page.currPage
this.pageSize = data.page.pageSize this.pageSize = data.page.pageSize
this.totalPage = data.page.totalCount this.totalPage = data.page.totalCount
this.queryLoading = false
} else { } else {
this.$message.error(data.msg); this.$message.error(data.msg);
this.queryLoading = false
} }
}) })
}, },

14
src/views/modules/production/warehousing.vue

@ -37,6 +37,7 @@
<el-table <el-table
:height="height" :height="height"
:data="dataList" :data="dataList"
v-loading="queryLoading"
border border
style="width: 100%;margin-top: 5px"> style="width: 100%;margin-top: 5px">
<el-table-column <el-table-column
@ -460,6 +461,7 @@ export default {
// ======== ======== // ======== ========
modalFlag: false, modalFlag: false,
modalDisableFlag: false, modalDisableFlag: false,
queryLoading: false,
} }
}, },
mounted() { mounted() {
@ -468,6 +470,15 @@ export default {
this.height = window.innerHeight - 150; this.height = window.innerHeight - 150;
}) })
}, },
watch:{
queryLoading(newValue){
if (newValue){
setTimeout(()=>{
this.queryLoading = false;
},30000)
}
},
},
created() { created() {
// //
this.getTableUserColumn(this.$route.meta.menuId+'table1',1) this.getTableUserColumn(this.$route.meta.menuId+'table1',1)
@ -508,16 +519,19 @@ export default {
if (this.searchData.partNo === '' || this.searchData.partNo == null) { if (this.searchData.partNo === '' || this.searchData.partNo == null) {
inData.partNo = '%%' inData.partNo = '%%'
} }
this.queryLoading = true
searchProductionWarehousingInfo(inData).then(({data}) => { searchProductionWarehousingInfo(inData).then(({data}) => {
if (data.code === 0) { if (data.code === 0) {
this.dataList = data.page.list this.dataList = data.page.list
this.pageIndex = data.page.currPage this.pageIndex = data.page.currPage
this.pageSize = data.page.pageSize this.pageSize = data.page.pageSize
this.totalPage = data.page.totalCount this.totalPage = data.page.totalCount
this.queryLoading = false
} else { } else {
this.$alert(data.msg, '错误', { this.$alert(data.msg, '错误', {
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
this.queryLoading = false
} }
}) })
}, },

Loading…
Cancel
Save