|  |  |  | @ -13,12 +13,16 @@ | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="8"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item class="query-form-item" label="发票代码:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input v-model="invoiceQuery.invoiceCode" placeholder="请输入发票代码" style="width: 90%" clearable="true" ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input v-model="invoiceQuery.invoiceCode" placeholder="请输入发票代码" style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |                         clearable="true" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="8"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item class="query-form-item" label="机器编码:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input v-model="invoiceQuery.machineNo" placeholder="请输入机器编码" style="width: 90%" clearable="true" ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input v-model="invoiceQuery.machineNo" placeholder="请输入机器编码" style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |                         clearable="true" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-row> | 
			
		
	
	
		
			
				
					|  |  |  | @ -295,35 +299,36 @@ | 
			
		
	
		
			
				
					|  |  |  |  |       <!--单据业务详情--> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |  |         <span slot="label">单据 {{ currentRow.billNo }}-单据详情</span> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table :data="codeDetailList" style="width: 100%" border row-key="id" highlight-current-row> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="发票编码" prop="invoiceCodes" width="150" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="物资名称" prop="coName" width="150" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="规格型号" width="150" prop="spec"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="批次号" width="100" prop="batchNo"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="数量" prop="count" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="价格" prop="price" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="金额" prop="amount" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="生产日期" prop="productDate" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="失效日期" prop="expireDate" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column width="100" label="计量单位" prop="measname"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="生产企业" prop="manufacturer" width="160" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="注册/备案号" width="160" prop="certCode" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="扫码数量" prop="reCount" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-table> | 
			
		
	
		
			
				
					|  |  |  |  |       <pagination | 
			
		
	
		
			
				
					|  |  |  |  |         v-show="codeTotal>0" | 
			
		
	
		
			
				
					|  |  |  |  |         :total="codeTotal" | 
			
		
	
		
			
				
					|  |  |  |  |         :page.sync="codeQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |         :limit.sync="codeQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |         @pagination="getCodeDetailList" | 
			
		
	
		
			
				
					|  |  |  |  |       /> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table :data="codeDetailList" style="width: 100%" border row-key="id" highlight-current-row> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="发票编码" prop="invoiceCodes" width="150" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="物资名称" prop="coName" width="150" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="规格型号" width="150" prop="spec"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="批次号" width="100" prop="batchNo"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="数量" prop="count" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="价格" prop="price" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="金额" prop="amount" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="生产日期" prop="productDate" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="失效日期" prop="expireDate" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column width="100" label="计量单位" prop="measname"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="生产企业" prop="manufacturer" width="160" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="注册/备案号" width="160" prop="certCode" show-overflow-tooltip></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-table-column label="扫码数量" prop="reCount" width="100"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table> | 
			
		
	
		
			
				
					|  |  |  |  |         <pagination | 
			
		
	
		
			
				
					|  |  |  |  |           v-show="codeTotal>0" | 
			
		
	
		
			
				
					|  |  |  |  |           :total="codeTotal" | 
			
		
	
		
			
				
					|  |  |  |  |           :page.sync="codeQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |           :limit.sync="codeQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |           @pagination="getCodeDetailList" | 
			
		
	
		
			
				
					|  |  |  |  |         /> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-tabs> | 
			
		
	
		
			
				
					|  |  |  |  |     <el-dialog | 
			
		
	
		
			
				
					|  |  |  |  |       title="发票登记" | 
			
		
	
		
			
				
					|  |  |  |  |       :visible.sync="checkInvoice" | 
			
		
	
		
			
				
					|  |  |  |  |       width="60%" | 
			
		
	
		
			
				
					|  |  |  |  |       :before-close="closeAcceptDialog" | 
			
		
	
		
			
				
					|  |  |  |  |       :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |  |       :close-on-press-escape="false" | 
			
		
	
		
			
				
					|  |  |  |  |       v-if="checkInvoice" | 
			
		
	
	
		
			
				
					|  |  |  | @ -543,6 +548,9 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         if (res.code === 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |           this.invoiceList = res.data.list || [] | 
			
		
	
		
			
				
					|  |  |  |  |           this.invoicTotal = res.data.total || 0 | 
			
		
	
		
			
				
					|  |  |  |  |           this.productDetailList = [] | 
			
		
	
		
			
				
					|  |  |  |  |           this.codeDetailList = [] | 
			
		
	
		
			
				
					|  |  |  |  |           this.orderList = [] | 
			
		
	
		
			
				
					|  |  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |  |           this.$message.error(res.message) | 
			
		
	
		
			
				
					|  |  |  |  |           this.invoiceList = [] | 
			
		
	
	
		
			
				
					|  |  |  | @ -737,7 +745,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         this.codeDetailList = [] | 
			
		
	
		
			
				
					|  |  |  |  |         this.codeTotal = 0 | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   created() { | 
			
		
	
		
			
				
					|  |  |  |  |     let supId = this.$store.getters.customerId | 
			
		
	
	
		
			
				
					|  |  |  | 
 |