|  |  | @ -77,23 +77,49 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table v-loading="loading" :data="codeArray" style="width: 100%;" :row-class-name="tableRowClassName" border |  |  |  |         <el-table v-loading="loading" :data="codeArray" style="width: 100%;" :row-class-name="tableRowClassName" border | 
			
		
	
		
		
			
				
					
					|  |  |  |                   highlight-current-row max-height="300" height="300" ref="multipleTable"> |  |  |  |                   highlight-current-row max-height="300" height="300" ref="multipleTable"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="序号" type="index" width="50"></el-table-column> |  |  |  |           <el-table-column label="序号" type="index" width="50"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="产品通用名" prop="productName" show-overflow-tooltip></el-table-column> |  |  |  |           <el-table-column label="产品通用名" prop="productName" width="150" show-overflow-tooltip></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="规格型号" prop="spec" show-overflow-tooltip></el-table-column> |  |  |  |           <el-table-column label="规格型号" prop="spec" width="150" show-overflow-tooltip></el-table-column> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-table-column width="150" label="批次号"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <el-input v-model="scope.row.batchNo" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         :disabled="scope.row.index !== selectedIndex" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         @input="scope.row.batchNo =scope.row.batchNo.replace(/[\W]/g, '')" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         ref='inputBatchNoRef' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         placeholder="请输入批次号"></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-table-column width="180" label="生产日期(yyMMdd)"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <el-input v-model="scope.row.productDate" auto-complete="off" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         oninput="if(value.length>6)value=value.slice(0,6)" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         :disabled="scope.row.index !== selectedIndex" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         type="number" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               ></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-table-column width="180" label="失效日期(yyMMdd)"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <el-input v-model="scope.row.expireDate" auto-complete="off" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         oninput="if(value.length>6)value=value.slice(0,6)" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         :disabled="scope.row.index !== selectedIndex" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         type="number" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               ></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column width="150" label="送货数量"> |  |  |  |           <el-table-column width="150" label="送货数量"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <template slot-scope="scope"> |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-input size="small" v-model="scope.row.count" |  |  |  |               <el-input size="small" v-model="scope.row.count" | 
			
		
	
		
		
			
				
					
					|  |  |  |                         placeholder="请输入数量" style="width: 80%" |  |  |  |                         placeholder="请输入数量" style="width: 80%" | 
			
		
	
		
		
			
				
					
					|  |  |  |                         type='number' |  |  |  |                         type='number' | 
			
		
	
		
		
			
				
					
					|  |  |  |                         @change="tableCountChange(scope.row)" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         :disabled="scope.row.index !== selectedIndex" |  |  |  |                         :disabled="scope.row.index !== selectedIndex" | 
			
		
	
		
		
			
				
					
					|  |  |  |                         oninput="value=value.replace(/[^\d]/g,'')"></el-input> |  |  |  |                         oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </template> |  |  |  |             </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-table-column> |  |  |  |           </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="供应商" prop="supName" show-overflow-tooltip></el-table-column> |  |  |  |           <el-table-column label="注册/备案凭证号" prop="zczbhhzbapzbh" width="150" show-overflow-tooltip></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="注册/备案凭证号" prop="zczbhhzbapzbh" show-overflow-tooltip></el-table-column> |  |  |  |           <el-table-column label="生产厂家" prop="manufactory" width="150" show-overflow-tooltip></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="生产厂家" prop="manufactory" show-overflow-tooltip></el-table-column> |  |  |  |           <el-table-column label="医疗器械注册人" prop="ylqxzcrbarmc" width="150" show-overflow-tooltip></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="医疗器械注册人" prop="ylqxzcrbarmc" show-overflow-tooltip></el-table-column> |  |  |  |           <el-table-column label="操作" width="120"  fixed="right"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table-column label="操作" width="120"> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             <template slot-scope="scope"> |  |  |  |             <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="text" size="small" :disabled="scope.row.index === selectedIndex" @click.stop="true" |  |  |  |               <el-button type="text" size="small" :disabled="scope.row.index === selectedIndex" @click.stop="true" | 
			
		
	
		
		
			
				
					
					|  |  |  |                          @click.native="rowChange(scope.row)">编辑 |  |  |  |                          @click.native="rowChange(scope.row)">编辑 | 
			
		
	
	
		
		
			
				
					|  |  | @ -235,6 +261,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     saveOrder(status) { |  |  |  |     saveOrder(status) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.tableCountChange(this.currentRow); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$refs["dataForm"].validate(valid => { |  |  |  |       this.$refs["dataForm"].validate(valid => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (valid) { |  |  |  |         if (valid) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (this.codeArray.length < 1) { |  |  |  |           if (this.codeArray.length < 1) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -333,6 +362,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     rowChange(val) { |  |  |  |     rowChange(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.tableCountChange(this.currentRow); | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.currentRow = val; |  |  |  |       this.currentRow = val; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.selectedIndex = val.index; |  |  |  |       this.selectedIndex = val.index; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
	
		
		
			
				
					|  |  | 
 |