|  |  | @ -2,6 +2,15 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |   <div> |  |  |  |   <div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-card v-if="!changeViewDisabled"> |  |  |  |     <el-card v-if="!changeViewDisabled"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <el-alert | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         style="margin-top: 1px;margin-bottom: 10px;font-size: 20px;" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :title="msgTip" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :closable="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         type="warning"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </el-alert> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form" |  |  |  |       <el-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form" | 
			
		
	
		
		
			
				
					
					|  |  |  |                size="mini" label-width="100px"> |  |  |  |                size="mini" label-width="100px"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row style=" display:flex;  flex-wrap: wrap; "> |  |  |  |         <el-row style=" display:flex;  flex-wrap: wrap; "> | 
			
		
	
	
		
		
			
				
					|  |  | @ -215,6 +224,14 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-card v-if="changeViewDisabled"> |  |  |  |     <el-card v-if="changeViewDisabled"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <el-alert | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         style="margin-top: 1px;margin-bottom: 10px;font-size: 20px;" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :title="msgTip" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :closable="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         type="warning"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </el-alert> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       <div style="min-height: 400px;"> |  |  |  |       <div style="min-height: 400px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!-- 分割线 --> |  |  |  |         <!-- 分割线 --> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" :inline="true" |  |  |  |         <el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" :inline="true" | 
			
		
	
	
		
		
			
				
					|  |  | @ -367,6 +384,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | </template> |  |  |  | </template> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <script> |  |  |  | <script> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import {findInvRemindByBillNo} from "@/api/inout/splitCode"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import addOrder from "@/views/inout/DialogCreateOrder"; |  |  |  | import addOrder from "@/views/inout/DialogCreateOrder"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import errOrder from "@/views/inout/IoCreateErrorOrder"; |  |  |  | import errOrder from "@/views/inout/IoCreateErrorOrder"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {executeFuc, getHead} from "@/utils/customConfig"; |  |  |  | import {executeFuc, getHead} from "@/utils/customConfig"; | 
			
		
	
	
		
		
			
				
					|  |  | @ -399,6 +417,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   data() { |  |  |  |   data() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return { |  |  |  |     return { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       msgTip: "库存预警提醒:", | 
			
		
	
		
		
			
				
					
					|  |  |  |       isLinkDisabled: false, |  |  |  |       isLinkDisabled: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       changeViewDisabled: true, |  |  |  |       changeViewDisabled: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |       userInfo: { |  |  |  |       userInfo: { | 
			
		
	
	
		
		
			
				
					|  |  | @ -474,6 +493,17 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     addOrder, errOrder, bindWorkDialog, prescribeOriginPanel, prescribeOriginDiPanel |  |  |  |     addOrder, errOrder, bindWorkDialog, prescribeOriginPanel, prescribeOriginDiPanel | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     changeInvRemind(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       let post = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         workPlaceCode: val | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       findInvRemindByBillNo(post).then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.msgTip = response.data | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     changeView() { |  |  |  |     changeView() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.changeViewDisabled = !this.changeViewDisabled |  |  |  |       this.changeViewDisabled = !this.changeViewDisabled | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -578,6 +608,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false |  |  |  |         this.loading = false | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.list = res.data.list || [] |  |  |  |         this.list = res.data.list || [] | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.total = res.data.total || 0 |  |  |  |         this.total = res.data.total || 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (this.filterQuery.workPlaceCode != null){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.changeInvRemind(this.filterQuery.workPlaceCode) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).catch(() => { |  |  |  |       }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false |  |  |  |         this.loading = false | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.list = [] |  |  |  |         this.list = [] | 
			
		
	
	
		
		
			
				
					|  |  | 
 |