Commit 38eec92ae41c1ac11db399e9f4f7e7a2bdbeb7c4
1 parent
3705bf27
电子联单bug 修复,导出联单,打印联单
Showing
3 changed files
with
4 additions
and
7 deletions
trash-garbage/src/main/java/com/trash/garbage/service/impl/GarOrderServiceImpl.java
| @@ -681,6 +681,7 @@ public class GarOrderServiceImpl extends ServiceImpl<GarOrderMapper, GarOrder> | @@ -681,6 +681,7 @@ public class GarOrderServiceImpl extends ServiceImpl<GarOrderMapper, GarOrder> | ||
| 681 | askService.updateById(garOrderMatchAsk); | 681 | askService.updateById(garOrderMatchAsk); |
| 682 | break; | 682 | break; |
| 683 | } | 683 | } |
| 684 | + dropCarNum = garOrderMatchAsk.getDropCarNum(); | ||
| 684 | } | 685 | } |
| 685 | 686 | ||
| 686 | } | 687 | } |
trash-garbage/src/main/resources/mapper/GarOrderMatchAskMapper.xml
| @@ -43,7 +43,6 @@ | @@ -43,7 +43,6 @@ | ||
| 43 | <result property="garUpdateBy" column="gar_update_by" /> | 43 | <result property="garUpdateBy" column="gar_update_by" /> |
| 44 | <result property="garRemark" column="gar_remark" /> | 44 | <result property="garRemark" column="gar_remark" /> |
| 45 | <result property="garCarryingWeight" column="gar_carrying_weight" /> | 45 | <result property="garCarryingWeight" column="gar_carrying_weight" /> |
| 46 | - <result property="garReceptionQuantity" column="gar_reception_quantity" /> | ||
| 47 | <result property="dropPointId" column="drop_point_id" /> | 46 | <result property="dropPointId" column="drop_point_id" /> |
| 48 | <result property="dropPointName" column="drop_point_name" /> | 47 | <result property="dropPointName" column="drop_point_name" /> |
| 49 | <result property="garOrderType" column="gar_order_type" /> | 48 | <result property="garOrderType" column="gar_order_type" /> |
| @@ -63,7 +62,7 @@ | @@ -63,7 +62,7 @@ | ||
| 63 | </resultMap> | 62 | </resultMap> |
| 64 | 63 | ||
| 65 | <sql id="selectGarOrderMatchAskVo"> | 64 | <sql id="selectGarOrderMatchAskVo"> |
| 66 | - select gar_id,gar_order_id,gar_order_handler_tel,gar_order_handler_name,gar_order_container_volume,gar_order_handler_id,gar_handler_car_code,gar_order_handler_company_id,gar_order_handler_company_name,gar_create_time,gar_update_time,gar_create_by,gar_update_by,gar_remark,gar_carrying_weight,gar_reception_quantity,drop_point_id,drop_point_name,gar_order_type,disposal_id,disposal_site_name,gar_order_number,gar_order_phone,gar_order_name,drop_custodian_phone,drop_address,drop_car_num,gar_car_code,create_time,create_by,update_time,update_by,gar_order_time from gar_order_match_ask | 65 | + select gar_id,gar_order_id,gar_order_handler_tel,gar_order_handler_name,gar_order_container_volume,gar_order_handler_id,gar_handler_car_code,gar_order_handler_company_id,gar_order_handler_company_name,gar_create_time,gar_update_time,gar_create_by,gar_update_by,gar_remark,gar_carrying_weight,drop_point_id,drop_point_name,gar_order_type,disposal_id,disposal_site_name,gar_order_number,gar_order_phone,gar_order_name,drop_custodian_phone,drop_address,drop_car_num,gar_car_code,create_time,create_by,update_time,update_by,gar_order_time from gar_order_match_ask |
| 67 | </sql> | 66 | </sql> |
| 68 | 67 | ||
| 69 | <select id="selectGarOrderMatchAskList" parameterType="GarOrderMatchAsk" resultMap="GarOrderMatchAskResult"> | 68 | <select id="selectGarOrderMatchAskList" parameterType="GarOrderMatchAsk" resultMap="GarOrderMatchAskResult"> |
| @@ -83,7 +82,6 @@ | @@ -83,7 +82,6 @@ | ||
| 83 | <if test="garUpdateBy != null and garUpdateBy != ''"> and gar_update_by = #{garUpdateBy}</if> | 82 | <if test="garUpdateBy != null and garUpdateBy != ''"> and gar_update_by = #{garUpdateBy}</if> |
| 84 | <if test="garRemark != null and garRemark != ''"> and gar_remark = #{garRemark}</if> | 83 | <if test="garRemark != null and garRemark != ''"> and gar_remark = #{garRemark}</if> |
| 85 | <if test="garCarryingWeight != null "> and gar_carrying_weight = #{garCarryingWeight}</if> | 84 | <if test="garCarryingWeight != null "> and gar_carrying_weight = #{garCarryingWeight}</if> |
| 86 | - <if test="garReceptionQuantity != null "> and gar_reception_quantity = #{garReceptionQuantity}</if> | ||
| 87 | <if test="dropPointName != null and dropPointName != ''"> and drop_point_name like concat('%', #{dropPointName}, '%')</if> | 85 | <if test="dropPointName != null and dropPointName != ''"> and drop_point_name like concat('%', #{dropPointName}, '%')</if> |
| 88 | <if test="garOrderType != null and garOrderType != ''"> and gar_order_type = #{garOrderType}</if> | 86 | <if test="garOrderType != null and garOrderType != ''"> and gar_order_type = #{garOrderType}</if> |
| 89 | <if test="disposalId != null and disposalId != ''"> and disposal_id = #{disposalId}</if> | 87 | <if test="disposalId != null and disposalId != ''"> and disposal_id = #{disposalId}</if> |
| @@ -117,7 +115,6 @@ | @@ -117,7 +115,6 @@ | ||
| 117 | <if test="garUpdateBy != null">gar_update_by,</if> | 115 | <if test="garUpdateBy != null">gar_update_by,</if> |
| 118 | <if test="garRemark != null">gar_remark,</if> | 116 | <if test="garRemark != null">gar_remark,</if> |
| 119 | <if test="garCarryingWeight != null">gar_carrying_weight,</if> | 117 | <if test="garCarryingWeight != null">gar_carrying_weight,</if> |
| 120 | - <if test="garReceptionQuantity != null">gar_reception_quantity,</if> | ||
| 121 | <if test="dropPointId != null">drop_point_id,</if> | 118 | <if test="dropPointId != null">drop_point_id,</if> |
| 122 | <if test="dropPointName != null">drop_point_name,</if> | 119 | <if test="dropPointName != null">drop_point_name,</if> |
| 123 | <if test="garOrderType != null">gar_order_type,</if> | 120 | <if test="garOrderType != null">gar_order_type,</if> |
| @@ -143,7 +140,6 @@ | @@ -143,7 +140,6 @@ | ||
| 143 | <if test="garUpdateBy != null">#{garUpdateBy},</if> | 140 | <if test="garUpdateBy != null">#{garUpdateBy},</if> |
| 144 | <if test="garRemark != null">#{garRemark},</if> | 141 | <if test="garRemark != null">#{garRemark},</if> |
| 145 | <if test="garCarryingWeight != null">#{garCarryingWeight},</if> | 142 | <if test="garCarryingWeight != null">#{garCarryingWeight},</if> |
| 146 | - <if test="garReceptionQuantity != null">#{garReceptionQuantity},</if> | ||
| 147 | <if test="dropPointId != null">#{dropPointId},</if> | 143 | <if test="dropPointId != null">#{dropPointId},</if> |
| 148 | <if test="dropPointName != null">#{dropPointName},</if> | 144 | <if test="dropPointName != null">#{dropPointName},</if> |
| 149 | <if test="garOrderType != null">#{garOrderType},</if> | 145 | <if test="garOrderType != null">#{garOrderType},</if> |
| @@ -172,7 +168,6 @@ | @@ -172,7 +168,6 @@ | ||
| 172 | <if test="garUpdateBy != null">gar_update_by = #{garUpdateBy},</if> | 168 | <if test="garUpdateBy != null">gar_update_by = #{garUpdateBy},</if> |
| 173 | <if test="garRemark != null">gar_remark = #{garRemark},</if> | 169 | <if test="garRemark != null">gar_remark = #{garRemark},</if> |
| 174 | <if test="garCarryingWeight != null">gar_carrying_weight = #{garCarryingWeight},</if> | 170 | <if test="garCarryingWeight != null">gar_carrying_weight = #{garCarryingWeight},</if> |
| 175 | - <if test="garReceptionQuantity != null">gar_reception_quantity = #{garReceptionQuantity},</if> | ||
| 176 | <if test="dropPointId != null">drop_point_id = #{dropPointId},</if> | 171 | <if test="dropPointId != null">drop_point_id = #{dropPointId},</if> |
| 177 | <if test="dropPointName != null">drop_point_name = #{dropPointName},</if> | 172 | <if test="dropPointName != null">drop_point_name = #{dropPointName},</if> |
| 178 | <if test="garOrderType != null">gar_order_type = #{garOrderType},</if> | 173 | <if test="garOrderType != null">gar_order_type = #{garOrderType},</if> |
trash-ui/src/views/ask/ask/index.vue
| @@ -190,7 +190,8 @@ | @@ -190,7 +190,8 @@ | ||
| 190 | <td>联系电话</td> | 190 | <td>联系电话</td> |
| 191 | <td>{{ form.garOrderPhone || '-' }}</td> | 191 | <td>{{ form.garOrderPhone || '-' }}</td> |
| 192 | <td>车次</td> | 192 | <td>车次</td> |
| 193 | - <td>{{ form.dropCarNum }}/{{ dropCarNum }}</td> | 193 | + <td v-if="form.dropCarNum!==0">{{ form.dropCarNum }}/{{ dropCarNum }}</td> |
| 194 | + <td v-if="form.dropCarNum===0">-</td> | ||
| 194 | </tr> | 195 | </tr> |
| 195 | <tr> | 196 | <tr> |
| 196 | <td>投放地址</td> | 197 | <td>投放地址</td> |