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
trash-garbage/src/main/resources/mapper/GarOrderMatchAskMapper.xml
| ... | ... | @@ -43,7 +43,6 @@ |
| 43 | 43 | <result property="garUpdateBy" column="gar_update_by" /> |
| 44 | 44 | <result property="garRemark" column="gar_remark" /> |
| 45 | 45 | <result property="garCarryingWeight" column="gar_carrying_weight" /> |
| 46 | - <result property="garReceptionQuantity" column="gar_reception_quantity" /> | |
| 47 | 46 | <result property="dropPointId" column="drop_point_id" /> |
| 48 | 47 | <result property="dropPointName" column="drop_point_name" /> |
| 49 | 48 | <result property="garOrderType" column="gar_order_type" /> |
| ... | ... | @@ -63,7 +62,7 @@ |
| 63 | 62 | </resultMap> |
| 64 | 63 | |
| 65 | 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 | 66 | </sql> |
| 68 | 67 | |
| 69 | 68 | <select id="selectGarOrderMatchAskList" parameterType="GarOrderMatchAsk" resultMap="GarOrderMatchAskResult"> |
| ... | ... | @@ -83,7 +82,6 @@ |
| 83 | 82 | <if test="garUpdateBy != null and garUpdateBy != ''"> and gar_update_by = #{garUpdateBy}</if> |
| 84 | 83 | <if test="garRemark != null and garRemark != ''"> and gar_remark = #{garRemark}</if> |
| 85 | 84 | <if test="garCarryingWeight != null "> and gar_carrying_weight = #{garCarryingWeight}</if> |
| 86 | - <if test="garReceptionQuantity != null "> and gar_reception_quantity = #{garReceptionQuantity}</if> | |
| 87 | 85 | <if test="dropPointName != null and dropPointName != ''"> and drop_point_name like concat('%', #{dropPointName}, '%')</if> |
| 88 | 86 | <if test="garOrderType != null and garOrderType != ''"> and gar_order_type = #{garOrderType}</if> |
| 89 | 87 | <if test="disposalId != null and disposalId != ''"> and disposal_id = #{disposalId}</if> |
| ... | ... | @@ -117,7 +115,6 @@ |
| 117 | 115 | <if test="garUpdateBy != null">gar_update_by,</if> |
| 118 | 116 | <if test="garRemark != null">gar_remark,</if> |
| 119 | 117 | <if test="garCarryingWeight != null">gar_carrying_weight,</if> |
| 120 | - <if test="garReceptionQuantity != null">gar_reception_quantity,</if> | |
| 121 | 118 | <if test="dropPointId != null">drop_point_id,</if> |
| 122 | 119 | <if test="dropPointName != null">drop_point_name,</if> |
| 123 | 120 | <if test="garOrderType != null">gar_order_type,</if> |
| ... | ... | @@ -143,7 +140,6 @@ |
| 143 | 140 | <if test="garUpdateBy != null">#{garUpdateBy},</if> |
| 144 | 141 | <if test="garRemark != null">#{garRemark},</if> |
| 145 | 142 | <if test="garCarryingWeight != null">#{garCarryingWeight},</if> |
| 146 | - <if test="garReceptionQuantity != null">#{garReceptionQuantity},</if> | |
| 147 | 143 | <if test="dropPointId != null">#{dropPointId},</if> |
| 148 | 144 | <if test="dropPointName != null">#{dropPointName},</if> |
| 149 | 145 | <if test="garOrderType != null">#{garOrderType},</if> |
| ... | ... | @@ -172,7 +168,6 @@ |
| 172 | 168 | <if test="garUpdateBy != null">gar_update_by = #{garUpdateBy},</if> |
| 173 | 169 | <if test="garRemark != null">gar_remark = #{garRemark},</if> |
| 174 | 170 | <if test="garCarryingWeight != null">gar_carrying_weight = #{garCarryingWeight},</if> |
| 175 | - <if test="garReceptionQuantity != null">gar_reception_quantity = #{garReceptionQuantity},</if> | |
| 176 | 171 | <if test="dropPointId != null">drop_point_id = #{dropPointId},</if> |
| 177 | 172 | <if test="dropPointName != null">drop_point_name = #{dropPointName},</if> |
| 178 | 173 | <if test="garOrderType != null">gar_order_type = #{garOrderType},</if> | ... | ... |
trash-ui/src/views/ask/ask/index.vue
| ... | ... | @@ -190,7 +190,8 @@ |
| 190 | 190 | <td>联系电话</td> |
| 191 | 191 | <td>{{ form.garOrderPhone || '-' }}</td> |
| 192 | 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 | 195 | </tr> |
| 195 | 196 | <tr> |
| 196 | 197 | <td>投放地址</td> | ... | ... |