| 
					
				 | 
			
			
				@@ -886,13 +886,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-col> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-col style="display: flex; justify-content: flex-end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @click="showElabel" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                v-show="showDataElabel == '0'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              >查看电子标签 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <el-button size="small" type="info" prop="打印" @click="printZyd" v-if="entryPrinting == 0" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               >作业单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </el-button> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1230,6 +1223,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 >移除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    @click="showElabel(scope)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    :disabled="browseStatus" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    v-if="showDataElabel == '0'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                >条码 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-table> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -5257,24 +5258,43 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <el-dialog title="电子标签" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                :visible.sync="showElabelDialog" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                :close-on-click-modal="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               width="40%"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               width="40%" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-button type="primary" @click="elabelList.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fGPid:form.fId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fPid:eId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fType:'2', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      })">录入明细</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table :data="elabelList" element-loading-text="努力加载中"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        label="序号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        type="index" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        width="50" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        fixed 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          label="序号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type="index" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          width="50" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          fixed 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        prop="fContent" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        label="电子标签" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          prop="fContent" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          label="条码" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-input v-model="scope.row.fContent" placeholder="请输入条码"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            fixed="right" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            label="操作" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            width="100"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button type="text" size="small" icon="el-icon-delete" @click="deleteBarcode(scope)">删除</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <span slot="footer" class="dialog-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-button type="primary" @click="saveBarcode">保 存</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button @click="showElabelDialog = false">取 消</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-dialog> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -5333,7 +5353,7 @@ import { getToken } from '@/utils/auth' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { addSet, select, resetModule } from '@/api/system/set' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import upLoad from '../components/upLoad' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import draggable from 'vuedraggable' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { listElabelByfGPid, queryClerkRoleList } from '@/api/warehouseBusiness/warehouseInStock' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {deleteCode, listElabelByfGPid, queryClerkRoleList, saveCode} from '@/api/warehouseBusiness/warehouseInStock' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { listCharge } from '@/api/system/viewApproval' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getDept } from '@/api/basicdata/dept' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -6264,6 +6284,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       showDataElabel: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       showElabelDialog: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       elabelList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      eId:'' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   computed: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -7226,12 +7247,33 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.addOrUpdateVisible = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 查看电子标签 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    showElabel() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.showElabelDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (this.form.fId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        listElabelByfGPid(this.form.fId).then((response) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.elabelList = response.data.elabelList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    showElabel(scope) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.eId = scope.row.fId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (scope.row.fId){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        listElabelByfGPid({fPid:scope.row.fId}).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.elabelList = res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.showElabelDialog = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$message.error('该单据未保存'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //条码保存 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    saveBarcode(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      saveCode(this.elabelList).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        listElabelByfGPid({fPid:this.eId}).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.elabelList = res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //条码删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    deleteBarcode(scope){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (scope.row.fId){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        deleteCode(scope.row.fId).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.elabelList.splice(scope.$index, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.elabelList.splice(scope.$index, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     returnData() { 
			 |