Merge branch 'dev-nx' of http://192.168.0.56:3000/bonus/devicesmgt into dev-nx

This commit is contained in:
BianLzhaoMin 2024-06-25 17:36:14 +08:00
commit 158416a4f2
9 changed files with 89 additions and 58 deletions

View File

@ -173,6 +173,9 @@ public class MaType extends BaseEntity {
@ApiModelProperty(value = "库管员id") @ApiModelProperty(value = "库管员id")
private List<Long> keeperUserId; private List<Long> keeperUserId;
@ApiModelProperty(value = "库管员id")
private String keeperUserIds;
/** 库管员名称 */ /** 库管员名称 */
@ApiModelProperty(value = "库管员名称") @ApiModelProperty(value = "库管员名称")
@Excel(name = "库管员") @Excel(name = "库管员")
@ -457,7 +460,7 @@ public class MaType extends BaseEntity {
return keeperUserId; return keeperUserId;
} }
public void setKeeperUserIdList(List<Long> keeperUserId) { public void setKeeperUserId(List<Long> keeperUserId) {
this.keeperUserId = keeperUserId; this.keeperUserId = keeperUserId;
} }

View File

@ -33,22 +33,24 @@ public class MaTypeController extends BaseController {
/** /**
* 根据类型名称查询类型 * 根据类型名称查询类型
*
* @return 结果 * @return 结果
*/ */
@ApiOperation(value = "根据类型名称查询类型") @ApiOperation(value = "根据类型名称查询类型")
@GetMapping("/getMaTypeList") @GetMapping("/getMaTypeList")
public AjaxResult getMaTypeList(@RequestParam(required = false, defaultValue = "", value = "typeName") String typeName, @RequestParam(required = false, defaultValue = "", value = "parentId") String parentId){ public AjaxResult getMaTypeList(@RequestParam(required = false, defaultValue = "", value = "typeName") String typeName, @RequestParam(required = false, defaultValue = "", value = "parentId") String parentId) {
List<TreeSelect> maTypeList = iTypeService.getMaTypeList(typeName, parentId); List<TreeSelect> maTypeList = iTypeService.getMaTypeList(typeName, parentId);
return AjaxResult.success(maTypeList); return AjaxResult.success(maTypeList);
} }
/** /**
* 工机具类型下拉树 * 工机具类型下拉树
*
* @return 结果 * @return 结果
*/ */
@ApiOperation(value = "工机具类型下拉树") @ApiOperation(value = "工机具类型下拉树")
@GetMapping("/getMaTypeSelect") @GetMapping("/getMaTypeSelect")
public AjaxResult getMaTypeSelect(@RequestParam(required = false, defaultValue = "", value = "typeName") String typeName, @RequestParam(required = false, defaultValue = "", value = "parentId") String parentId){ public AjaxResult getMaTypeSelect(@RequestParam(required = false, defaultValue = "", value = "typeName") String typeName, @RequestParam(required = false, defaultValue = "", value = "parentId") String parentId) {
List<TreeSelect> maTypeList = iTypeService.getMaTypeSelect(typeName, parentId); List<TreeSelect> maTypeList = iTypeService.getMaTypeSelect(typeName, parentId);
return AjaxResult.success(maTypeList); return AjaxResult.success(maTypeList);
} }
@ -62,30 +64,34 @@ public class MaTypeController extends BaseController {
/** /**
* 根据左列表类型id查询右表格 * 根据左列表类型id查询右表格
*
* @param typeId * @param typeId
* @return * @return
*/ */
@ApiOperation(value = "工器具类型") @ApiOperation(value = "工器具类型")
@GetMapping("/equipmentType") @GetMapping("/equipmentType")
public AjaxResult equipmentType(@RequestParam(required = false) Long typeId, public AjaxResult equipmentType(@RequestParam(required = false) Long typeId,
@RequestParam(required = false) String typeName){ @RequestParam(required = false) String typeName) {
List<MaType> listByMaType = iTypeService.getEquipmentType(typeId,typeName); List<MaType> listByMaType = iTypeService.getEquipmentType(typeId, typeName);
return success(listByMaType); return success(listByMaType);
} }
/** /**
* 获取规格层级为3的设备列表 * 获取规格层级为3的设备列表
*
* @return 结果 * @return 结果
*/ */
@ApiOperation(value = "获取规格层级的设备列表") @ApiOperation(value = "获取规格层级的设备列表")
@GetMapping("/selectMaTypeListByLevelIndex") @GetMapping("/selectMaTypeListByLevelIndex")
public AjaxResult selectMaTypeListByLevelIndex(@RequestParam(value = "level", required = false) Integer level, @RequestParam(value = "type") Integer type, @RequestParam(value = "parentId", required = false) Integer parentId, @RequestParam(value = "keyword", required = false) String keyword){ public AjaxResult selectMaTypeListByLevelIndex(@RequestParam(value = "level", required = false) Integer level, @RequestParam(value = "type") Integer type, @RequestParam(value = "parentId", required = false) Integer parentId, @RequestParam(value = "keyword", required = false) String keyword) {
if (type == null) { return AjaxResult.error("参数错误,类型不能为空"); } if (type == null) {
return AjaxResult.error("参数错误,类型不能为空");
}
if (type == 0) { if (type == 0) {
// 查询全部机具类型 // 查询全部机具类型
if (level == 0 || level == 1) { if (level == 0 || level == 1) {
// 查询全部等级一级 // 查询全部等级一级
List<TreeSelect> treeSelectList = iTypeService.buildDeptTreeSelect(maTypeMapper.selectMaTypeListByLevelNotFour(null,null)); List<TreeSelect> treeSelectList = iTypeService.buildDeptTreeSelect(maTypeMapper.selectMaTypeListByLevelNotFour(null, null));
List<TreeSelect> children = treeSelectList.get(0).getChildren(); List<TreeSelect> children = treeSelectList.get(0).getChildren();
TreeSelect zero = new TreeSelect(); TreeSelect zero = new TreeSelect();
zero.setLevel(2); zero.setLevel(2);
@ -97,11 +103,11 @@ public class MaTypeController extends BaseController {
} }
if (level == 2) { if (level == 2) {
// 查询二级 // 查询二级
if (parentId == 0){ if (parentId == 0) {
List<MaType> maTypes = maTypeMapper.selectMaTypeListByLevelNotFour(null, keyword); List<MaType> maTypes = maTypeMapper.selectMaTypeListByLevelNotFour(null, keyword);
return AjaxResult.success(maTypes); return AjaxResult.success(maTypes);
}else { } else {
return AjaxResult.success(maTypeMapper.selectMaTypeListByLevelNotFour(parentId.toString(),keyword)); return AjaxResult.success(maTypeMapper.selectMaTypeListByLevelNotFour(parentId.toString(), keyword));
} }
@ -126,12 +132,12 @@ public class MaTypeController extends BaseController {
// 查询施工机具 // 查询施工机具
List<TreeSelect> treeSelectList; List<TreeSelect> treeSelectList;
if (level != 2) { if (level != 2) {
treeSelectList = iTypeService.buildDeptTreeSelect(maTypeMapper.selectMaTypeListByLevelNotFour(null,null)); treeSelectList = iTypeService.buildDeptTreeSelect(maTypeMapper.selectMaTypeListByLevelNotFour(null, null));
// treeSelectList.removeIf(item -> item.getId() == 1L); // treeSelectList.removeIf(item -> item.getId() == 1L);
//List<TreeSelect> treeSelectList1 = treeSelectList.stream().filter(item -> Objects.equals(item.getId(), 1L)).collect(Collectors.toList()); //List<TreeSelect> treeSelectList1 = treeSelectList.stream().filter(item -> Objects.equals(item.getId(), 1L)).collect(Collectors.toList());
return AjaxResult.success(treeSelectList); return AjaxResult.success(treeSelectList);
} else { } else {
return AjaxResult.success(maTypeMapper.selectMaTypeListByLevelNotFour(parentId.toString(),keyword)); return AjaxResult.success(maTypeMapper.selectMaTypeListByLevelNotFour(parentId.toString(), keyword));
// treeSelectList = iTypeService.buildDeptTreeSelect(maTypeMapper.selectMaTypeListByLevelNotFour(parentId.toString())); // treeSelectList = iTypeService.buildDeptTreeSelect(maTypeMapper.selectMaTypeListByLevelNotFour(parentId.toString()));
// // 先过滤出施工机具 // // 先过滤出施工机具
// treeSelectList = treeSelectList.stream().filter(item -> Objects.equals(item.getId(), 1L)).collect(Collectors.toList()); // treeSelectList = treeSelectList.stream().filter(item -> Objects.equals(item.getId(), 1L)).collect(Collectors.toList());
@ -154,11 +160,11 @@ public class MaTypeController extends BaseController {
} }
} }
if (type == 2) { if (type == 2) {
List<TreeSelect> treeSelectList = iTypeService.buildDeptTreeSelect(maTypeMapper.selectMaTypeListByLevelNotFour(null,null)); List<TreeSelect> treeSelectList = iTypeService.buildDeptTreeSelect(maTypeMapper.selectMaTypeListByLevelNotFour(null, null));
//treeSelectList = treeSelectList.stream().filter(item -> Objects.equals(item.getId(), 2L)).collect(Collectors.toList()); //treeSelectList = treeSelectList.stream().filter(item -> Objects.equals(item.getId(), 2L)).collect(Collectors.toList());
// 查询安全工器具 // 查询安全工器具
if (level == 2) { if (level == 2) {
return AjaxResult.success(maTypeMapper.selectMaTypeListByLevelNotFour(parentId.toString(),keyword)); return AjaxResult.success(maTypeMapper.selectMaTypeListByLevelNotFour(parentId.toString(), keyword));
// if (!treeSelectList.isEmpty()) { // if (!treeSelectList.isEmpty()) {
// for (TreeSelect treeSelect : treeSelectList) { // for (TreeSelect treeSelect : treeSelectList) {
// List<TreeSelect> children = treeSelect.getChildren(); // List<TreeSelect> children = treeSelect.getChildren();
@ -175,19 +181,20 @@ public class MaTypeController extends BaseController {
} }
return AjaxResult.success(treeSelectList); return AjaxResult.success(treeSelectList);
} }
return AjaxResult.success(maTypeMapper.selectMaTypeListByLevelNotFour(null,null)); return AjaxResult.success(maTypeMapper.selectMaTypeListByLevelNotFour(null, null));
} }
/** /**
* 根据左列表类型id查询右表格 * 根据左列表类型id查询右表格
*
* @param typeId * @param typeId
* @return * @return
*/ */
@ApiOperation(value = "根据左列表类型id查询右表格") @ApiOperation(value = "根据左列表类型id查询右表格")
@GetMapping("/getListByMaType") @GetMapping("/getListByMaType")
public AjaxResult getListByMaType(@RequestParam(required = false) Long typeId, public AjaxResult getListByMaType(@RequestParam(required = false) Long typeId,
@RequestParam(required = false) String typeName){ @RequestParam(required = false) String typeName) {
List<MaType> listByMaType = iTypeService.getListByParentId(typeId,typeName); List<MaType> listByMaType = iTypeService.getListByParentId(typeId, typeName);
return success(listByMaType); return success(listByMaType);
} }
@ -221,8 +228,7 @@ public class MaTypeController extends BaseController {
*/ */
@ApiOperation(value = "获取机具类型管理ma_type详细信息") @ApiOperation(value = "获取机具类型管理ma_type详细信息")
@GetMapping(value = "/{typeId}") @GetMapping(value = "/{typeId}")
public AjaxResult getInfo(@PathVariable("typeId") Long typeId) public AjaxResult getInfo(@PathVariable("typeId") Long typeId) {
{
return success(iTypeService.selectMaTypeByTypeId(typeId)); return success(iTypeService.selectMaTypeByTypeId(typeId));
} }
@ -232,8 +238,7 @@ public class MaTypeController extends BaseController {
@ApiOperation(value = "新增机具类型管理ma_type") @ApiOperation(value = "新增机具类型管理ma_type")
@Log(title = "机具类型管理ma_type", businessType = BusinessType.INSERT) @Log(title = "机具类型管理ma_type", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody MaType maType) public AjaxResult add(@RequestBody MaType maType) {
{
return toAjax(iTypeService.insertMaType(maType)); return toAjax(iTypeService.insertMaType(maType));
} }
@ -243,8 +248,7 @@ public class MaTypeController extends BaseController {
@ApiOperation(value = "修改机具类型管理ma_type") @ApiOperation(value = "修改机具类型管理ma_type")
@Log(title = "机具类型管理ma_type", businessType = BusinessType.UPDATE) @Log(title = "机具类型管理ma_type", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody MaType maType) public AjaxResult edit(@RequestBody MaType maType) {
{
return toAjax(iTypeService.updateMaType(maType)); return toAjax(iTypeService.updateMaType(maType));
} }

View File

@ -37,7 +37,21 @@ public class MaTypeServiceImpl implements ITypeService {
*/ */
@Override @Override
public MaType selectMaTypeByTypeId(Long typeId) { public MaType selectMaTypeByTypeId(Long typeId) {
return maTypeMapper.selectMaTypeByTypeId(typeId); MaType maType = maTypeMapper.selectMaTypeByTypeId(typeId);
List<Long> idList = new ArrayList<>();
if (StringUtils.isNotBlank(maType.getKeeperUserIds())) {
String[] idStrings = maType.getKeeperUserIds().split(",");
for (String idString : idStrings) {
try {
Long id = Long.parseLong(idString.trim());
idList.add(id);
} catch (NumberFormatException e) {
e.printStackTrace();
}
}
}
maType.setKeeperUserId(idList);
return maType;
} }
@ -48,21 +62,21 @@ public class MaTypeServiceImpl implements ITypeService {
* @return 结果 * @return 结果
*/ */
@Override @Override
@Transactional @Transactional(rollbackFor = Exception.class)
public int insertMaType(MaType maType) { public int insertMaType(MaType maType) {
Long parentId = maType.getParentId(); Long parentId = maType.getParentId();
MaType maType1 = maTypeMapper.selectMaTypeByTypeId(parentId); MaType maType1 = maTypeMapper.selectMaTypeByTypeId(parentId);
String level = maType1.getLevel(); String level = maType1.getLevel();
maType.setLevel(String.valueOf(Integer.parseInt(level) + 1)); maType.setLevel(String.valueOf(Integer.parseInt(level) + 1));
maType.setCreateTime(DateUtils.getNowDate()); maType.setCreateTime(DateUtils.getNowDate());
int i = maTypeMapper.insertType(maType);
//根据类型名称判重 //根据类型名称判重
if (maType.getTypeName() != null && maType.getParentId() != null) { if (maType.getTypeName() != null && maType.getParentId() != null) {
int num = maTypeMapper.getMaType(maType); int num = maTypeMapper.getMaType(maType);
if (num > 0) { if (num > 1) {
throw new ServiceException("机具类型名称与库中重复,请修改后重新提交!"); throw new RuntimeException("机具类型名称与库中重复,请修改后重新提交!");
} }
} }
int i = maTypeMapper.insertType(maType);
Long typeId = maType.getTypeId(); Long typeId = maType.getTypeId();
// 图片路径保存 // 图片路径保存
if (StringUtils.isNotEmpty(maType.getPhotoName()) && StringUtils.isNotEmpty(maType.getPhotoUrl())) { if (StringUtils.isNotEmpty(maType.getPhotoName()) && StringUtils.isNotEmpty(maType.getPhotoUrl())) {
@ -112,17 +126,20 @@ public class MaTypeServiceImpl implements ITypeService {
* @return 结果 * @return 结果
*/ */
@Override @Override
@Transactional(rollbackFor = Exception.class)
public int updateMaType(MaType maType) { public int updateMaType(MaType maType) {
int i = 0;
Long typeId = maType.getTypeId(); Long typeId = maType.getTypeId();
maType.setUpdateTime(DateUtils.getNowDate()); maType.setUpdateTime(DateUtils.getNowDate());
i = maTypeMapper.updateType(maType);
//根据类型名称判重 //根据类型名称判重
if (maType.getTypeName() != null && maType.getParentId() != null) { if (maType.getTypeName() != null && maType.getParentId() != null) {
int num = maTypeMapper.getMaType(maType); int num = maTypeMapper.getMaType(maType);
if (num > 0) { if (num > 1) {
throw new ServiceException("机具类型名称与库中重复,请修改后重新提交!"); throw new RuntimeException("机具类型名称与库中重复,请修改后重新提交!");
} }
} }
int i = maTypeMapper.updateType(maType);
// 图片路径保存 // 图片路径保存
if (StringUtils.isNotEmpty(maType.getPhotoName()) && StringUtils.isNotEmpty(maType.getPhotoUrl())) { if (StringUtils.isNotEmpty(maType.getPhotoName()) && StringUtils.isNotEmpty(maType.getPhotoUrl())) {
typeFileMapper.deleteMaTypeFileByTypeId(typeId, "1"); typeFileMapper.deleteMaTypeFileByTypeId(typeId, "1");

View File

@ -280,7 +280,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select m.type_id, m.type_name, m.parent_id, m.status, m.num, m.unit_id,m.unit_name, m.manage_type, select m.type_id, m.type_name, m.parent_id, m.status, m.num, m.unit_id,m.unit_name, m.manage_type,
m.lease_price, m.eff_time, m.rent_price, m.buy_price, m.pay_price, m.level, m.rated_load, m.test_load, m.lease_price, m.eff_time, m.rent_price, m.buy_price, m.pay_price, m.level, m.rated_load, m.test_load,
m.holding_time, m.warn_num, mtf.file_name photoName, mtf.file_url photoUrl, m.holding_time, m.warn_num, mtf.file_name photoName, mtf.file_url photoUrl,
mtf2.file_name documentName, mtf2.file_url documentUrl, GROUP_CONCAT(mtk.user_id) keeperUserId, mtf2.file_name documentName, mtf2.file_url documentUrl, GROUP_CONCAT(mtk.user_id) keeperUserIds,
GROUP_CONCAT(su.nick_name) as keeperUserName, mtr.user_id repairUserId, su1.nick_name repairUserName,mpi.prop_id as propId, mpi.prop_name as propName, GROUP_CONCAT(su.nick_name) as keeperUserName, mtr.user_id repairUserId, su1.nick_name repairUserName,mpi.prop_id as propId, mpi.prop_name as propName,
m.del_flag, m.create_by, m.create_time, m.del_flag, m.create_by, m.create_time,
m.remark, m.company_id,m.fac_model as facModel m.remark, m.company_id,m.fac_model as facModel
@ -337,7 +337,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select m.type_id, m.type_name, m.parent_id, m.status, m.num, m.unit_id, m.unit_name, m.manage_type, select m.type_id, m.type_name, m.parent_id, m.status, m.num, m.unit_id, m.unit_name, m.manage_type,
m.lease_price,m.rent_price, m.eff_time, m.buy_price, m.pay_price, m.level, m.rated_load, m.test_load, m.lease_price,m.rent_price, m.eff_time, m.buy_price, m.pay_price, m.level, m.rated_load, m.test_load,
m.holding_time, m.warn_num, mtf.file_name photoName, mtf.file_url photoUrl, m.holding_time, m.warn_num, mtf.file_name photoName, mtf.file_url photoUrl,
mtf2.file_name documentName, mtf2.file_url documentUrl, GROUP_CONCAT(mtk.user_id) keeperUserId, mtf2.file_name documentName, mtf2.file_url documentUrl, mtk.user_id keeperUserId,
GROUP_CONCAT(su.nick_name) keeperUserName, mpi.prop_name, m.del_flag, m.create_by, m.create_time, GROUP_CONCAT(su.nick_name) keeperUserName, mpi.prop_name, m.del_flag, m.create_by, m.create_time,
m.remark, m.company_id,m.fac_model as facModel m.remark, m.company_id,m.fac_model as facModel
from ma_type m from ma_type m
@ -417,7 +417,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where> </where>
</select> </select>
<select id="getMaType" resultType="java.lang.Integer"> <select id="getMaType" resultType="java.lang.Integer">
select count(1) from ma_type where parent_id = #{parentId} and type_name = #{typeName} SELECT
count(1)
FROM
ma_type
WHERE
status = 0 and del_flag = 0
and parent_id = #{parentId} and type_name = #{typeName}
</select> </select>
</mapper> </mapper>

View File

@ -27,6 +27,10 @@ public class MaWholeVo {
@ApiModelProperty(value = "规格型号") @ApiModelProperty(value = "规格型号")
private String typeModelName; private String typeModelName;
/** 配套名称 */
@ApiModelProperty(value = "配套名称")
private String wholeTypeName;
/** 套装所需配件数量 */ /** 套装所需配件数量 */
@ApiModelProperty(value = "套装所需配件数量") @ApiModelProperty(value = "套装所需配件数量")
private Integer totalNum; private Integer totalNum;

View File

@ -74,6 +74,7 @@
<select id="selectList" resultType="com.bonus.sgzb.material.domain.MaWholeVo"> <select id="selectList" resultType="com.bonus.sgzb.material.domain.MaWholeVo">
SELECT SELECT
mws.parent_id AS id, mws.parent_id AS id,
mws.whole_type_name AS wholeTypeName,
mt2.type_name AS typeName, mt2.type_name AS typeName,
mt.type_name AS typeModelName, mt.type_name AS typeModelName,
SUM(mws.part_num) AS totalNum SUM(mws.part_num) AS totalNum

View File

@ -417,6 +417,7 @@
filterable filterable
placeholder="请选择库管员" placeholder="请选择库管员"
style="width: 100%" style="width: 100%"
multiple
> >
<el-option <el-option
v-for="keeper in keeperList" v-for="keeper in keeperList"
@ -821,6 +822,7 @@ export default {
photoName: '', photoName: '',
documentUrl: '', documentUrl: '',
documentName: '', documentName: '',
keeperUserId: [],
} }
this.imageUrl = '' this.imageUrl = ''
this.fileList = [] this.fileList = []

View File

@ -540,10 +540,11 @@ export default {
}, },
computed: { computed: {
pickerOptions() { pickerOptions() {
// -
const currentDate = new Date(this.maForm.purchaseTime || new Date())
currentDate.setDate(currentDate.getDate() - 1)
return { return {
disabledDate(time) { disabledDate(time) {
const currentDate = new Date()
currentDate.setHours(0, 0, 0, 0)
return time.getTime() < currentDate.getTime() return time.getTime() < currentDate.getTime()
}, },
} }

View File

@ -67,6 +67,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
type="date" type="date"
placeholder="请选择采购日期" placeholder="请选择采购日期"
@change="changeTimePurchase"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="到货日期" prop="arrivalTime"> <el-form-item label="到货日期" prop="arrivalTime">
@ -74,9 +75,16 @@
v-model="maForm.arrivalTime" v-model="maForm.arrivalTime"
style="width: 240px" style="width: 240px"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
:picker-options="pickerOptions"
type="date" type="date"
placeholder="请选择到货日期" placeholder="请选择到货日期"
:picker-options="{
//
disabledDate: time => {
const currentDate = new Date(maForm.purchaseTime || new Date())
currentDate.setDate(currentDate.getDate() - 1)
return time.getTime() < currentDate.getTime()
}
}"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="采购员" prop="purchaser"> <el-form-item label="采购员" prop="purchaser">
@ -373,17 +381,6 @@ export default {
}, },
} }
}, },
computed: {
pickerOptions() {
return {
disabledDate(time) {
const currentDate = new Date()
currentDate.setHours(0, 0, 0, 0)
return time.getTime() < currentDate.getTime()
},
}
},
},
// watch: { // watch: {
// 'maForm.purchaseTime'() { // 'maForm.purchaseTime'() {
// if (this.maForm.purchaseTime != '') { // if (this.maForm.purchaseTime != '') {
@ -570,15 +567,6 @@ export default {
const arrivalTime = const arrivalTime =
this.maForm.arrivalTime?.split('-').join('') - 0 this.maForm.arrivalTime?.split('-').join('') - 0
if (productionTime > purchaseTime) {
this.$message.error('出厂日期不可在采购日期之后')
return
}
if (productionTime > arrivalTime) {
this.$message.error('出厂日期不可在到货日期之后')
return
}
// console.log(this.maForm,'maForm') // console.log(this.maForm,'maForm')
// console.log(this.equipmentList,'equipmentList') // console.log(this.equipmentList,'equipmentList')
let isEmpty = true let isEmpty = true
@ -703,6 +691,11 @@ export default {
// ...this.queryParams // ...this.queryParams
// }, `role_${new Date().getTime()}.xlsx`) // }, `role_${new Date().getTime()}.xlsx`)
}, },
//
changeTimePurchase() {
//
this.maForm.arrivalTime = ''
},
}, },
} }
</script> </script>