Merge branch 'dev' into test
This commit is contained in:
commit
c1dc8fe5ec
|
|
@ -143,6 +143,7 @@ public class LeaseApplyDetails implements Serializable {
|
|||
*/
|
||||
@ApiModelProperty(value = "装备管理方式名称")
|
||||
private String manageTypeName;
|
||||
private String maCode;
|
||||
|
||||
/**
|
||||
* 实时库存
|
||||
|
|
|
|||
|
|
@ -516,11 +516,12 @@
|
|||
SELECT
|
||||
lad.*, mt.type_name AS typeModelName, mt1.type_name AS typeName,mt.unit_name as unitName, mt.manage_type as manageType,
|
||||
case WHEN mt.manage_type = '0' then '编号' else '计数' end manageTypeName,
|
||||
mt.num, (lad.pre_num - IF(lad.al_num IS NULL,'0',lad.al_num)) AS outNum
|
||||
mt.num, (lad.pre_num - IF(lad.al_num IS NULL,'0',lad.al_num)) AS outNum,mm.ma_code as maCode
|
||||
FROM
|
||||
lease_apply_details lad
|
||||
LEFT JOIN ma_type mt ON lad.type_id = mt.type_id
|
||||
LEFT JOIN ma_type mt1 ON mt.parent_id = mt1.type_id
|
||||
LEFT JOIN ma_machine mm ON lad.type_id = mm.type_id
|
||||
WHERE
|
||||
lad.parennt_id = #{record.id} AND lad.company_id = #{record.companyId}
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
@Transactional
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public int auditScrap(ScrapAudit scrapAudit) throws Exception {
|
||||
String checkResult = scrapAudit.getCheckResult();
|
||||
List<ScrapApplyDetails> scrapDetailList = scrapAudit.getScrapDetailList();
|
||||
|
|
@ -186,9 +186,9 @@ public class ScrapApplyDetailsServiceImpl implements IScrapApplyDetailsService {
|
|||
List<ScrapApplyDetails> repairList = new ArrayList<>();
|
||||
if (scrapApplyDetailsList.size()>0){
|
||||
for (ScrapApplyDetails bean : scrapApplyDetailsList){
|
||||
if (bean.getScrapSource().equals("1")){
|
||||
if ("1".equals(bean.getScrapSource())){
|
||||
backList.add(bean);
|
||||
}else if (bean.getScrapSource().equals("2")){
|
||||
}else if ("2".equals(bean.getScrapSource())){
|
||||
repairList.add(bean);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -350,7 +350,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="time != null and time != ''">
|
||||
and bai.back_time =#{time}
|
||||
</if>
|
||||
and bad.company_id = #{companyId}
|
||||
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
|
||||
ORDER BY bai.create_time desc
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -228,16 +228,26 @@
|
|||
<!-- 状态
|
||||
37-待审核
|
||||
38-已审核 -->
|
||||
<el-button type="text" v-if="scope.row.taskStatus == '37'">
|
||||
<el-button type="text" v-if="scope.row.taskStatus == '37'">
|
||||
待审核
|
||||
</el-button>
|
||||
<el-button
|
||||
type="text"
|
||||
style="color: #67c23a"
|
||||
v-else-if="scope.row.taskStatus == '38'"
|
||||
v-if="scope.row.taskStatus == '38'"
|
||||
>
|
||||
已审核
|
||||
</el-button>
|
||||
<el-button type="text" v-if="scope.row.taskStatus == '39'">
|
||||
退料核查
|
||||
</el-button>
|
||||
<el-button
|
||||
type="text"
|
||||
style="color: #67c23a"
|
||||
v-if="scope.row.taskStatus == '40'"
|
||||
>
|
||||
退料完成
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@ module.exports = {
|
|||
// target: `http://112.29.103.165:21626`,//线上环境-重庆
|
||||
// target: `http://112.29.103.165:21624`,//线上环境-宁夏
|
||||
// target: `http://192.168.0.14:21624`,//线上环境
|
||||
// target: `http://10.40.92.21:8080`,
|
||||
// target: `http://10.40.92.13:8080`,
|
||||
target: `http://10.40.92.220:8080`,
|
||||
// target: `http://10.40.92.21:8080`,//超
|
||||
target: `http://10.40.92.12:8080`,//韩
|
||||
// target: `http://10.40.92.220:8080`,//川
|
||||
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue