| 
														
															@@ -6,7 +6,8 @@ import { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     Storehouse_Product_Model_List, 
														 | 
														
														 | 
														
															     Storehouse_Product_Model_List, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     Storehouse_Product_Name_List, 
														 | 
														
														 | 
														
															     Storehouse_Product_Name_List, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     Storehouse_Stock_Detail_List, 
														 | 
														
														 | 
														
															     Storehouse_Stock_Detail_List, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    Storehouse_Stock_Detail_Excel 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    Storehouse_Stock_Detail_Excel, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    stockInSort 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } from '@/api/storehouse/index' 
														 | 
														
														 | 
														
															 } from '@/api/storehouse/index' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { ref, reactive, onMounted } from 'vue' 
														 | 
														
														 | 
														
															 import { ref, reactive, onMounted } from 'vue' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { List } from '@element-plus/icons-vue' 
														 | 
														
														 | 
														
															 import { List } from '@element-plus/icons-vue' 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -17,7 +18,7 @@ import type { ColumnProps } from '@/components/TableBase/interface/index' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { dayJs } from '@/utils/common' 
														 | 
														
														 | 
														
															 import { dayJs } from '@/utils/common' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import ImageCom from '@/components/Image/index.vue' 
														 | 
														
														 | 
														
															 import ImageCom from '@/components/Image/index.vue' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { useTablePublic } from '@/hooks/useTablePublic' 
														 | 
														
														 | 
														
															 import { useTablePublic } from '@/hooks/useTablePublic' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { ElMessage, ElMessageBox } from 'element-plus' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import InventoryStatisticsshowModel from "./modules/InventoryStatisticsshowModel.vue"; 
														 | 
														
														 | 
														
															 import InventoryStatisticsshowModel from "./modules/InventoryStatisticsshowModel.vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -49,6 +50,7 @@ const detailInitParam = reactive({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const columns: ColumnProps[] = [ 
														 | 
														
														 | 
														
															 const columns: ColumnProps[] = [ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     { type: 'index', label: '序号', width: 80 }, 
														 | 
														
														 | 
														
															     { type: 'index', label: '序号', width: 80 }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     { prop: 'T_depot_name', label: '仓库名称' }, 
														 | 
														
														 | 
														
															     { prop: 'T_depot_name', label: '仓库名称' }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    { prop: 'T_sort', label: '排序(双击排序)', name: 'T_sort' }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     { prop: 'T_product_img', label: '产品图片', name: 'T_product_img' }, 
														 | 
														
														 | 
														
															     { prop: 'T_product_img', label: '产品图片', name: 'T_product_img' }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     { prop: 'T_product_name', label: '产品名称' }, 
														 | 
														
														 | 
														
															     { prop: 'T_product_name', label: '产品名称' }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     { prop: 'T_product_class_name', label: '产品分类' }, 
														 | 
														
														 | 
														
															     { prop: 'T_product_class_name', label: '产品分类' }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -100,7 +102,7 @@ const confirmExpor = async (project_id?: string) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         T_end_date: T_date_detail.value[1], 
														 | 
														
														 | 
														
															         T_end_date: T_date_detail.value[1], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         T_product_id: '' 
														 | 
														
														 | 
														
															         T_product_id: '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    console.log('导出',T_date_detail.value,params) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    console.log('导出', T_date_detail.value, params) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     if (typeof project_id === 'number') { 
														 | 
														
														 | 
														
															     if (typeof project_id === 'number') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         params['T_product_id'] = project_id 
														 | 
														
														 | 
														
															         params['T_product_id'] = project_id 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -186,7 +188,7 @@ onMounted(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     getProductClassList() 
														 | 
														
														 | 
														
															     getProductClassList() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     T_date.value = [dayJs().startOf('year').format('YYYY-MM-DD'), dayJs().format('YYYY-MM-DD')] 
														 | 
														
														 | 
														
															     T_date.value = [dayJs().startOf('year').format('YYYY-MM-DD'), dayJs().format('YYYY-MM-DD')] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     T_date_detail.value = [...T_date.value] 
														 | 
														
														 | 
														
															     T_date_detail.value = [...T_date.value] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    console.log('初始化时间',T_date) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    console.log('初始化时间', T_date) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }) 
														 | 
														
														 | 
														
															 }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const getSalaryParams = (row: any) => { 
														 | 
														
														 | 
														
															 const getSalaryParams = (row: any) => { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -197,6 +199,22 @@ const getSalaryParams = (row: any) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 100) 
														 | 
														
														 | 
														
															     }, 100) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+const handleHeaderClick = async (e:any) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    ElMessageBox.prompt('请输入排序号', '', { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        confirmButtonText: 'OK', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        cancelButtonText: 'Cancel', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        inputValue:`${e.T_sort}` 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }).then(async({ value }) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       const result:any = await stockInSort({T_id:e.Id,T_sort:value}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       console.log('提交',value,result) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       if(result.Code==200){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            ElMessage.success('编辑成功') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            TableRef.value?.getTableList() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }).catch(() => {}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </script> 
														 | 
														
														 | 
														
															 </script> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -271,6 +289,11 @@ const getSalaryParams = (row: any) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             </el-form> 
														 | 
														
														 | 
														
															                             </el-form> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         </div> 
														 | 
														
														 | 
														
															                         </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     </template> 
														 | 
														
														 | 
														
															                     </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    <template #T_sort="{ row }"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        <div @dblclick="handleHeaderClick(row)" style="cursor: pointer;"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            {{ row.T_sort }} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     <template #T_product_img="{ row }"> 
														 | 
														
														 | 
														
															                     <template #T_product_img="{ row }"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         <ImageCom :src="row.T_product_img" /> 
														 | 
														
														 | 
														
															                         <ImageCom :src="row.T_product_img" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     </template> 
														 | 
														
														 | 
														
															                     </template> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -292,7 +315,7 @@ const getSalaryParams = (row: any) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 <template #table-header> 
														 | 
														
														 | 
														
															                 <template #table-header> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     <el-row class="head-search"> 
														 | 
														
														 | 
														
															                     <el-row class="head-search"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         <el-col :span="12"><el-form-item label="日期范围"> 
														 | 
														
														 | 
														
															                         <el-col :span="12"><el-form-item label="日期范围"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                             
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                 <el-date-picker v-model="T_date_detail" type="daterange" range-separator="~" 
														 | 
														
														 | 
														
															                                 <el-date-picker v-model="T_date_detail" type="daterange" range-separator="~" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     start-placeholder="开始时间" end-placeholder="结束时间" format="YYYY-MM-DD" 
														 | 
														
														 | 
														
															                                     start-placeholder="开始时间" end-placeholder="结束时间" format="YYYY-MM-DD" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     value-format="YYYY-MM-DD" @change="dateDetailChange" /></el-form-item></el-col> 
														 | 
														
														 | 
														
															                                     value-format="YYYY-MM-DD" @change="dateDetailChange" /></el-form-item></el-col> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -302,7 +325,7 @@ const getSalaryParams = (row: any) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     </el-row> 
														 | 
														
														 | 
														
															                     </el-row> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 </template> 
														 | 
														
														 | 
														
															                 </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 <template #right="{ row }"> 
														 | 
														
														 | 
														
															                 <template #right="{ row }"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                    <InventoryStatisticsshowModel :rows="row"/> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    <InventoryStatisticsshowModel :rows="row" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 </template> 
														 | 
														
														 | 
														
															                 </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </TableBase> 
														 | 
														
														 | 
														
															             </TableBase> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </Drawer> 
														 | 
														
														 | 
														
															         </Drawer> 
														 |