Browse Source

上挂 衣物查询 附件

lhch2015 2 months ago
parent
commit
10fba04bf6

+ 1 - 1
admin-ui/src/views/cloth/hanger/upHanger.vue

@@ -13,7 +13,7 @@
                                     <el-input v-model="queryParams.orderNo" placeholder="请输入洗衣单号" clearable @keyup.enter.native="handleQuery" />
                                 </el-form-item>
                                 <el-form-item label="状态" prop="flowStatus">
-                                    <el-radio-group v-model="queryParams.flowStatus">
+                                    <el-radio-group v-model="queryParams.flowStatus" @change="handleQuery">
                                         <el-radio-button label="3">未上挂</el-radio-button>
                                         <el-radio-button label="4">已上挂</el-radio-button>
                                     </el-radio-group>

+ 13 - 5
admin-ui/src/views/order/cloth/searchCloth.vue

@@ -45,9 +45,8 @@
         </el-row>
 
         <Page uri="/mapi/order/clothItem/list" :request-params="queryParams" ref="pagination">
-            <el-table-column label="订单编号" align="center" prop="orderNo" min-width="100" fixed="left" />
-            <el-table-column label="衣物条码" align="center" prop="washCode" />
-            <el-table-column label="衣服名称" align="center" prop="clothItemName" />
+            <el-table-column label="衣物条码" align="center" prop="washCode" fixed="left" min-width="120"/>
+            <el-table-column label="衣服名称" align="center" prop="clothItemName"  min-width="120"/>
           <el-table-column label="衣物照片" align="center" width="120">
             <template slot-scope="scope">
               <div class="cloth-photos" v-if="scope.row.pics">
@@ -88,6 +87,14 @@
                     </template>
                 </template>
             </el-table-column>
+            <el-table-column label="附件" align="center"  min-width="120">
+                <template slot-scope="scope">
+                    <template v-for="(item, index) in scope.row.orderClothAdjuncts">
+                        {{ index == 0 ? item.adjunctName : ',' + item.adjunctName }}
+                    </template>
+                    <span v-if="!scope.row.orderClothAdjuncts">暂无</span>
+                </template>
+            </el-table-column>
             <el-table-column label="挂衣号" align="center">
                 <template slot-scope="scope">
                     <span v-if="scope.row.clothHanger">
@@ -102,13 +109,14 @@
                     <dict-tag v-else :options="dict.type.order_cloth_flow_status" :value="scope.row.flowStatus" />
                 </template>
             </el-table-column>
+            <el-table-column label="订单编号" align="center" prop="orderNo" min-width="120" />
           <el-table-column label="订单状态" align="center" prop="flowStatus" width="80">
             <template slot-scope="scope">
               <dict-tag :options="dict.type.cloth_order_status" :value="scope.row.orderStatus" />
             </template>
           </el-table-column>
-            <el-table-column label="下单时间" align="center" prop="createTime" />
-            <el-table-column label="取衣时间" align="center" prop="sendClothTime">
+            <el-table-column label="下单时间" align="center" prop="createTime"  min-width="90"/>
+            <el-table-column label="取衣时间" align="center" prop="sendClothTime"  min-width="90">
                 <template slot-scope="scope">
                     <span v-if="scope.row.sendClothTime">
                         {{ scope.row.clothHanger.sendClothTime }}