wengyuwen 4 anni fa
parent
commit
c9f6c86a29

+ 4 - 1
src/views/warehouseBusiness/goodsTransfer/index.vue

@@ -251,12 +251,14 @@
       <el-table-column
         width="220"
         label="货权方"
+        sortable
         align="center"
         prop="fCorpid"
       />
       <el-table-column
         width="220"
         label="转货权方"
+        sortable
         align="center"
         prop="fTocorpid"
       />
@@ -275,6 +277,7 @@
       />
       <el-table-column
         label="货转日期"
+        sortable
         align="center"
         prop="fBsdate"
         width="180"
@@ -289,7 +292,7 @@
         prop="fTrademodeid"
         :formatter="fTrademodeidFormat"
       />
-      <el-table-column label="仓库" align="center" prop="fWarehouseid"/>
+      <el-table-column label="仓库" sortable align="center" prop="fWarehouseid"/>
       <el-table-column label="件数" align="center" prop="fQty"/>
       <el-table-column label="毛重(kg)" align="center" prop="fGrossweight"/>
       <el-table-column label="净重(kg)" align="center" prop="fNetweight"/>

+ 5 - 2
src/views/warehouseBusiness/inStock/index.vue

@@ -277,6 +277,7 @@
         width="100"
         label="入库状态"
         fixed
+        sortable
         align="center"
         prop="fItemsStatus"
       >
@@ -292,16 +293,18 @@
 
         label="货权方"
         fixed
+        sortable
         width="220"
         align="center"
         prop="fCorpid"
       />
-      <el-table-column label="提单号" fixed width="216" align="center" prop="fMblno" show-overflow-tooltip />
+      <el-table-column label="提单号" sortable fixed width="216" align="center" prop="fMblno" show-overflow-tooltip />
       <el-table-column label="品名" fixed :show-overflow-tooltip="true" align="center" prop="fProductName" />
       <el-table-column label="品牌" fixed align="center" prop="fMarks" />
       <el-table-column
         label="入库日期"
         fixed
+        sortable
         align="center"
         prop="fBsdate"
         width="100"
@@ -315,7 +318,7 @@
         prop="fTrademodeid"
         :formatter="fTrademodeidFormat"
       /> -->
-      <el-table-column label="仓库" fixed align="center" prop="fWarehouseid" />
+      <el-table-column label="仓库" fixed sortable align="center" prop="fWarehouseid" />
       <el-table-column label="计划件数" align="center" prop="fPlanqty" />
       <el-table-column label="入库件数" align="center" prop="fQty" />
       <!--      <el-table-column label="入库毛重" align="center" prop="fGrossweight"/>-->

+ 5 - 2
src/views/warehouseBusiness/outStock/index.vue

@@ -262,6 +262,7 @@
         width="100"
         label="出库状态"
         fixed
+        sortable
         align="center"
         prop="fItemsStatus"
       >
@@ -277,16 +278,18 @@
         width="220"
         label="货权方"
         fixed
+        sortable
         align="center"
         prop="fCorpid"
       />
-      <el-table-column label="提单号" width="216" align="center" prop="fMblno" fixed show-overflow-tooltip/>
+      <el-table-column label="提单号" sortable width="216" align="center" prop="fMblno" fixed show-overflow-tooltip/>
       <el-table-column label="品名" :show-overflow-tooltip="true" fixed align="ceter" prop="fProductName" />
       <el-table-column label="品牌" align="center" fixed prop="fMarks" />
       <el-table-column
         label="出库日期"
         align="center"
         fixed
+        sortable
         prop="createTime"
         style="width: 60%"
         width="100"
@@ -295,7 +298,7 @@
         <span>{{ parseTime(scope.row.fBsdate, "{y}-{m}-{d}") }}</span>
       </template>
       </el-table-column>
-      <el-table-column label="仓库" fixed align="center" prop="fWarehouseid" />
+      <el-table-column label="仓库" sortable fixed align="center" prop="fWarehouseid" />
       <el-table-column label="计划件数" align="center" prop="fPlanqty" />
       <el-table-column label="出库件数" align="center" prop="fQty" />
       <el-table-column label="出库毛重(kg)" align="center" prop="fGrossweight" width="100"/>

+ 6 - 3
src/views/warehouseBusiness/stockTransfer/index.vue

@@ -262,6 +262,7 @@
       <el-table-column
         width="100"
         fixed
+        sortable
         label="调拨状态"
         align="center"
         prop="fItemsStatus"
@@ -278,24 +279,26 @@
         width="220"
         label="货权方"
         fixed
+        sortable
         align="center"
         prop="fCorpid"
       />
-      <el-table-column label="提单号" fixed width="216" align="center" prop="fMblno" show-overflow-tooltip/>
+      <el-table-column label="提单号" sortable fixed width="216" align="center" prop="fMblno" show-overflow-tooltip/>
       <el-table-column label="品名" fixed :show-overflow-tooltip="true" align="ceter" prop="fProductName" />
       <el-table-column label="品牌" fixed align="center" prop="fMarks" />
       <el-table-column
         label="调拨日期"
         align="center"
         fixed
+        sortable
         prop="createTime"
         width="100"
         ><template slot-scope="scope">
           <span>{{ parseTime(scope.row.fBsdate, "{y}-{m}-{d}") }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="调入仓库" fixed align="center" prop="fWarehouseid" />
-      <el-table-column label="调出仓库" fixed align="center" prop="fInwarehouseid" />
+      <el-table-column label="调入仓库" sortable fixed align="center" prop="fWarehouseid" width="100"/>
+      <el-table-column label="调出仓库" sortable fixed align="center" prop="fInwarehouseid" width="100"/>
       <el-table-column label="计划调拨件数" align="center" prop="fPlanqty" width="100"/>
       <el-table-column label="调拨件数" align="center" prop="fQty" />
       <el-table-column label="调拨毛重(kg)" align="center" prop="fGrossweight" width="100"/>