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)
}
},
billLadingDetailLoading(newValue){
if (newValue){
setTimeout(()=>{
this.billLadingDetailLoading = false;
},30000)
}
}
}
}
</script>

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

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

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

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

Loading…
Cancel
Save