Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
maintain_service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘帅
maintain_service
Commits
92138d25
Commit
92138d25
authored
Jul 23, 2025
by
刘帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.优化
parent
3380e6ce
Changes
37
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
318 additions
and
138 deletions
+318
-138
ReportController.java
...va/com/maintain/web/controller/tool/ReportController.java
+5
-8
ErpClientController.java
...com/maintain/business/controller/ErpClientController.java
+10
-0
ErpMaintainCause.java
...n/java/com/maintain/business/domain/ErpMaintainCause.java
+4
-8
ErpMaintainCauseBo.java
...a/com/maintain/business/domain/bo/ErpMaintainCauseBo.java
+8
-0
ErpMaterialBo.java
...n/java/com/maintain/business/domain/bo/ErpMaterialBo.java
+1
-2
ErpMaintainCauseVo.java
...a/com/maintain/business/domain/vo/ErpMaintainCauseVo.java
+7
-0
ErpMaterialVo.java
...n/java/com/maintain/business/domain/vo/ErpMaterialVo.java
+2
-1
ErpMaintainCauseServiceImpl.java
...in/business/service/impl/ErpMaintainCauseServiceImpl.java
+1
-0
ErpMaterialInventoryRecordServiceImpl.java
...s/service/impl/ErpMaterialInventoryRecordServiceImpl.java
+1
-1
ErpMaterialPutawayServiceImpl.java
.../business/service/impl/ErpMaterialPutawayServiceImpl.java
+3
-0
SysDept.java
.../java/com/maintain/common/core/domain/entity/SysDept.java
+4
-0
index.vue
maintain-ui/src/views/business/client/index.vue
+1
-1
index.vue
maintain-ui/src/views/business/examineProject/index.vue
+6
-6
index.vue
maintain-ui/src/views/business/maintainCause/index.vue
+13
-2
index.vue
maintain-ui/src/views/business/malfunctionProject/index.vue
+6
-6
index.vue
maintain-ui/src/views/business/material/index.vue
+9
-3
index.vue
maintain-ui/src/views/business/materialCheck/index.vue
+16
-4
index.vue
maintain-ui/src/views/business/materialCheckInfo/index.vue
+9
-2
add.vue
maintain-ui/src/views/business/materialPicking/add.vue
+11
-3
index.vue
maintain-ui/src/views/business/materialPicking/index.vue
+16
-4
index.vue
maintain-ui/src/views/business/materialPickingInfo/index.vue
+16
-4
index.vue
maintain-ui/src/views/business/materialPutaway/index.vue
+18
-11
index.vue
maintain-ui/src/views/business/materialPutawayInfo/index.vue
+9
-3
index.vue
maintain-ui/src/views/business/materialReturns/index.vue
+11
-3
index.vue
maintain-ui/src/views/business/materialReturnsInfo/index.vue
+9
-2
index.vue
maintain-ui/src/views/business/materialStock/index.vue
+7
-3
index.vue
maintain-ui/src/views/business/pickingReturn/index.vue
+11
-3
index.vue
maintain-ui/src/views/business/repairForm/index.vue
+3
-3
info.vue
maintain-ui/src/views/business/repairForm/info.vue
+45
-35
index.vue
maintain-ui/src/views/business/repairFormProject/index.vue
+10
-10
index.vue
...ui/src/views/business/repairFormProjectDispatch/index.vue
+1
-0
index.vue
maintain-ui/src/views/business/settlementConfirm/index.vue
+1
-1
index1.vue
...-ui/src/views/business/settlementMaterial/info/index1.vue
+17
-5
index2.vue
...-ui/src/views/business/settlementMaterial/info/index2.vue
+5
-1
index.vue
maintain-ui/src/views/business/user/index.vue
+4
-0
index.vue
maintain-ui/src/views/system/dept/index.vue
+17
-2
index.vue
maintain-ui/src/views/system/role/index.vue
+1
-1
No files found.
maintain-admin/src/main/java/com/maintain/web/controller/tool/ReportController.java
View file @
92138d25
package
com
.
maintain
.
web
.
controller
.
tool
;
package
com
.
maintain
.
web
.
controller
.
tool
;
import
cn.dev33.satoken.annotation.SaCheckPermission
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
com.maintain.common.utils.ip.IpUtils
;
import
groovy.transform.AnnotationCollector
;
import
org.springframework.core.env.Environment
;
import
org.springframework.core.env.Environment
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.beans.factory.annotation.Autowired
;
@RestController
@RestController
...
@@ -20,24 +17,24 @@ public class ReportController {
...
@@ -20,24 +17,24 @@ public class ReportController {
//报表设计
//报表设计
@GetMapping
(
value
=
"/reportList"
)
@GetMapping
(
value
=
"/reportList"
)
public
String
ReportList
(){
public
String
ReportList
(){
return
"http://
"
+
IpUtils
.
getHostIp
()
+
"
:"
+
environment
.
getProperty
(
"server.port"
)
+
"/jmreport/list"
;
return
"http://
10.100.102.82
:"
+
environment
.
getProperty
(
"server.port"
)
+
"/jmreport/list"
;
}
}
//报表查看
//报表查看
@GetMapping
(
value
=
"/reportView"
)
@GetMapping
(
value
=
"/reportView"
)
public
String
ReportView
(){
public
String
ReportView
(){
return
"http://
"
+
IpUtils
.
getHostIp
()
+
"
:"
+
environment
.
getProperty
(
"server.port"
)
+
"/jmreport/view"
;
return
"http://
10.100.102.82
:"
+
environment
.
getProperty
(
"server.port"
)
+
"/jmreport/view"
;
}
}
//报表查看
//报表查看
@GetMapping
(
value
=
"/biList"
)
@GetMapping
(
value
=
"/biList"
)
public
String
bi
(){
public
String
bi
(){
return
"http://
"
+
IpUtils
.
getHostIp
()
+
"
:"
+
environment
.
getProperty
(
"server.port"
)
+
"/drag/list"
;
return
"http://
10.100.102.82
:"
+
environment
.
getProperty
(
"server.port"
)
+
"/drag/list"
;
}
}
//报表查看
//报表查看
@GetMapping
(
value
=
"/biView"
)
@GetMapping
(
value
=
"/biView"
)
public
String
biView
(){
public
String
biView
(){
return
"http://
"
+
IpUtils
.
getHostIp
()
+
"
:"
+
environment
.
getProperty
(
"server.port"
)
+
"/drag/share/view"
;
return
"http://
10.100.102.82
:"
+
environment
.
getProperty
(
"server.port"
)
+
"/drag/share/view"
;
}
}
}
}
maintain-business/src/main/java/com/maintain/business/controller/ErpClientController.java
View file @
92138d25
package
com
.
maintain
.
business
.
controller
;
package
com
.
maintain
.
business
.
controller
;
import
cn.dev33.satoken.annotation.SaCheckPermission
;
import
cn.dev33.satoken.annotation.SaCheckPermission
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.maintain.business.domain.ErpCar
;
import
com.maintain.business.domain.ErpClient
;
import
com.maintain.business.domain.ErpClient
;
import
com.maintain.business.domain.bo.ErpClientBo
;
import
com.maintain.business.domain.bo.ErpClientBo
;
import
com.maintain.business.domain.vo.ErpClientVo
;
import
com.maintain.business.domain.vo.ErpClientVo
;
import
com.maintain.business.listener.ErpClientImportListener
;
import
com.maintain.business.listener.ErpClientImportListener
;
import
com.maintain.business.mapper.ErpCarMapper
;
import
com.maintain.business.mapper.ErpClientMapper
;
import
com.maintain.business.mapper.ErpClientMapper
;
import
com.maintain.business.service.IErpClientService
;
import
com.maintain.business.service.IErpClientService
;
import
com.maintain.common.annotation.Log
;
import
com.maintain.common.annotation.Log
;
...
@@ -19,6 +22,7 @@ import com.maintain.common.core.validate.AddGroup;
...
@@ -19,6 +22,7 @@ import com.maintain.common.core.validate.AddGroup;
import
com.maintain.common.core.validate.EditGroup
;
import
com.maintain.common.core.validate.EditGroup
;
import
com.maintain.common.enums.BusinessType
;
import
com.maintain.common.enums.BusinessType
;
import
com.maintain.common.excel.ExcelResult
;
import
com.maintain.common.excel.ExcelResult
;
import
com.maintain.common.exception.ServiceException
;
import
com.maintain.common.utils.poi.ExcelUtil
;
import
com.maintain.common.utils.poi.ExcelUtil
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.MediaType
;
import
org.springframework.http.MediaType
;
...
@@ -47,6 +51,7 @@ public class ErpClientController extends BaseController {
...
@@ -47,6 +51,7 @@ public class ErpClientController extends BaseController {
private
final
IErpClientService
iErpClientService
;
private
final
IErpClientService
iErpClientService
;
private
final
ErpClientMapper
clientMapper
;
private
final
ErpClientMapper
clientMapper
;
private
final
ErpCarMapper
carMapper
;
/**
/**
* 查询客户信息-客户列表
* 查询客户信息-客户列表
...
@@ -141,6 +146,11 @@ public class ErpClientController extends BaseController {
...
@@ -141,6 +146,11 @@ public class ErpClientController extends BaseController {
@DeleteMapping
(
"/{ids}"
)
@DeleteMapping
(
"/{ids}"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
@PathVariable
Long
[]
ids
)
{
@PathVariable
Long
[]
ids
)
{
LambdaQueryWrapper
<
ErpCar
>
lambdaQuery
=
Wrappers
.
lambdaQuery
();
lambdaQuery
.
in
(
ErpCar:
:
getClientId
,
Arrays
.
asList
(
ids
));
if
(!
carMapper
.
selectList
(
lambdaQuery
).
isEmpty
())
{
throw
new
ServiceException
(
"客户已绑定车辆,无法删除!"
);
}
// 状态更改为注销
// 状态更改为注销
LambdaUpdateWrapper
<
ErpClient
>
updateWrapper
=
Wrappers
.
lambdaUpdate
();
LambdaUpdateWrapper
<
ErpClient
>
updateWrapper
=
Wrappers
.
lambdaUpdate
();
updateWrapper
.
in
(
ErpClient:
:
getId
,
Arrays
.
asList
(
ids
)).
set
(
ErpClient:
:
getState
,
1
);
updateWrapper
.
in
(
ErpClient:
:
getId
,
Arrays
.
asList
(
ids
)).
set
(
ErpClient:
:
getState
,
1
);
...
...
maintain-business/src/main/java/com/maintain/business/domain/ErpMaintainCause.java
View file @
92138d25
...
@@ -35,6 +35,10 @@ public class ErpMaintainCause extends BaseEntity {
...
@@ -35,6 +35,10 @@ public class ErpMaintainCause extends BaseEntity {
* 维修原因编号
* 维修原因编号
*/
*/
private
String
maintainCauseCode
;
private
String
maintainCauseCode
;
/**
* 类型(1修理 2维护 3修理与维护)
*/
private
String
type
;
/**
/**
* 是否删除(0否 1是 默认0)
* 是否删除(0否 1是 默认0)
*/
*/
...
@@ -43,13 +47,5 @@ public class ErpMaintainCause extends BaseEntity {
...
@@ -43,13 +47,5 @@ public class ErpMaintainCause extends BaseEntity {
* 是否启用(0否 1是 默认1)
* 是否启用(0否 1是 默认1)
*/
*/
private
Integer
isEnable
;
private
Integer
isEnable
;
/**
* 创建者
*/
private
String
createBy
;
/**
* 创建时间
*/
private
Date
createTime
;
}
}
maintain-business/src/main/java/com/maintain/business/domain/bo/ErpMaintainCauseBo.java
View file @
92138d25
package
com
.
maintain
.
business
.
domain
.
bo
;
package
com
.
maintain
.
business
.
domain
.
bo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.maintain.common.annotation.ExcelDictFormat
;
import
com.maintain.common.convert.ExcelDictConvert
;
import
com.maintain.common.core.validate.AddGroup
;
import
com.maintain.common.core.validate.AddGroup
;
import
com.maintain.common.core.validate.EditGroup
;
import
com.maintain.common.core.validate.EditGroup
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -39,6 +42,11 @@ public class ErpMaintainCauseBo extends BaseEntity {
...
@@ -39,6 +42,11 @@ public class ErpMaintainCauseBo extends BaseEntity {
@NotBlank
(
message
=
"维修原因编号不能为空"
,
groups
=
{
AddGroup
.
class
,
EditGroup
.
class
})
@NotBlank
(
message
=
"维修原因编号不能为空"
,
groups
=
{
AddGroup
.
class
,
EditGroup
.
class
})
private
String
maintainCauseCode
;
private
String
maintainCauseCode
;
/**
* 类型(1修理 2维护 3修理与维护)
*/
private
String
type
;
/**
/**
* 是否删除(0否 1是 默认0)
* 是否删除(0否 1是 默认0)
*/
*/
...
...
maintain-business/src/main/java/com/maintain/business/domain/bo/ErpMaterialBo.java
View file @
92138d25
...
@@ -33,7 +33,6 @@ public class ErpMaterialBo extends BaseEntity {
...
@@ -33,7 +33,6 @@ public class ErpMaterialBo extends BaseEntity {
/**
/**
* 物资分类ID
* 物资分类ID
*/
*/
@NotNull
(
message
=
"物资分类不能为空"
,
groups
=
{
AddGroup
.
class
,
EditGroup
.
class
})
private
Long
materialTypeId
;
private
Long
materialTypeId
;
/**
/**
...
@@ -79,7 +78,7 @@ public class ErpMaterialBo extends BaseEntity {
...
@@ -79,7 +78,7 @@ public class ErpMaterialBo extends BaseEntity {
/**
/**
* 供应商ID
* 供应商ID
*/
*/
@NotNull
(
message
=
"供应商
ID
不能为空"
,
groups
=
{
AddGroup
.
class
,
EditGroup
.
class
})
@NotNull
(
message
=
"供应商不能为空"
,
groups
=
{
AddGroup
.
class
,
EditGroup
.
class
})
private
Long
vendorId
;
private
Long
vendorId
;
/**
/**
...
...
maintain-business/src/main/java/com/maintain/business/domain/vo/ErpMaintainCauseVo.java
View file @
92138d25
...
@@ -39,6 +39,13 @@ public class ErpMaintainCauseVo implements Serializable {
...
@@ -39,6 +39,13 @@ public class ErpMaintainCauseVo implements Serializable {
@ExcelProperty
(
value
=
"维修原因编号"
)
@ExcelProperty
(
value
=
"维修原因编号"
)
private
String
maintainCauseCode
;
private
String
maintainCauseCode
;
/**
* 类型(1修理 2维护 3修理与维护)
*/
@ExcelProperty
(
value
=
"类型"
,
converter
=
ExcelDictConvert
.
class
)
@ExcelDictFormat
(
dictType
=
"baoxiudanleixing"
)
private
String
type
;
/**
/**
* 是否删除(0否 1是 默认0)
* 是否删除(0否 1是 默认0)
*/
*/
...
...
maintain-business/src/main/java/com/maintain/business/domain/vo/ErpMaterialVo.java
View file @
92138d25
...
@@ -69,7 +69,8 @@ public class ErpMaterialVo implements Serializable {
...
@@ -69,7 +69,8 @@ public class ErpMaterialVo implements Serializable {
/**
/**
* 物资单位
* 物资单位
*/
*/
@ExcelProperty
(
value
=
"物资单位"
)
@ExcelProperty
(
value
=
"物资单位"
,
converter
=
ExcelDictConvert
.
class
)
@ExcelDictFormat
(
dictType
=
"material_unit"
)
private
String
materialUnit
;
private
String
materialUnit
;
/**
/**
...
...
maintain-business/src/main/java/com/maintain/business/service/impl/ErpMaintainCauseServiceImpl.java
View file @
92138d25
...
@@ -63,6 +63,7 @@ public class ErpMaintainCauseServiceImpl implements IErpMaintainCauseService {
...
@@ -63,6 +63,7 @@ public class ErpMaintainCauseServiceImpl implements IErpMaintainCauseService {
LambdaQueryWrapper
<
ErpMaintainCause
>
lqw
=
Wrappers
.
lambdaQuery
();
LambdaQueryWrapper
<
ErpMaintainCause
>
lqw
=
Wrappers
.
lambdaQuery
();
lqw
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getMaintainCauseName
()),
ErpMaintainCause:
:
getMaintainCauseName
,
bo
.
getMaintainCauseName
());
lqw
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getMaintainCauseName
()),
ErpMaintainCause:
:
getMaintainCauseName
,
bo
.
getMaintainCauseName
());
lqw
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getMaintainCauseCode
()),
ErpMaintainCause:
:
getMaintainCauseCode
,
bo
.
getMaintainCauseCode
());
lqw
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getMaintainCauseCode
()),
ErpMaintainCause:
:
getMaintainCauseCode
,
bo
.
getMaintainCauseCode
());
lqw
.
eq
(
StringUtils
.
isNotBlank
(
bo
.
getType
()),
ErpMaintainCause:
:
getType
,
bo
.
getType
());
lqw
.
eq
(
bo
.
getIsDelete
()
!=
null
,
ErpMaintainCause:
:
getIsDelete
,
bo
.
getIsDelete
());
lqw
.
eq
(
bo
.
getIsDelete
()
!=
null
,
ErpMaintainCause:
:
getIsDelete
,
bo
.
getIsDelete
());
lqw
.
eq
(
bo
.
getIsEnable
()
!=
null
,
ErpMaintainCause:
:
getIsEnable
,
bo
.
getIsEnable
());
lqw
.
eq
(
bo
.
getIsEnable
()
!=
null
,
ErpMaintainCause:
:
getIsEnable
,
bo
.
getIsEnable
());
return
lqw
;
return
lqw
;
...
...
maintain-business/src/main/java/com/maintain/business/service/impl/ErpMaterialInventoryRecordServiceImpl.java
View file @
92138d25
...
@@ -70,7 +70,7 @@ public class ErpMaterialInventoryRecordServiceImpl implements IErpMaterialInvent
...
@@ -70,7 +70,7 @@ public class ErpMaterialInventoryRecordServiceImpl implements IErpMaterialInvent
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getMaterialCode
()),
"t.material_code"
,
bo
.
getMaterialCode
())
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getMaterialCode
()),
"t.material_code"
,
bo
.
getMaterialCode
())
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getMaterialSpecifications
()),
"t.material_specifications"
,
bo
.
getMaterialSpecifications
())
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getMaterialSpecifications
()),
"t.material_specifications"
,
bo
.
getMaterialSpecifications
())
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getVendorName
()),
"t.vendor_name"
,
bo
.
getVendorName
())
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getVendorName
()),
"t.vendor_name"
,
bo
.
getVendorName
())
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getWarehouseName
()),
"t.
n
ame"
,
bo
.
getWarehouseName
());
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getWarehouseName
()),
"t.
warehouseN
ame"
,
bo
.
getWarehouseName
());
return
query
;
return
query
;
}
}
...
...
maintain-business/src/main/java/com/maintain/business/service/impl/ErpMaterialPutawayServiceImpl.java
View file @
92138d25
...
@@ -93,6 +93,7 @@ public class ErpMaterialPutawayServiceImpl implements IErpMaterialPutawayService
...
@@ -93,6 +93,7 @@ public class ErpMaterialPutawayServiceImpl implements IErpMaterialPutawayService
lqw
.
eq
(
bo
.
getVendorId
()
!=
null
,
ErpMaterialPutaway:
:
getVendorId
,
bo
.
getVendorId
());
lqw
.
eq
(
bo
.
getVendorId
()
!=
null
,
ErpMaterialPutaway:
:
getVendorId
,
bo
.
getVendorId
());
lqw
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getVendorName
()),
ErpMaterialPutaway:
:
getVendorName
,
bo
.
getVendorName
());
lqw
.
like
(
StringUtils
.
isNotBlank
(
bo
.
getVendorName
()),
ErpMaterialPutaway:
:
getVendorName
,
bo
.
getVendorName
());
lqw
.
eq
(
bo
.
getCreateDeptId
()
!=
null
,
ErpMaterialPutaway:
:
getCreateDeptId
,
bo
.
getCreateDeptId
());
lqw
.
eq
(
bo
.
getCreateDeptId
()
!=
null
,
ErpMaterialPutaway:
:
getCreateDeptId
,
bo
.
getCreateDeptId
());
lqw
.
eq
(
bo
.
getState
()
!=
null
,
ErpMaterialPutaway:
:
getState
,
bo
.
getState
());
lqw
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
lqw
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
lqw
;
return
lqw
;
}
}
...
@@ -118,6 +119,7 @@ public class ErpMaterialPutawayServiceImpl implements IErpMaterialPutawayService
...
@@ -118,6 +119,7 @@ public class ErpMaterialPutawayServiceImpl implements IErpMaterialPutawayService
ErpMaterial
material
=
materialMapper
.
selectById
(
item
.
getMaterialId
());
ErpMaterial
material
=
materialMapper
.
selectById
(
item
.
getMaterialId
());
BeanUtil
.
copyProperties
(
material
,
putawayInfo
);
BeanUtil
.
copyProperties
(
material
,
putawayInfo
);
putawayInfo
.
setId
(
null
);
putawayInfo
.
setId
(
null
);
putawayInfo
.
setMaterialId
(
material
.
getId
());
putawayInfo
.
setPutawayId
(
add
.
getId
());
putawayInfo
.
setPutawayId
(
add
.
getId
());
putawayInfo
.
setState
(
bo
.
getState
());
putawayInfo
.
setState
(
bo
.
getState
());
return
putawayInfo
;
return
putawayInfo
;
...
@@ -222,6 +224,7 @@ public class ErpMaterialPutawayServiceImpl implements IErpMaterialPutawayService
...
@@ -222,6 +224,7 @@ public class ErpMaterialPutawayServiceImpl implements IErpMaterialPutawayService
ErpMaterial
material
=
materialMapper
.
selectById
(
item
.
getMaterialId
());
ErpMaterial
material
=
materialMapper
.
selectById
(
item
.
getMaterialId
());
BeanUtil
.
copyProperties
(
material
,
putawayInfo
);
BeanUtil
.
copyProperties
(
material
,
putawayInfo
);
putawayInfo
.
setId
(
null
);
putawayInfo
.
setId
(
null
);
putawayInfo
.
setMaterialId
(
material
.
getId
());
putawayInfo
.
setPutawayId
(
update
.
getId
());
putawayInfo
.
setPutawayId
(
update
.
getId
());
putawayInfo
.
setState
(
bo
.
getState
());
putawayInfo
.
setState
(
bo
.
getState
());
return
putawayInfo
;
return
putawayInfo
;
...
...
maintain-common/src/main/java/com/maintain/common/core/domain/entity/SysDept.java
View file @
92138d25
...
@@ -81,5 +81,9 @@ public class SysDept extends TreeEntity<SysDept> {
...
@@ -81,5 +81,9 @@ public class SysDept extends TreeEntity<SysDept> {
* 祖级列表
* 祖级列表
*/
*/
private
String
ancestors
;
private
String
ancestors
;
/**
* 类型(1总公司 2分公司 3车队 4车间 5总公司管理部门 6分公司管理部门 7维修点)
*/
private
String
type
;
}
}
maintain-ui/src/views/business/client/index.vue
View file @
92138d25
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
style=
"color: brown"
style=
"color: brown"
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['business:client:remove']"
v-hasPermi=
"['business:client:remove']"
>
注销
</el-button>
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
maintain-ui/src/views/business/examineProject/index.vue
View file @
92138d25
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"115px"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"115px"
>
<el-form-item
label=
"
检验项目名称"
prop=
"examin
eName"
>
<el-form-item
label=
"
分类名称"
prop=
"typ
eName"
>
<el-input
<el-input
v-model=
"queryParams.
examin
eName"
v-model=
"queryParams.
typ
eName"
placeholder=
"请输入
检验项目
名称"
placeholder=
"请输入
分类
名称"
clearable
clearable
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
/>
/>
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"
分类名称"
prop=
"typ
eName"
>
<el-form-item
label=
"
检验项目名称"
prop=
"examin
eName"
>
<el-input
<el-input
v-model=
"queryParams.
typ
eName"
v-model=
"queryParams.
examin
eName"
placeholder=
"请输入
分类
名称"
placeholder=
"请输入
检验项目
名称"
clearable
clearable
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
/>
/>
...
...
maintain-ui/src/views/business/maintainCause/index.vue
View file @
92138d25
...
@@ -80,6 +80,11 @@
...
@@ -80,6 +80,11 @@
<el-table-column
label=
"序号"
align=
"center"
type=
"index"
/>
<el-table-column
label=
"序号"
align=
"center"
type=
"index"
/>
<el-table-column
label=
"维修原因"
align=
"center"
prop=
"maintainCauseName"
/>
<el-table-column
label=
"维修原因"
align=
"center"
prop=
"maintainCauseName"
/>
<el-table-column
label=
"维修原因编号"
align=
"center"
prop=
"maintainCauseCode"
/>
<el-table-column
label=
"维修原因编号"
align=
"center"
prop=
"maintainCauseCode"
/>
<el-table-column
label=
"类型"
align=
"center"
prop=
"type"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.baoxiudanleixing"
:value=
"scope.row.type"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"创建人"
align=
"center"
prop=
"createBy"
/>
<el-table-column
label=
"创建人"
align=
"center"
prop=
"createBy"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
...
@@ -119,6 +124,11 @@
...
@@ -119,6 +124,11 @@
<el-form-item
label=
"维修原因编号"
prop=
"maintainCauseCode"
>
<el-form-item
label=
"维修原因编号"
prop=
"maintainCauseCode"
>
<el-input
v-model=
"form.maintainCauseCode"
placeholder=
"请输入维修原因编号"
/>
<el-input
v-model=
"form.maintainCauseCode"
placeholder=
"请输入维修原因编号"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"类型"
prop=
"type"
>
<el-select
v-model=
"form.type"
placeholder=
"请选择"
style=
"width: 100%;"
>
<el-option
v-for=
"item in dict.type.baoxiudanleixing"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
:loading=
"buttonLoading"
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
:loading=
"buttonLoading"
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
...
@@ -164,6 +174,7 @@ import { getToken } from '@/utils/auth'
...
@@ -164,6 +174,7 @@ import { getToken } from '@/utils/auth'
export
default
{
export
default
{
name
:
"
MaintainCause
"
,
name
:
"
MaintainCause
"
,
dicts
:
[
'
baoxiudanleixing
'
],
data
()
{
data
()
{
return
{
return
{
// 按钮loading
// 按钮loading
...
@@ -223,8 +234,8 @@ export default {
...
@@ -223,8 +234,8 @@ export default {
maintainCauseCode
:
[
maintainCauseCode
:
[
{
required
:
true
,
message
:
"
维修原因编号不能为空
"
,
trigger
:
"
blur
"
}
{
required
:
true
,
message
:
"
维修原因编号不能为空
"
,
trigger
:
"
blur
"
}
],
],
isDelet
e
:
[
typ
e
:
[
{
required
:
true
,
message
:
"
是否删除
不能为空
"
,
trigger
:
"
blur
"
}
{
required
:
true
,
message
:
"
类型
不能为空
"
,
trigger
:
"
blur
"
}
],
],
isEnable
:
[
isEnable
:
[
{
required
:
true
,
message
:
"
是否启用不能为空
"
,
trigger
:
"
blur
"
}
{
required
:
true
,
message
:
"
是否启用不能为空
"
,
trigger
:
"
blur
"
}
...
...
maintain-ui/src/views/business/malfunctionProject/index.vue
View file @
92138d25
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"110px"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"110px"
>
<el-form-item
label=
"故障项目
名称"
prop=
"malfunctionNam
e"
>
<el-form-item
label=
"故障项目
编号"
prop=
"malfunctionCod
e"
>
<el-input
<el-input
v-model=
"queryParams.malfunction
Nam
e"
v-model=
"queryParams.malfunction
Cod
e"
placeholder=
"请输入故障项目
名称
"
placeholder=
"请输入故障项目
编号
"
clearable
clearable
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"故障项目
编号"
prop=
"malfunctionCod
e"
>
<el-form-item
label=
"故障项目
名称"
prop=
"malfunctionNam
e"
>
<el-input
<el-input
v-model=
"queryParams.malfunction
Cod
e"
v-model=
"queryParams.malfunction
Nam
e"
placeholder=
"请输入故障项目
编号
"
placeholder=
"请输入故障项目
名称
"
clearable
clearable
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
/>
/>
...
...
maintain-ui/src/views/business/material/index.vue
View file @
92138d25
...
@@ -139,7 +139,11 @@
...
@@ -139,7 +139,11 @@
<el-table-column
label=
"物资名称"
align=
"center"
fixed=
"left"
prop=
"materialName"
/>
<el-table-column
label=
"物资名称"
align=
"center"
fixed=
"left"
prop=
"materialName"
/>
<el-table-column
label=
"物资规格"
align=
"center"
fixed=
"left"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资规格"
align=
"center"
fixed=
"left"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资品牌"
align=
"center"
fixed=
"left"
prop=
"materialBrand"
/>
<el-table-column
label=
"物资品牌"
align=
"center"
fixed=
"left"
prop=
"materialBrand"
/>
<el-table-column
label=
"物资单位"
align=
"center"
fixed=
"left"
prop=
"materialUnit"
/>
<el-table-column
label=
"物资单位"
align=
"center"
fixed=
"left"
prop=
"materialUnit"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.material_unit"
:value=
"scope.row.materialUnit"
/>
</
template
>
</el-table-column>
<!-- <el-table-column label="所在仓库" align="center" prop="warehouseName" />-->
<!-- <el-table-column label="所在仓库" align="center" prop="warehouseName" />-->
<!-- <el-table-column label="分类名称" align="center" prop="materialTypeName" />-->
<!-- <el-table-column label="分类名称" align="center" prop="materialTypeName" />-->
<el-table-column
label=
"供应商"
align=
"center"
prop=
"vendorName"
show-overflow-tooltip
/>
<el-table-column
label=
"供应商"
align=
"center"
prop=
"vendorName"
show-overflow-tooltip
/>
...
@@ -239,7 +243,9 @@
...
@@ -239,7 +243,9 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"物资单位"
prop=
"materialUnit"
>
<el-form-item
label=
"物资单位"
prop=
"materialUnit"
>
<el-input
v-model=
"form.materialUnit"
placeholder=
"请输入物资单位"
/>
<el-select
v-model=
"form.materialUnit"
placeHolder=
"请选择物资单位"
>
<el-option
v-for=
"dict in dict.type.material_unit"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -364,7 +370,7 @@ import {getToken} from "@/utils/auth";
...
@@ -364,7 +370,7 @@ import {getToken} from "@/utils/auth";
export
default
{
export
default
{
name
:
"
Material
"
,
name
:
"
Material
"
,
dicts
:[
'
sys_is_enable
'
],
dicts
:[
'
sys_is_enable
'
,
'
material_unit
'
],
components
:
{
Treeselect
},
components
:
{
Treeselect
},
data
()
{
data
()
{
return
{
return
{
...
...
maintain-ui/src/views/business/materialCheck/index.vue
View file @
92138d25
...
@@ -255,7 +255,11 @@
...
@@ -255,7 +255,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
库存
"
align
=
"
center
"
prop
=
"
inventory
"
/>
<
el
-
table
-
column
label
=
"
库存
"
align
=
"
center
"
prop
=
"
inventory
"
/>
...
@@ -326,7 +330,11 @@
...
@@ -326,7 +330,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
...
@@ -369,7 +377,11 @@
...
@@ -369,7 +377,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
库存
"
align
=
"
center
"
prop
=
"
inventory
"
/>
<
el
-
table
-
column
label
=
"
库存
"
align
=
"
center
"
prop
=
"
inventory
"
/>
...
@@ -404,7 +416,7 @@ import { formatDate } from '@/utils'
...
@@ -404,7 +416,7 @@ import { formatDate } from '@/utils'
export
default
{
export
default
{
name
:
"
MaterialCheck
"
,
name
:
"
MaterialCheck
"
,
components
:
{
Treeselect
}
,
components
:
{
Treeselect
}
,
dicts
:
[
'
check_state
'
,
'
check_type
'
,
'
check_state
'
,
'
check_info_state
'
],
dicts
:
[
'
check_state
'
,
'
check_type
'
,
'
check_state
'
,
'
check_info_state
'
,
'
material_unit
'
],
data
()
{
data
()
{
return
{
return
{
// 按钮loading
// 按钮loading
...
...
maintain-ui/src/views/business/materialCheckInfo/index.vue
View file @
92138d25
...
@@ -203,7 +203,11 @@
...
@@ -203,7 +203,11 @@
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.material_unit"
:value=
"scope.row.materialUnit"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"库存数量"
align=
"center"
prop=
"inventory"
/>
<el-table-column
label=
"库存数量"
align=
"center"
prop=
"inventory"
/>
<el-table-column
label=
"盘点数量"
align=
"center"
prop=
"checkNum"
/>
<el-table-column
label=
"盘点数量"
align=
"center"
prop=
"checkNum"
/>
...
@@ -272,7 +276,9 @@
...
@@ -272,7 +276,9 @@
<el-input
v-model=
"form.materialSpecifications"
placeholder=
"请输入物资规格"
/>
<el-input
v-model=
"form.materialSpecifications"
placeholder=
"请输入物资规格"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"物资单位"
prop=
"materialUnit"
>
<el-form-item
label=
"物资单位"
prop=
"materialUnit"
>
<el-input
v-model=
"form.materialUnit"
placeholder=
"请输入物资单位"
/>
<el-select
v-model=
"form.materialUnit"
placeHolder=
"请选择物资单位"
>
<el-option
v-for=
"dict in dict.type.material_unit"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"质保期"
prop=
"materialWarrantyPeriod"
>
<el-form-item
label=
"质保期"
prop=
"materialWarrantyPeriod"
>
<el-input
v-model=
"form.materialWarrantyPeriod"
placeholder=
"请输入质保期"
/>
<el-input
v-model=
"form.materialWarrantyPeriod"
placeholder=
"请输入质保期"
/>
...
@@ -306,6 +312,7 @@ import { listMaterialCheckInfo, getMaterialCheckInfo, delMaterialCheckInfo, addM
...
@@ -306,6 +312,7 @@ import { listMaterialCheckInfo, getMaterialCheckInfo, delMaterialCheckInfo, addM
export
default
{
export
default
{
name
:
"
MaterialCheckInfo
"
,
name
:
"
MaterialCheckInfo
"
,
dicts
:
[
'
material_unit
'
],
data
()
{
data
()
{
return
{
return
{
// 按钮loading
// 按钮loading
...
...
maintain-ui/src/views/business/materialPicking/add.vue
View file @
92138d25
...
@@ -65,7 +65,11 @@
...
@@ -65,7 +65,11 @@
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.material_unit"
:value=
"scope.row.materialUnit"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"供应商"
align=
"center"
prop=
"vendorName"
/>
<el-table-column
label=
"供应商"
align=
"center"
prop=
"vendorName"
/>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"参考价"
align=
"center"
prop=
"referencePrice"
/>
<el-table-column
label=
"参考价"
align=
"center"
prop=
"referencePrice"
/>
...
@@ -139,7 +143,11 @@
...
@@ -139,7 +143,11 @@
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.material_unit"
:value=
"scope.row.materialUnit"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"供应商"
align=
"center"
prop=
"vendorName"
/>
<el-table-column
label=
"供应商"
align=
"center"
prop=
"vendorName"
/>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"参考价"
align=
"center"
prop=
"referencePrice"
/>
<el-table-column
label=
"参考价"
align=
"center"
prop=
"referencePrice"
/>
...
@@ -170,7 +178,7 @@ import {listWarehouseAll} from "@/api/business/siteWarehouse";
...
@@ -170,7 +178,7 @@ import {listWarehouseAll} from "@/api/business/siteWarehouse";
export
default
{
export
default
{
name
:
"
MaterialPickingAdd
"
,
name
:
"
MaterialPickingAdd
"
,
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
],
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
,
'
material_unit
'
],
props
:
{
props
:
{
repairFormId
:{},
repairFormId
:{},
repairNumber
:{},
repairNumber
:{},
...
...
maintain-ui/src/views/business/materialPicking/index.vue
View file @
92138d25
...
@@ -254,7 +254,11 @@
...
@@ -254,7 +254,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
...
@@ -333,7 +337,11 @@
...
@@ -333,7 +337,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
...
@@ -378,7 +386,11 @@
...
@@ -378,7 +386,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
...
@@ -407,7 +419,7 @@ import {listSiteWarehouse, listWarehouseAll} from "@/api/business/siteWarehouse"
...
@@ -407,7 +419,7 @@ import {listSiteWarehouse, listWarehouseAll} from "@/api/business/siteWarehouse"
export
default
{
export
default
{
name
:
"
MaterialPicking
"
,
name
:
"
MaterialPicking
"
,
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
,
'
picking_type
'
],
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
,
'
picking_type
'
,
'
material_unit
'
],
data
()
{
data
()
{
return
{
return
{
// 新增loading
// 新增loading
...
...
maintain-ui/src/views/business/materialPickingInfo/index.vue
View file @
92138d25
...
@@ -151,7 +151,11 @@
...
@@ -151,7 +151,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
...
@@ -224,7 +228,11 @@
...
@@ -224,7 +228,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
...
@@ -267,7 +275,11 @@
...
@@ -267,7 +275,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
...
@@ -293,7 +305,7 @@ import { listMaterial } from '@/api/business/material'
...
@@ -293,7 +305,7 @@ import { listMaterial } from '@/api/business/material'
export
default
{
export
default
{
name
:
"
MaterialPickingInfo
"
,
name
:
"
MaterialPickingInfo
"
,
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
],
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
,
'
material_unit
'
],
props
:
{
props
:
{
repairFormId
:{
}
,
repairFormId
:{
}
,
repairNumber
:{
}
,
repairNumber
:{
}
,
...
...
maintain-ui/src/views/business/materialPutaway/index.vue
View file @
92138d25
...
@@ -250,7 +250,11 @@
...
@@ -250,7 +250,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
...
@@ -323,7 +327,11 @@
...
@@ -323,7 +327,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
width
=
"
110px
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
width
=
"
110px
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
width
=
"
180px
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
width
=
"
180px
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
...
@@ -365,7 +373,11 @@
...
@@ -365,7 +373,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
...
@@ -394,7 +406,7 @@ import { formatDate } from '@/utils'
...
@@ -394,7 +406,7 @@ import { formatDate } from '@/utils'
export
default
{
export
default
{
name
:
"
MaterialPutaway
"
,
name
:
"
MaterialPutaway
"
,
dicts
:[
'
putaway_type
'
,
'
putaway_state
'
,
'
sys_is_enable
'
],
dicts
:[
'
putaway_type
'
,
'
putaway_state
'
,
'
sys_is_enable
'
,
'
material_unit
'
],
data
()
{
data
()
{
return
{
return
{
// 按钮loading
// 按钮loading
...
@@ -689,13 +701,8 @@ export default {
...
@@ -689,13 +701,8 @@ export default {
this
.
buttonLoading
=
false
;
this
.
buttonLoading
=
false
;
return
return
}
}
this
.
form
.
putawayInfoList
=
this
.
form
.
putawayInfoList
.
map
(
item
=>
{
this
.
form
.
putawayInfoList
.
forEach
(
item
=>
{
return
{
item
.
materialId
=
item
.
materialId
||
item
.
id
materialId
:
item
.
materialId
||
item
.
id
,
putawayNumber
:
item
.
putawayNumber
,
putawayPrice
:
item
.
putawayPrice
,
putawayMoney
:
item
.
putawayMoney
,
}
}
)
}
)
if
(
this
.
form
.
id
!=
null
)
{
if
(
this
.
form
.
id
!=
null
)
{
updateMaterialPutaway
(
this
.
form
).
then
(
response
=>
{
updateMaterialPutaway
(
this
.
form
).
then
(
response
=>
{
...
...
maintain-ui/src/views/business/materialPutawayInfo/index.vue
View file @
92138d25
...
@@ -92,7 +92,11 @@
...
@@ -92,7 +92,11 @@
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.material_unit"
:value=
"scope.row.materialUnit"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"参考价"
align=
"center"
prop=
"referencePrice"
/>
<el-table-column
label=
"参考价"
align=
"center"
prop=
"referencePrice"
/>
<el-table-column
label=
"销售价"
align=
"center"
prop=
"sellingPrice"
/>
<el-table-column
label=
"销售价"
align=
"center"
prop=
"sellingPrice"
/>
...
@@ -172,7 +176,9 @@
...
@@ -172,7 +176,9 @@
<el-input
v-model=
"form.materialSpecifications"
placeholder=
"请输入物资规格"
/>
<el-input
v-model=
"form.materialSpecifications"
placeholder=
"请输入物资规格"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"物资单位"
prop=
"materialUnit"
>
<el-form-item
label=
"物资单位"
prop=
"materialUnit"
>
<el-input
v-model=
"form.materialUnit"
placeholder=
"请输入物资单位"
/>
<el-select
v-model=
"form.materialUnit"
placeHolder=
"请选择物资单位"
>
<el-option
v-for=
"dict in dict.type.material_unit"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"质保期"
prop=
"materialWarrantyPeriod"
>
<el-form-item
label=
"质保期"
prop=
"materialWarrantyPeriod"
>
<el-input
v-model=
"form.materialWarrantyPeriod"
placeholder=
"请输入质保期"
/>
<el-input
v-model=
"form.materialWarrantyPeriod"
placeholder=
"请输入质保期"
/>
...
@@ -218,7 +224,7 @@ import { listMaterialPutawayInfo, getMaterialPutawayInfo, delMaterialPutawayInfo
...
@@ -218,7 +224,7 @@ import { listMaterialPutawayInfo, getMaterialPutawayInfo, delMaterialPutawayInfo
export
default
{
export
default
{
name
:
"
MaterialPutawayInfo
"
,
name
:
"
MaterialPutawayInfo
"
,
dicts
:
[
'
putaway_info_state
'
,
'
sys_is_enable
'
],
dicts
:
[
'
putaway_info_state
'
,
'
sys_is_enable
'
,
'
material_unit
'
],
data
()
{
data
()
{
return
{
return
{
// 按钮loading
// 按钮loading
...
...
maintain-ui/src/views/business/materialReturns/index.vue
View file @
92138d25
...
@@ -224,7 +224,11 @@
...
@@ -224,7 +224,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
入库数量
"
align
=
"
center
"
prop
=
"
putawayNumber
"
/>
<
el
-
table
-
column
label
=
"
入库数量
"
align
=
"
center
"
prop
=
"
putawayNumber
"
/>
<
el
-
table
-
column
label
=
"
入库单价
"
align
=
"
center
"
prop
=
"
putawayPrice
"
/>
<
el
-
table
-
column
label
=
"
入库单价
"
align
=
"
center
"
prop
=
"
putawayPrice
"
/>
...
@@ -284,7 +288,11 @@
...
@@ -284,7 +288,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
退货数量
"
align
=
"
center
"
prop
=
"
returnsNumber
"
/>
<
el
-
table
-
column
label
=
"
退货数量
"
align
=
"
center
"
prop
=
"
returnsNumber
"
/>
<
el
-
table
-
column
label
=
"
退货单价
"
align
=
"
center
"
prop
=
"
returnsPrice
"
/>
<
el
-
table
-
column
label
=
"
退货单价
"
align
=
"
center
"
prop
=
"
returnsPrice
"
/>
...
@@ -301,7 +309,7 @@ import { formatDate } from '@/utils'
...
@@ -301,7 +309,7 @@ import { formatDate } from '@/utils'
export
default
{
export
default
{
name
:
"
MaterialReturns
"
,
name
:
"
MaterialReturns
"
,
dicts
:[
'
sys_is_enable
'
,
'
putaway_type
'
],
dicts
:[
'
sys_is_enable
'
,
'
putaway_type
'
,
'
material_unit
'
],
data
()
{
data
()
{
return
{
return
{
// 按钮loading
// 按钮loading
...
...
maintain-ui/src/views/business/materialReturnsInfo/index.vue
View file @
92138d25
...
@@ -203,7 +203,11 @@
...
@@ -203,7 +203,11 @@
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.material_unit"
:value=
"scope.row.materialUnit"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"参考价"
align=
"center"
prop=
"referencePrice"
/>
<el-table-column
label=
"参考价"
align=
"center"
prop=
"referencePrice"
/>
<el-table-column
label=
"销售价"
align=
"center"
prop=
"sellingPrice"
/>
<el-table-column
label=
"销售价"
align=
"center"
prop=
"sellingPrice"
/>
...
@@ -272,7 +276,9 @@
...
@@ -272,7 +276,9 @@
<el-input
v-model=
"form.materialSpecifications"
placeholder=
"请输入物资规格"
/>
<el-input
v-model=
"form.materialSpecifications"
placeholder=
"请输入物资规格"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"物资单位"
prop=
"materialUnit"
>
<el-form-item
label=
"物资单位"
prop=
"materialUnit"
>
<el-input
v-model=
"form.materialUnit"
placeholder=
"请输入物资单位"
/>
<el-select
v-model=
"form.materialUnit"
placeHolder=
"请选择物资单位"
>
<el-option
v-for=
"dict in dict.type.material_unit"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"质保期"
prop=
"materialWarrantyPeriod"
>
<el-form-item
label=
"质保期"
prop=
"materialWarrantyPeriod"
>
<el-input
v-model=
"form.materialWarrantyPeriod"
placeholder=
"请输入质保期"
/>
<el-input
v-model=
"form.materialWarrantyPeriod"
placeholder=
"请输入质保期"
/>
...
@@ -306,6 +312,7 @@ import { listMaterialReturnsInfo, getMaterialReturnsInfo, delMaterialReturnsInfo
...
@@ -306,6 +312,7 @@ import { listMaterialReturnsInfo, getMaterialReturnsInfo, delMaterialReturnsInfo
export
default
{
export
default
{
name
:
"
MaterialReturnsInfo
"
,
name
:
"
MaterialReturnsInfo
"
,
dicts
:
[
'
material_unit
'
],
data
()
{
data
()
{
return
{
return
{
// 按钮loading
// 按钮loading
...
...
maintain-ui/src/views/business/materialStock/index.vue
View file @
92138d25
...
@@ -48,10 +48,14 @@
...
@@ -48,10 +48,14 @@
<el-table-column
label=
"物资编码"
align=
"center"
fixed=
"left"
prop=
"materialCode"
/>
<el-table-column
label=
"物资编码"
align=
"center"
fixed=
"left"
prop=
"materialCode"
/>
<el-table-column
label=
"物资名称"
align=
"center"
fixed=
"left"
prop=
"materialName"
/>
<el-table-column
label=
"物资名称"
align=
"center"
fixed=
"left"
prop=
"materialName"
/>
<el-table-column
label=
"物资规格"
align=
"center"
fixed=
"left"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资规格"
align=
"center"
fixed=
"left"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资品牌"
align=
"center"
fixed=
"left"
prop=
"materialBrand"
/>
<!--
<el-table-column
label=
"物资品牌"
align=
"center"
fixed=
"left"
prop=
"materialBrand"
/>
-->
<el-table-column
label=
"物资单位"
align=
"center"
fixed=
"left"
prop=
"materialUnit"
/>
<el-table-column
label=
"物资单位"
align=
"center"
fixed=
"left"
prop=
"materialUnit"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.material_unit"
:value=
"scope.row.materialUnit"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"供应商"
align=
"center"
prop=
"vendorName"
show-overflow-tooltip
/>
<el-table-column
label=
"供应商"
align=
"center"
prop=
"vendorName"
show-overflow-tooltip
/>
<el-table-column
label=
"采购标的"
align=
"center"
prop=
"procurementSubject"
/
>
<!-- <el-table-column label="采购标的" align="center" prop="procurementSubject" />--
>
<el-table-column
label=
"适用车型"
align=
"center"
prop=
"compatibleWith"
/>
<el-table-column
label=
"适用车型"
align=
"center"
prop=
"compatibleWith"
/>
<el-table-column
label=
"物资图片"
align=
"center"
prop=
"materialUrl"
>
<el-table-column
label=
"物资图片"
align=
"center"
prop=
"materialUrl"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
...
maintain-ui/src/views/business/pickingReturn/index.vue
View file @
92138d25
...
@@ -194,7 +194,11 @@
...
@@ -194,7 +194,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
...
@@ -234,7 +238,11 @@
...
@@ -234,7 +238,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
供应商
"
align
=
"
center
"
prop
=
"
vendorName
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
...
@@ -259,7 +267,7 @@ import {formatDate} from '@/utils'
...
@@ -259,7 +267,7 @@ import {formatDate} from '@/utils'
export
default
{
export
default
{
name
:
"
MaterialPicking
"
,
name
:
"
MaterialPicking
"
,
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
],
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
,
'
material_unit
'
],
data
()
{
data
()
{
return
{
return
{
// 按钮loading
// 按钮loading
...
...
maintain-ui/src/views/business/repairForm/index.vue
View file @
92138d25
...
@@ -438,15 +438,15 @@ export default {
...
@@ -438,15 +438,15 @@ export default {
},
},
/** 新增按钮操作 */
/** 新增按钮操作 */
handleAdd
()
{
handleAdd
()
{
this
.
$router
.
push
({
name
:
"
repairFormEdit
"
,
params
:
{
repairFormId
:
undefined
,
flag
:
0
,
isDelivery
:
undefined
}});
this
.
$router
.
push
({
name
:
"
repairFormEdit
"
,
query
:
{
repairFormId
:
undefined
,
flag
:
0
,
isDelivery
:
undefined
}});
},
},
/** 详情按钮操作 */
/** 详情按钮操作 */
handleDetail
(
row
)
{
handleDetail
(
row
)
{
this
.
$router
.
push
({
name
:
"
repairFormEdit
"
,
params
:
{
repairFormId
:
row
.
id
,
flag
:
2
,
isDelivery
:
row
.
isDelivery
}});
this
.
$router
.
push
({
name
:
"
repairFormEdit
"
,
query
:
{
repairFormId
:
row
.
id
,
flag
:
2
,
isDelivery
:
row
.
isDelivery
}});
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
this
.
$router
.
push
({
name
:
"
repairFormEdit
"
,
params
:
{
repairFormId
:
row
.
id
,
flag
:
1
,
isDelivery
:
row
.
isDelivery
}});
this
.
$router
.
push
({
name
:
"
repairFormEdit
"
,
query
:
{
repairFormId
:
row
.
id
,
flag
:
1
,
isDelivery
:
row
.
isDelivery
}});
},
},
/** 删除按钮操作 */
/** 删除按钮操作 */
handleDelete
(
row
)
{
handleDelete
(
row
)
{
...
...
maintain-ui/src/views/business/repairForm/info.vue
View file @
92138d25
This diff is collapsed.
Click to expand it.
maintain-ui/src/views/business/repairFormProject/index.vue
View file @
92138d25
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
size=
"mini"
size=
"mini"
:disabled=
"isDelivery == 1"
:disabled=
"isDelivery == 1"
@
click=
"handleAdd"
@
click=
"handleAdd"
v-hasPermi=
"['business:repairFormP
e
oject:add']"
v-hasPermi=
"['business:repairFormP
r
oject:add']"
>
新增
</el-button>
>
新增
</el-button>
</el-col>
</el-col>
<!--
<el-col
:span=
"1.5"
>
-->
<!--
<el-col
:span=
"1.5"
>
-->
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<
el
-
row
:
gutter
=
"
10
"
class
=
"
mb8
"
>
<
el
-
row
:
gutter
=
"
10
"
class
=
"
mb8
"
>
<
right
-
toolbar
:
showSearch
.
sync
=
"
showSearch
"
@
queryTable
=
"
getMaintainList
"
><
/right-toolbar
>
<
right
-
toolbar
:
showSearch
.
sync
=
"
showSearch
"
@
queryTable
=
"
getMaintainList
"
><
/right-toolbar
>
<
/el-row
>
<
/el-row
>
<
el
-
table
v
-
loading
=
"
loading
"
:
data
=
"
maintainProjectList
"
@
selection
-
change
=
"
handleMaintainSelectionChange
"
>
<
el
-
table
v
-
loading
=
"
loading
"
:
data
=
"
maintainProjectList
"
max
-
height
=
"
450px
"
@
selection
-
change
=
"
handleMaintainSelectionChange
"
>
<
el
-
table
-
column
type
=
"
selection
"
width
=
"
55
"
align
=
"
center
"
/>
<
el
-
table
-
column
type
=
"
selection
"
width
=
"
55
"
align
=
"
center
"
/>
<
el
-
table
-
column
label
=
"
序号
"
align
=
"
center
"
type
=
"
index
"
/>
<
el
-
table
-
column
label
=
"
序号
"
align
=
"
center
"
type
=
"
index
"
/>
<
el
-
table
-
column
label
=
"
维修项目类别
"
align
=
"
center
"
prop
=
"
typeName
"
/>
<
el
-
table
-
column
label
=
"
维修项目类别
"
align
=
"
center
"
prop
=
"
typeName
"
/>
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
/>
/>
<
div
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
div
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
el
-
button
:
loading
=
"
buttonLoading
"
type
=
"
primary
"
@
click
=
"
submitForm1
"
>
确
定
<
/el-button
>
<
el
-
button
:
loading
=
"
buttonLoading
"
type
=
"
primary
"
@
click
=
"
submitForm1
"
>
确
定
<
/el-button
>
<
el
-
button
@
click
=
"
cancel
"
>
取
消
<
/el-button
>
<
el
-
button
:
loading
=
"
buttonLoading
"
@
click
=
"
cancel
"
>
取
消
<
/el-button
>
<
/div
>
<
/div
>
<
/el-dialog
>
<
/el-dialog
>
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
<
el
-
form
ref
=
"
form
"
:
model
=
"
form
"
:
rules
=
"
rules
"
label
-
width
=
"
115px
"
>
<
el
-
form
ref
=
"
form
"
:
model
=
"
form
"
:
rules
=
"
rules
"
label
-
width
=
"
115px
"
>
<
el
-
row
:
gutter
=
"
20
"
>
<
el
-
row
:
gutter
=
"
20
"
>
<
el
-
col
:
span
=
"
8
"
>
<
el
-
col
:
span
=
"
8
"
>
<
el
-
form
-
item
label
=
"
站点
名称
"
>
<
el
-
form
-
item
label
=
"
班组
名称
"
>
<
el
-
input
v
-
model
=
"
form.groupName
"
placeholder
=
"
请输入
"
disabled
/>
<
el
-
input
v
-
model
=
"
form.groupName
"
placeholder
=
"
请输入
"
disabled
/>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
...
@@ -168,12 +168,12 @@
...
@@ -168,12 +168,12 @@
<
repairFormProjectDispatch
ref
=
"
projectDispatch
"
:
data
=
"
form
"
/>
<
repairFormProjectDispatch
ref
=
"
projectDispatch
"
:
data
=
"
form
"
/>
<
div
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
div
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<!--
<
el
-
button
:
loading
=
"
buttonLoading
"
type
=
"
primary
"
@
click
=
"
submitForm2
"
>
确
定
<
/el-button>--
>
<!--
<
el
-
button
:
loading
=
"
buttonLoading
"
type
=
"
primary
"
@
click
=
"
submitForm2
"
>
确
定
<
/el-button>--
>
<
el
-
button
@
click
=
"
open1 = false
"
>
取
消
<
/el-button
>
<
el
-
button
@
click
=
"
open1 = false
"
>
关
闭
<
/el-button
>
<
/div
>
<
/div
>
<
/el-dialog
>
<
/el-dialog
>
<
el
-
dialog
title
=
"
检验人员
"
:
visible
.
sync
=
"
open2
"
width
=
"
400px
"
append
-
to
-
body
destroy
-
on
-
close
>
<
el
-
dialog
title
=
"
检验人员
"
:
visible
.
sync
=
"
open2
"
width
=
"
400px
"
append
-
to
-
body
destroy
-
on
-
close
>
<
el
-
form
ref
=
"
examineForm
"
:
model
=
"
examineForm
"
:
rules
=
"
examineRules
"
label
-
width
=
"
8
0px
"
>
<
el
-
form
ref
=
"
examineForm
"
:
model
=
"
examineForm
"
:
rules
=
"
examineRules
"
label
-
width
=
"
10
0px
"
>
<
el
-
col
>
<
el
-
col
>
<
el
-
form
-
item
label
=
"
检验人员
"
prop
=
"
examineUserId
"
>
<
el
-
form
-
item
label
=
"
检验人员
"
prop
=
"
examineUserId
"
>
<
el
-
select
v
-
model
=
"
examineForm.examineUserId
"
filterable
style
=
"
width: 100%
"
>
<
el
-
select
v
-
model
=
"
examineForm.examineUserId
"
filterable
style
=
"
width: 100%
"
>
...
@@ -257,7 +257,7 @@ export default {
...
@@ -257,7 +257,7 @@ export default {
// 查询参数
// 查询参数
queryParams
:
{
queryParams
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
100
,
pageSize
:
100
0
,
repairFormId
:
undefined
,
repairFormId
:
undefined
,
typeId
:
undefined
,
typeId
:
undefined
,
typeName
:
undefined
,
typeName
:
undefined
,
...
@@ -277,7 +277,7 @@ export default {
...
@@ -277,7 +277,7 @@ export default {
// 查询参数
// 查询参数
queryMaintainParams
:
{
queryMaintainParams
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
00
,
typeId
:
undefined
,
typeId
:
undefined
,
typeName
:
undefined
,
typeName
:
undefined
,
projectCode
:
undefined
,
projectCode
:
undefined
,
...
@@ -404,7 +404,7 @@ export default {
...
@@ -404,7 +404,7 @@ export default {
/** 查询维修项目列表 */
/** 查询维修项目列表 */
getMaintainList
()
{
getMaintainList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
listMaintainProject
({
...
this
.
queryParams
,
notInIdList
:
this
.
repairFormProjectList
.
map
(
item
=>
item
.
maintainId
)
}
).
then
(
response
=>
{
listMaintainProject
({
...
this
.
query
Maintain
Params
,
notInIdList
:
this
.
repairFormProjectList
.
map
(
item
=>
item
.
maintainId
)
}
).
then
(
response
=>
{
this
.
maintainProjectList
=
response
.
rows
;
this
.
maintainProjectList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -417,7 +417,7 @@ export default {
...
@@ -417,7 +417,7 @@ export default {
}
,
}
,
/** 查询人员-人员列表 */
/** 查询人员-人员列表 */
getMaintainUserList
()
{
getMaintainUserList
()
{
listUser
({
type
:
1
,
pageNum
:
1
,
pageSize
:
100
}
).
then
(
response
=>
{
listUser
({
type
:
1
,
pageNum
:
1
,
pageSize
:
100
0
}
).
then
(
response
=>
{
this
.
maintainUserList
=
response
.
rows
;
this
.
maintainUserList
=
response
.
rows
;
}
);
}
);
}
,
}
,
...
...
maintain-ui/src/views/business/repairFormProjectDispatch/index.vue
View file @
92138d25
...
@@ -286,6 +286,7 @@ export default {
...
@@ -286,6 +286,7 @@ export default {
});
});
}
}
this
.
open
=
false
this
.
open
=
false
this
.
$refs
.
user
.
selectList
=
[]
},
},
/** 删除按钮操作 */
/** 删除按钮操作 */
handleDelete
(
row
)
{
handleDelete
(
row
)
{
...
...
maintain-ui/src/views/business/settlementConfirm/index.vue
View file @
92138d25
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
icon
=
"
el-icon-edit
"
icon
=
"
el-icon-edit
"
v
-
if
=
"
scope.row.state === 1
"
v
-
if
=
"
scope.row.state === 1
"
@
click
=
"
handleUpdate(scope.row)
"
@
click
=
"
handleUpdate(scope.row)
"
v
-
hasPermi
=
"
['business:settlement
Confirm
:receipt']
"
v
-
hasPermi
=
"
['business:settlement
Maintain
:receipt']
"
>
回执
<
/el-button
>
>
回执
<
/el-button
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
...
maintain-ui/src/views/business/settlementMaterial/info/index1.vue
View file @
92138d25
...
@@ -56,7 +56,11 @@
...
@@ -56,7 +56,11 @@
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资编码"
align=
"center"
prop=
"materialCode"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资名称"
align=
"center"
prop=
"materialName"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资规格"
align=
"center"
prop=
"materialSpecifications"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
/>
<el-table-column
label=
"物资单位"
align=
"center"
prop=
"materialUnit"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.material_unit"
:value=
"scope.row.materialUnit"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"质保期"
align=
"center"
prop=
"materialWarrantyPeriod"
/>
<el-table-column
label=
"数量"
align=
"center"
prop=
"collectNumber"
width=
"120px"
/>
<el-table-column
label=
"数量"
align=
"center"
prop=
"collectNumber"
width=
"120px"
/>
<el-table-column
label=
"单价"
align=
"center"
prop=
"price"
width=
"120px"
/>
<el-table-column
label=
"单价"
align=
"center"
prop=
"price"
width=
"120px"
/>
...
@@ -189,7 +193,11 @@
...
@@ -189,7 +193,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
数量
"
align
=
"
center
"
prop
=
"
settlementNumber
"
width
=
"
120px
"
/>
<
el
-
table
-
column
label
=
"
数量
"
align
=
"
center
"
prop
=
"
settlementNumber
"
width
=
"
120px
"
/>
<
el
-
table
-
column
label
=
"
单价
"
align
=
"
center
"
prop
=
"
settlementPrice
"
width
=
"
120px
"
>
<
el
-
table
-
column
label
=
"
单价
"
align
=
"
center
"
prop
=
"
settlementPrice
"
width
=
"
120px
"
>
...
@@ -261,7 +269,11 @@
...
@@ -261,7 +269,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
参考价
"
align
=
"
center
"
prop
=
"
referencePrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
<
el
-
table
-
column
label
=
"
销售价
"
align
=
"
center
"
prop
=
"
sellingPrice
"
/>
...
@@ -282,7 +294,7 @@ import { formatDate } from '@/utils'
...
@@ -282,7 +294,7 @@ import { formatDate } from '@/utils'
export
default
{
export
default
{
name
:
"
MaterialPicking
"
,
name
:
"
MaterialPicking
"
,
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
,
'
settlement_material_type
'
,
'
repair_form_settlement_state
'
],
dicts
:
[
'
sys_is_enable
'
,
'
picking_state
'
,
'
settlement_material_type
'
,
'
repair_form_settlement_state
'
,
'
material_unit
'
],
data
()
{
data
()
{
return
{
return
{
// 按钮loading
// 按钮loading
...
@@ -324,7 +336,7 @@ export default {
...
@@ -324,7 +336,7 @@ export default {
receiveUserName
:
undefined
,
receiveUserName
:
undefined
,
receiveTime
:
undefined
,
receiveTime
:
undefined
,
state
:
undefined
,
state
:
undefined
,
stateList
:
[
1
,
2
],
stateList
:
[
2
],
settlementState
:
1
,
settlementState
:
1
,
type
:
1
,
type
:
1
,
outTime
:
undefined
,
outTime
:
undefined
,
...
...
maintain-ui/src/views/business/settlementMaterial/info/index2.vue
View file @
92138d25
...
@@ -209,7 +209,11 @@
...
@@ -209,7 +209,11 @@
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资编码
"
align
=
"
center
"
prop
=
"
materialCode
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资名称
"
align
=
"
center
"
prop
=
"
materialName
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资规格
"
align
=
"
center
"
prop
=
"
materialSpecifications
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
/>
<
el
-
table
-
column
label
=
"
物资单位
"
align
=
"
center
"
prop
=
"
materialUnit
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
options
=
"
dict.type.material_unit
"
:
value
=
"
scope.row.materialUnit
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
质保期
"
align
=
"
center
"
prop
=
"
materialWarrantyPeriod
"
/>
<
el
-
table
-
column
label
=
"
数量
"
align
=
"
center
"
prop
=
"
settlementNumber
"
width
=
"
120px
"
/>
<
el
-
table
-
column
label
=
"
数量
"
align
=
"
center
"
prop
=
"
settlementNumber
"
width
=
"
120px
"
/>
<
el
-
table
-
column
label
=
"
单价
"
align
=
"
center
"
prop
=
"
settlementPrice
"
width
=
"
120px
"
/>
<
el
-
table
-
column
label
=
"
单价
"
align
=
"
center
"
prop
=
"
settlementPrice
"
width
=
"
120px
"
/>
...
...
maintain-ui/src/views/business/user/index.vue
View file @
92138d25
...
@@ -254,6 +254,10 @@ export default {
...
@@ -254,6 +254,10 @@ export default {
data
:
{
data
:
{
type
:
Object
,
type
:
Object
,
default
:
{}
default
:
{}
},
userIds
:
{
type
:
Array
,
default
:
()
=>
[]
}
}
},
},
components
:
{
components
:
{
...
...
maintain-ui/src/views/system/dept/index.vue
View file @
92138d25
...
@@ -69,6 +69,11 @@
...
@@ -69,6 +69,11 @@
>
>
<el-table-column
prop=
"deptName"
label=
"部门名称"
width=
"260"
></el-table-column>
<el-table-column
prop=
"deptName"
label=
"部门名称"
width=
"260"
></el-table-column>
<el-table-column
prop=
"orderNum"
label=
"排序"
width=
"200"
></el-table-column>
<el-table-column
prop=
"orderNum"
label=
"排序"
width=
"200"
></el-table-column>
<el-table-column
prop=
"type"
label=
"类型"
width=
"100"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.sys_dept_type"
:value=
"scope.row.type"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"status"
label=
"状态"
width=
"100"
>
<el-table-column
prop=
"status"
label=
"状态"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.sys_normal_disable"
:value=
"scope.row.status"
/>
<dict-tag
:options=
"dict.type.sys_normal_disable"
:value=
"scope.row.status"
/>
...
@@ -159,6 +164,15 @@
...
@@ -159,6 +164,15 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"类型"
prop=
"type"
>
<el-select
v-model=
"form.type"
placeHolder=
"请选择类型"
>
<el-option
v-for=
"dict in dict.type.sys_dept_type"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
...
@@ -175,7 +189,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css";
...
@@ -175,7 +189,7 @@ import "@riophae/vue-treeselect/dist/vue-treeselect.css";
export
default
{
export
default
{
name
:
"
Dept
"
,
name
:
"
Dept
"
,
dicts
:
[
'
sys_normal_disable
'
],
dicts
:
[
'
sys_normal_disable
'
,
'
sys_dept_type
'
],
components
:
{
Treeselect
},
components
:
{
Treeselect
},
data
()
{
data
()
{
return
{
return
{
...
@@ -269,7 +283,8 @@ export default {
...
@@ -269,7 +283,8 @@ export default {
leader
:
undefined
,
leader
:
undefined
,
phone
:
undefined
,
phone
:
undefined
,
email
:
undefined
,
email
:
undefined
,
status
:
"
0
"
status
:
"
0
"
,
type
:
undefined
};
};
this
.
resetForm
(
"
form
"
);
this
.
resetForm
(
"
form
"
);
},
},
...
...
maintain-ui/src/views/system/role/index.vue
View file @
92138d25
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
<el-table
v-loading=
"loading"
:data=
"roleList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"roleList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"角色编号"
prop=
"roleId"
width=
"120"
/
>
<!--
<el-table-column
label=
"角色编号"
prop=
"roleId"
width=
"120"
/>
--
>
<el-table-column
label=
"角色名称"
prop=
"roleName"
:show-overflow-tooltip=
"true"
width=
"150"
/>
<el-table-column
label=
"角色名称"
prop=
"roleName"
:show-overflow-tooltip=
"true"
width=
"150"
/>
<el-table-column
label=
"权限字符"
prop=
"roleKey"
:show-overflow-tooltip=
"true"
width=
"150"
/>
<el-table-column
label=
"权限字符"
prop=
"roleKey"
:show-overflow-tooltip=
"true"
width=
"150"
/>
<el-table-column
label=
"显示顺序"
prop=
"roleSort"
width=
"100"
/>
<el-table-column
label=
"显示顺序"
prop=
"roleSort"
width=
"100"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment