|  |  | @ -4,19 +4,20 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-form :model="filterQuery" label-width="100px"> |  |  |  |       <el-form :model="filterQuery" label-width="100px"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row> |  |  |  |         <el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-form-item label="单据号"> |  |  |  |           <el-form-item label="单据号"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-input v-model="filterQuery.recordKey" style="width: 100%" placeholder="请输入单据号" clearable></el-input> |  |  |  |             <el-input v-model="filterQuery.recordKey" style="width: 100%" placeholder="请输入单据号" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       clearable></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-form-item> |  |  |  |           </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-form-item label="单据日期"> |  |  |  |           <el-form-item label="单据日期"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-date-picker |  |  |  |             <el-date-picker | 
			
		
	
		
		
			
				
					
					|  |  |  |               style="width: 100%" |  |  |  |                 style="width: 100%" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               :picker-options="pickerOptions" |  |  |  |                 :picker-options="pickerOptions" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               v-model="actDateRange" |  |  |  |                 v-model="actDateRange" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               type="daterange" |  |  |  |                 type="daterange" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               format="yyyy 年 MM 月 dd 日" |  |  |  |                 format="yyyy 年 MM 月 dd 日" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               value-format="yyyy-MM-dd" |  |  |  |                 value-format="yyyy-MM-dd" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               range-separator="至" |  |  |  |                 range-separator="至" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               start-placeholder="开始日期" |  |  |  |                 start-placeholder="开始日期" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               end-placeholder="结束日期" |  |  |  |                 end-placeholder="结束日期" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             > |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-date-picker> |  |  |  |             </el-date-picker> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-form-item> |  |  |  |           </el-form-item> | 
			
		
	
	
		
		
			
				
					|  |  | @ -62,11 +63,11 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-table> |  |  |  |       </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       <pagination |  |  |  |       <pagination | 
			
		
	
		
		
			
				
					
					|  |  |  |         v-show="total>0" |  |  |  |           v-show="total>0" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         :total="total" |  |  |  |           :total="total" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         :limit.sync="filterQuery.limit" |  |  |  |           :limit.sync="filterQuery.limit" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         :page.sync="filterQuery.page" |  |  |  |           :page.sync="filterQuery.page" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         @pagination="handleCurrentChange" |  |  |  |           @pagination="handleCurrentChange" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       ></pagination> |  |  |  |       ></pagination> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-card> |  |  |  |     </el-card> | 
			
		
	
	
		
		
			
				
					|  |  | @ -86,33 +87,33 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-card> |  |  |  |     </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-dialog |  |  |  |     <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |       :title="formMap[formName]" |  |  |  |         :title="formMap[formName]" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       :visible.sync="newSpDistributionVisible" |  |  |  |         :visible.sync="newSpDistributionVisible" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       width="80%" |  |  |  |         width="80%" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       v-if="newSpDistributionVisible" |  |  |  |         v-if="newSpDistributionVisible" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       @close='closeDialog' |  |  |  |         @close='closeDialog' | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       :close-on-click-modal="false" |  |  |  |         :close-on-click-modal="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       :close-on-press-escape="false" |  |  |  |         :close-on-press-escape="false" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     > |  |  |  |     > | 
			
		
	
		
		
			
				
					
					|  |  |  |       <pureApplyEdit |  |  |  |       <pureApplyEdit | 
			
		
	
		
		
			
				
					
					|  |  |  |         :closeDialog="closeDialog" |  |  |  |           :closeDialog="closeDialog" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         :idQuery="idQuery" |  |  |  |           :idQuery="idQuery" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       ></pureApplyEdit> |  |  |  |       ></pureApplyEdit> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-dialog> |  |  |  |     </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-dialog |  |  |  |     <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |       title="内部码标签打印" |  |  |  |         title="内部码标签打印" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       :visible.sync="qrcodeExportVisible" |  |  |  |         :visible.sync="qrcodeExportVisible" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       width="80%" |  |  |  |         width="80%" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       :close-on-click-modal="false" |  |  |  |         :close-on-click-modal="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       :close-on-press-escape="false" |  |  |  |         :close-on-press-escape="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       v-if="qrcodeExportVisible" |  |  |  |         v-if="qrcodeExportVisible" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       @close='closeQRCodeExportDialog' |  |  |  |         @close='closeQRCodeExportDialog' | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     > |  |  |  |     > | 
			
		
	
		
		
			
				
					
					|  |  |  |       <innerCodeDetail |  |  |  |       <innerCodeDetail | 
			
		
	
		
		
			
				
					
					|  |  |  |         :closeDialog="closeQRCodeExportDialog" |  |  |  |           :closeDialog="closeQRCodeExportDialog" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         :inQuery="inQuery" |  |  |  |           :inQuery="inQuery" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       ></innerCodeDetail> |  |  |  |       ></innerCodeDetail> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-dialog> |  |  |  |     </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -205,6 +206,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         editStatus: 1, |  |  |  |         editStatus: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.actDateRange = []; |  |  |  |       this.actDateRange = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.detailList = [] | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getList(); |  |  |  |       this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -223,33 +225,33 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       listInnerOrder(this.filterQuery) |  |  |  |       listInnerOrder(this.filterQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |           .then((response) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           if (response.code == 20000) { |  |  |  |             if (response.code == 20000) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.list = response.data.list || []; |  |  |  |               this.list = response.data.list || []; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.total = response.data.total || 0; |  |  |  |               this.total = response.data.total || 0; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |             } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error(response.message); |  |  |  |               this.$message.error(response.message); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |             } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |             this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |           }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |           .catch(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |             this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.list = []; |  |  |  |             this.list = []; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.total = 0; |  |  |  |             this.total = 0; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |           }); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     handleDetail(row) { |  |  |  |     handleDetail(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       let query = {orderIdFk: row.recordKey}; |  |  |  |       let query = {orderIdFk: row.recordKey}; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |       listInnerOrderDetail(query) //查找该单号下的所有条码 |  |  |  |       listInnerOrderDetail(query) //查找该单号下的所有条码 | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |           .then((response) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.detailList = response.data.list || []; |  |  |  |             this.detailList = response.data.list || []; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |             this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |           }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |           .catch(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |             this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.detailList = []; |  |  |  |             this.detailList = []; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |           }); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     submitOrder(row) { |  |  |  |     submitOrder(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true; | 
			
		
	
	
		
		
			
				
					|  |  | @ -258,18 +260,18 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         purApplyEntity: row, |  |  |  |         purApplyEntity: row, | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       inserThrOrderWeb(tQuery) |  |  |  |       inserThrOrderWeb(tQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then(response => { |  |  |  |           .then(response => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |             this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           if (response.code === 20000) { |  |  |  |             if (response.code === 20000) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.success("提交成功!"); |  |  |  |               this.$message.success("提交成功!"); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.getList(); |  |  |  |               this.getList(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |             } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error(response.message); |  |  |  |               this.$message.error(response.message); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |             } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |           }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |           .catch(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |             this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |           }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     deleteDialog(row) { |  |  |  |     deleteDialog(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$confirm("此操作将永久删除该单据, 是否继续?", "提示", { |  |  |  |       this.$confirm("此操作将永久删除该单据, 是否继续?", "提示", { | 
			
		
	
	
		
		
			
				
					|  |  | @ -277,25 +279,25 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         cancelButtonText: "取消", |  |  |  |         cancelButtonText: "取消", | 
			
		
	
		
		
			
				
					
					|  |  |  |         type: "warning", |  |  |  |         type: "warning", | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then(() => { |  |  |  |           .then(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           delInnerOrder(row.id) |  |  |  |             delInnerOrder(row.id) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             .then((response) => { |  |  |  |                 .then((response) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.loading = false; |  |  |  |                   this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               if (response.code == 20000) { |  |  |  |                   if (response.code == 20000) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.success("删除成功"); |  |  |  |                     this.$message.success("删除成功"); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 this.getList(); |  |  |  |                     this.getList(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 this.detailList = ""; |  |  |  |                     this.detailList = ""; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               } else { |  |  |  |                   } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.error(response.message); |  |  |  |                     this.$message.error(response.message); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               } |  |  |  |                   } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }) |  |  |  |                 }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             .catch(() => { |  |  |  |                 .catch(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.loading = false; |  |  |  |                   this.loading = false; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |                 }); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |           }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |           .catch(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |           }); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     handleCurrentChange(val) { |  |  |  |     handleCurrentChange(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.filterQuery.page = val.page; |  |  |  |       this.filterQuery.page = val.page; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |