
179 changed files with 4581 additions and 7058 deletions
@ -0,0 +1,19 @@ |
|||
package com.yxt.anrui.base.api.basepurchasesystem; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Author dimengzhe |
|||
* @Date 2023/1/6 17:13 |
|||
* @Description |
|||
*/ |
|||
@Data |
|||
public class BasePurchSystemVo implements Vo { |
|||
private static final long serialVersionUID = -6059479664434626360L; |
|||
@ApiModelProperty("采购系统sid") |
|||
private String sid; |
|||
@ApiModelProperty("采购系统名称") |
|||
private String purchaseSystemName; |
|||
} |
@ -0,0 +1,64 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basepurchasesystem; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystem.java <br/> |
|||
* Class: com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystem <br/> |
|||
* Description: 采购系统管理表. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "采购系统管理表", description = "采购系统管理表") |
|||
@TableName("base_purchase_system") |
|||
public class BasePurchaseSystem extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
@ApiModelProperty("分公司名称") |
|||
private String useOrgName; // 分公司名称
|
|||
@ApiModelProperty("部门sid") |
|||
private String deptSid; // 部门sid
|
|||
@ApiModelProperty("部门名称") |
|||
private String deptName; // 部门名称
|
|||
@ApiModelProperty("采购系统名称") |
|||
private String purchaseSystemName; // 采购系统名称
|
|||
|
|||
} |
@ -0,0 +1,65 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basepurchasesystem; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystemVo.java <br/> |
|||
* Class: com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemVo <br/> |
|||
* Description: 采购系统管理表 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "采购系统管理表 视图数据详情", description = "采购系统管理表 视图数据详情") |
|||
public class BasePurchaseSystemDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
@ApiModelProperty("分公司名称") |
|||
private String useOrgName; // 分公司名称
|
|||
@ApiModelProperty("部门sid") |
|||
private String deptSid; // 部门sid
|
|||
@ApiModelProperty("部门名称") |
|||
private String deptName; // 部门名称
|
|||
@ApiModelProperty("采购系统名称") |
|||
private String purchaseSystemName; // 采购系统名称
|
|||
|
|||
} |
@ -0,0 +1,65 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basepurchasesystem; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystemDto.java <br/> |
|||
* Class: com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemDto <br/> |
|||
* Description: 采购系统管理表 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "采购系统管理表 数据传输对象", description = "采购系统管理表 数据传输对象") |
|||
public class BasePurchaseSystemDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
@ApiModelProperty("分公司名称") |
|||
private String useOrgName; // 分公司名称
|
|||
@ApiModelProperty("部门sid") |
|||
private String deptSid; // 部门sid
|
|||
@ApiModelProperty("部门名称") |
|||
private String deptName; // 部门名称
|
|||
@ApiModelProperty("采购系统名称") |
|||
private String purchaseSystemName; // 采购系统名称
|
|||
|
|||
} |
@ -0,0 +1,88 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basepurchasesystem; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystemFeign.java <br/> |
|||
* Class: com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemFeign <br/> |
|||
* Description: 采购系统管理表. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "采购系统管理表") |
|||
@FeignClient( |
|||
contextId = "anrui-base-BasePurchaseSystem", |
|||
name = "anrui-base", |
|||
path = "v1/basepurchasesystem", |
|||
fallback = BasePurchaseSystemFeignFallback.class) |
|||
public interface BasePurchaseSystemFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<BasePurchaseSystemVo>> listPage(@RequestBody PagerQuery<BasePurchaseSystemQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody BasePurchaseSystemDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<BasePurchaseSystemDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
|
|||
@ApiOperation("根据分公司sid查询采购系统名称") |
|||
@GetMapping("/fetchDetailsByUseOrgSid/{useOrgSid}") |
|||
@ResponseBody |
|||
public ResultBean<List<BasePurchaseSystemDetailsVo>> fetchDetailsByUseOrgSid(@PathVariable("useOrgSid") String useOrgSid); |
|||
|
|||
@ApiOperation("根据部门sid查询采购系统名称") |
|||
@GetMapping("/fetchDetailsByDeptSid/{deptSid}") |
|||
@ResponseBody |
|||
public ResultBean<BasePurchaseSystemDetailsVo> fetchDetailsByDeptSid(@PathVariable("deptSid") String deptSid); |
|||
} |
@ -0,0 +1,82 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basepurchasesystem; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystemFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemFeignFallback <br/> |
|||
* Description: 采购系统管理表. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class BasePurchaseSystemFeignFallback implements BasePurchaseSystemFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<BasePurchaseSystemVo>> listPage(PagerQuery<BasePurchaseSystemQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-base/basepurchasesystem/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(BasePurchaseSystemDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-base/basepurchasesystem/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-base/basepurchasesystem/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<BasePurchaseSystemDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-base/basepurchasesystem/fetchDetailsBySid无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<List<BasePurchaseSystemDetailsVo>> fetchDetailsByUseOrgSid(String useOrgSid) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<BasePurchaseSystemDetailsVo> fetchDetailsByDeptSid(String deptSid) { |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,57 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basepurchasesystem; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystemQuery.java <br/> |
|||
* Class: com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemQuery <br/> |
|||
* Description: 采购系统管理表 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "采购系统管理表 查询条件", description = "采购系统管理表 查询条件") |
|||
public class BasePurchaseSystemQuery implements Query { |
|||
|
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
@ApiModelProperty("采购系统名称") |
|||
private String purchaseSystemName; // 采购系统名称
|
|||
|
|||
} |
@ -0,0 +1,65 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.basepurchasesystem; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystemVo.java <br/> |
|||
* Class: com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemVo <br/> |
|||
* Description: 采购系统管理表 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "采购系统管理表 视图数据对象", description = "采购系统管理表 视图数据对象") |
|||
public class BasePurchaseSystemVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
@ApiModelProperty("分公司名称") |
|||
private String useOrgName; // 分公司名称
|
|||
@ApiModelProperty("部门sid") |
|||
private String deptSid; // 部门sid
|
|||
@ApiModelProperty("部门名称") |
|||
private String deptName; // 部门名称
|
|||
@ApiModelProperty("采购系统名称") |
|||
private String purchaseSystemName; // 采购系统名称
|
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.biz.basepurchasesystem; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.toolkit.Constants; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemDetailsVo; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
import org.apache.ibatis.annotations.Select; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystem; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemVo; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystemMapper.java <br/> |
|||
* Class: com.yxt.anrui.base.biz.basepurchasesystem.BasePurchaseSystemMapper <br/> |
|||
* Description: 采购系统管理表. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface BasePurchaseSystemMapper extends BaseMapper<BasePurchaseSystem> { |
|||
|
|||
//@Update("update base_purchase_system set name=#{msg} where id=#{id}")
|
|||
//IPage<BasePurchaseSystemVo> voPage(IPage<BasePurchaseSystem> page, @Param(Constants.WRAPPER) QueryWrapper<BasePurchaseSystem> qw);
|
|||
|
|||
IPage<BasePurchaseSystemVo> selectPageVo(IPage<BasePurchaseSystem> page, @Param(Constants.WRAPPER) Wrapper<BasePurchaseSystem> qw); |
|||
|
|||
List<BasePurchaseSystemVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<BasePurchaseSystem> qw); |
|||
|
|||
@Select("select * from base_purchase_system") |
|||
List<BasePurchaseSystemVo> selectListVo(); |
|||
|
|||
@Select("select * from base_purchase_system where useOrgSid = #{useOrgSid}") |
|||
List<BasePurchaseSystemDetailsVo> fetchDetailsByUseOrgSid(String useOrgSid); |
|||
|
|||
@Select("select * from base_purchase_system where deptSid = #{deptSid}") |
|||
BasePurchaseSystemDetailsVo fetchDetailsByDeptSid(String deptSid); |
|||
|
|||
@Select("select * from base_purchase_system where deptSid = #{deptSid} and sid != #{sid}") |
|||
BasePurchaseSystemDetailsVo fetchDetailsByDeptSid(@Param("deptSid") String deptSid,@Param("sid") String sid); |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.anrui.base.biz.basepurchasesystem.BasePurchaseSystemMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemVo"> |
|||
SELECT * FROM base_purchase_system <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemVo"> |
|||
SELECT * FROM base_purchase_system <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,108 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.biz.basepurchasesystem; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import java.util.List; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystem; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemQuery; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemVo; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemDetailsVo; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemDto; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemFeign; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystemFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.base.biz.basepurchasesystem.BasePurchaseSystemRest <br/> |
|||
* Description: 采购系统管理表. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "采购系统管理表") |
|||
@RestController("com.yxt.anrui.base.biz.basepurchasesystem.BasePurchaseSystemRest") |
|||
@RequestMapping("v1/basepurchasesystem") |
|||
public class BasePurchaseSystemRest implements BasePurchaseSystemFeign { |
|||
|
|||
@Autowired |
|||
private BasePurchaseSystemService basePurchaseSystemService; |
|||
|
|||
@Override |
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
public ResultBean<PagerVo<BasePurchaseSystemVo>> listPage(@RequestBody PagerQuery<BasePurchaseSystemQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
PagerVo<BasePurchaseSystemVo> pv = basePurchaseSystemService.listPageVo(pq); |
|||
return rb.success().setData(pv); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
public ResultBean save(@RequestBody BasePurchaseSystemDto dto){ |
|||
return basePurchaseSystemService.saveOrUpdateDto(dto); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据sid批量删除") |
|||
@DeleteMapping("/delBySids") |
|||
public ResultBean delBySids(@RequestBody String[] sids){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
basePurchaseSystemService.delBySids(sids); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<BasePurchaseSystemDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
BasePurchaseSystemDetailsVo vo = basePurchaseSystemService.fetchDetailsVoBySid(sid); |
|||
return rb.success().setData(vo); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<List<BasePurchaseSystemDetailsVo>> fetchDetailsByUseOrgSid(String useOrgSid) { |
|||
return basePurchaseSystemService.fetchDetailsByUseOrgSid(useOrgSid); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<BasePurchaseSystemDetailsVo> fetchDetailsByDeptSid(String deptSid) { |
|||
return basePurchaseSystemService.fetchDetailsByDeptSid(deptSid); |
|||
} |
|||
} |
@ -0,0 +1,143 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.biz.basepurchasesystem; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.api.R; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.yxt.common.base.utils.PagerUtil; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystem; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemQuery; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemVo; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemDetailsVo; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemDto; |
|||
import com.yxt.anrui.base.api.basepurchasesystem.BasePurchaseSystemFeign; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-base(采购系统管理) <br/> |
|||
* File: BasePurchaseSystemService.java <br/> |
|||
* Class: com.yxt.anrui.base.biz.basepurchasesystem.BasePurchaseSystemService <br/> |
|||
* Description: 采购系统管理表 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2023-01-06 09:27:28 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class BasePurchaseSystemService extends MybatisBaseService<BasePurchaseSystemMapper, BasePurchaseSystem> { |
|||
private QueryWrapper<BasePurchaseSystem> createQueryWrapper(BasePurchaseSystemQuery query) { |
|||
// todo: 这里根据具体业务调整查询条件
|
|||
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
|||
QueryWrapper<BasePurchaseSystem> qw = new QueryWrapper<>(); |
|||
return qw; |
|||
} |
|||
|
|||
public PagerVo<BasePurchaseSystemVo> listPageVo(PagerQuery<BasePurchaseSystemQuery> pq) { |
|||
BasePurchaseSystemQuery query = pq.getParams(); |
|||
QueryWrapper<BasePurchaseSystem> qw = new QueryWrapper<>(); |
|||
if (StringUtils.isNotBlank(query.getUseOrgSid())){ |
|||
qw.eq("useOrgSid",query.getUseOrgSid()); |
|||
} |
|||
if (StringUtils.isNotBlank(query.getPurchaseSystemName())){ |
|||
qw.like("purchaseSystemName",query.getPurchaseSystemName()); |
|||
} |
|||
IPage<BasePurchaseSystem> page = PagerUtil.queryToPage(pq); |
|||
IPage<BasePurchaseSystemVo> pagging = baseMapper.selectPageVo(page, qw); |
|||
PagerVo<BasePurchaseSystemVo> p = PagerUtil.pageToVo(pagging, null); |
|||
return p; |
|||
} |
|||
|
|||
public ResultBean saveOrUpdateDto(BasePurchaseSystemDto dto){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
BasePurchaseSystemDetailsVo basePurchaseSystemDetailsVo = baseMapper.fetchDetailsByDeptSid(dto.getDeptSid()); |
|||
if (basePurchaseSystemDetailsVo == null){ |
|||
this.insertByDto(dto); |
|||
return rb.success().setMsg("添加成功"); |
|||
} |
|||
return rb.setMsg("该部门下已存在采购系统,请重新选择"); |
|||
} |
|||
BasePurchaseSystem basePurchaseSystem = fetchBySid(dtoSid); |
|||
if (basePurchaseSystem == null){ |
|||
return rb.setMsg("该采购系统信息不存在"); |
|||
} |
|||
BasePurchaseSystemDetailsVo basePurchaseSystemDetailsVo = baseMapper.fetchDetailsByDeptSid(dto.getDeptSid(), dtoSid); |
|||
if (basePurchaseSystemDetailsVo == null){ |
|||
this.updateByDto(dto); |
|||
return rb.success().setMsg("修改成功"); |
|||
} |
|||
return rb.setMsg("该部门下已存在采购系统,请重新选择"); |
|||
} |
|||
|
|||
public void insertByDto(BasePurchaseSystemDto dto){ |
|||
BasePurchaseSystem entity = new BasePurchaseSystem(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void updateByDto(BasePurchaseSystemDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
return; |
|||
} |
|||
BasePurchaseSystem entity = fetchBySid(dtoSid); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.updateById(entity); |
|||
} |
|||
|
|||
public BasePurchaseSystemDetailsVo fetchDetailsVoBySid(String sid){ |
|||
BasePurchaseSystem entity = fetchBySid(sid); |
|||
BasePurchaseSystemDetailsVo vo = new BasePurchaseSystemDetailsVo(); |
|||
BeanUtil.copyProperties(entity, vo); |
|||
return vo; |
|||
} |
|||
|
|||
public ResultBean<List<BasePurchaseSystemDetailsVo>> fetchDetailsByUseOrgSid(String useOrgSid) { |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
List<BasePurchaseSystemDetailsVo> basePurchaseSystemDetailsVos = baseMapper.fetchDetailsByUseOrgSid(useOrgSid); |
|||
return rb.success().setData(basePurchaseSystemDetailsVos); |
|||
} |
|||
|
|||
public ResultBean<BasePurchaseSystemDetailsVo> fetchDetailsByDeptSid(String deptSid) { |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
BasePurchaseSystemDetailsVo basePurchaseSystemDetailsVo = baseMapper.fetchDetailsByDeptSid(deptSid); |
|||
return rb.success().setData(basePurchaseSystemDetailsVo); |
|||
} |
|||
} |
@ -0,0 +1,41 @@ |
|||
import request from '@/utils/request' |
|||
import qs from 'qs' |
|||
|
|||
// 根据条件分页查询数据的列表 已改
|
|||
export function pagerList(data) { |
|||
return request({ |
|||
url: '/base/v1/basepurchasesystem/listPage', |
|||
data: data, |
|||
method: 'post', |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
} |
|||
|
|||
// 新增保存 已改
|
|||
export function save(data) { |
|||
return request({ |
|||
url: '/base/v1/basepurchasesystem/save', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
} |
|||
|
|||
// 删除 已改
|
|||
export function delBySids(data) { |
|||
return request({ |
|||
url: '/base/v1/basepurchasesystem/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
} |
|||
|
|||
// 详情以及修改回显 已改
|
|||
export function fetchDetailsBySid(data) { |
|||
return request({ |
|||
url: '/base/v1/basepurchasesystem/fetchDetailsBySid/' + data, |
|||
method: 'get', |
|||
params: qs.stringify(data) |
|||
}) |
|||
} |
@ -0,0 +1,283 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<!-- Start 列表页面 --> |
|||
<div v-show="viewState == 1"> |
|||
<button-bar view-title="采购系统管理" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/> |
|||
<div class="main-content"> |
|||
<div class="searchcon"> |
|||
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|||
<div v-show="isSearchShow" class="search"> |
|||
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header"> |
|||
<el-form-item label="分公司名称"> |
|||
<el-select v-model="listQuery.params.useOrgSid" placeholder="请选择" clearable filterable @change="changeUseOrg"> |
|||
<el-option v-for="item in org_list" :key="item.sid" :label="item.name" :value="item.sid"></el-option> |
|||
</el-select> |
|||
</el-form-item> |
|||
<el-form-item label="采购系统"> |
|||
<el-input v-model="listQuery.params.purchaseSystemName" clearable placeholder=""/> |
|||
</el-form-item> |
|||
</el-form> |
|||
<div class="btn" style="text-align: center;"> |
|||
<el-button type="primary" icon="el-icon-search" @click="handleFilter" size="small">查询</el-button> |
|||
<el-button type="primary" icon="el-icon-refresh" @click="handleReset" size="small">重置</el-button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="listtop"> |
|||
<div class="tit">采购系统列表</div> |
|||
<pageye v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|||
</div> |
|||
<div class=""> |
|||
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;" @selection-change="handleSelectionChange"> |
|||
<el-table-column fixed width="60" type="selection" align="center"/> |
|||
<el-table-column fixed width="80" label="序号" type="index" :index="indexMethod" align="center"/> |
|||
<el-table-column fixed label="操作" width="100px" align="center"> |
|||
<template slot-scope="scope"> |
|||
<el-button type="primary" size="mini" @click="toEdit(scope.row)">编辑</el-button> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="分公司" align="center"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.useOrgName }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="部门" align="center"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.deptName }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="采购系统" align="center"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.purchaseSystemName }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
</el-table> |
|||
</div> |
|||
<div class="pages"> |
|||
<!-- 翻页 --> |
|||
<pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<purchasingsystemAdd v-show="viewState == 2 || viewState == 3" ref="divAdd" @doback="resetState" @reloadlist="getList"/> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import { pagerList, delBySids } from '@/api/system/purchasingsystem/purchasingsystem' |
|||
import Pagination from '@/components/pagination' |
|||
import pageye from '@/components/pagination/pageye' |
|||
import ButtonBar from '@/components/ButtonBar' |
|||
import purchasingsystemAdd from './purchasingsystemAdd.vue' |
|||
import { getListOrg, getListDeptByOrgSid } from '@/api/jichuxinxi/dictcommons' |
|||
|
|||
export default { |
|||
name: 'PurchasingSystem', |
|||
components: { |
|||
Pagination, |
|||
pageye, |
|||
ButtonBar, |
|||
purchasingsystemAdd |
|||
}, |
|||
data() { |
|||
return { |
|||
btndisabled: false, |
|||
btnList: [ |
|||
{ |
|||
type: 'primary', |
|||
size: 'small', |
|||
icon: 'plus', |
|||
btnKey: 'toAdd', |
|||
btnLabel: '新增' |
|||
}, |
|||
{ |
|||
type: 'danger', |
|||
size: 'small', |
|||
icon: 'del', |
|||
btnKey: 'doDel', |
|||
btnLabel: '删除' |
|||
}, |
|||
{ |
|||
type: 'info', |
|||
size: 'small', |
|||
icon: 'cross', |
|||
btnKey: 'doClose', |
|||
btnLabel: '关闭' |
|||
} |
|||
], |
|||
isSearchShow: false, |
|||
searchxianshitit: '显示查询条件', |
|||
viewState: 1, |
|||
// 查询条件 ----------- |
|||
tableKey: 0, |
|||
list: [], |
|||
sids: [], |
|||
org_list: [], |
|||
orgDept_list: [], |
|||
FormLoading: false, |
|||
listLoading: false, |
|||
listQuery: { |
|||
params: { |
|||
useOrgSid: '', |
|||
orgSidPath: '', |
|||
purchaseSystemName: '' |
|||
}, |
|||
current: 1, |
|||
size: 5, |
|||
total: 0 |
|||
}, |
|||
rules: {} |
|||
} |
|||
}, |
|||
created() { |
|||
this.init() |
|||
// 加载列表 |
|||
this.getList() |
|||
}, |
|||
mounted() { |
|||
this.$refs['btnbar'].setButtonList(this.btnList) |
|||
}, |
|||
methods: { |
|||
init() { |
|||
getListOrg().then((resp) => { |
|||
if (resp.success) { |
|||
this.org_list = resp.data |
|||
} |
|||
}) |
|||
}, |
|||
// 搜索条件效果 |
|||
clicksearchShow() { |
|||
this.isSearchShow = !this.isSearchShow |
|||
if (this.isSearchShow) { |
|||
this.searchxianshitit = '隐藏查询条件' |
|||
} else { |
|||
this.searchxianshitit = '显示查询条件' |
|||
} |
|||
}, |
|||
btnHandle(btnKey) { |
|||
console.log('XXXXXXXXXXXXXXX ' + btnKey) |
|||
switch (btnKey) { |
|||
case 'toAdd': |
|||
this.toAdd() |
|||
break |
|||
case 'doDel': |
|||
this.doDel() |
|||
break |
|||
case 'doClose': |
|||
this.doClose() |
|||
break |
|||
default: |
|||
break |
|||
} |
|||
}, |
|||
// 序号 |
|||
indexMethod(index) { |
|||
var pagestart = (this.listQuery.current - 1) * this.listQuery.size |
|||
var pageindex = index + 1 + pagestart |
|||
return pageindex |
|||
}, |
|||
handleSelectionChange(row) { |
|||
const aa = [] |
|||
row.forEach((element) => { |
|||
aa.push(element.sid) |
|||
}) |
|||
this.sids = aa |
|||
console.log('sids', this.sids) |
|||
}, |
|||
// 查询列表信息 |
|||
getList() { |
|||
this.listLoading = true |
|||
this.listQuery.params.orgSidPath = window.sessionStorage.getItem('orgSidPath') |
|||
pagerList(this.listQuery).then((response) => { |
|||
this.listLoading = false |
|||
if (response.success) { |
|||
this.list = response.data.records |
|||
this.listQuery.total = response.data.total |
|||
} else { |
|||
this.list = [] |
|||
this.listQuery.total = 0 |
|||
} |
|||
}) |
|||
}, |
|||
// 查询按钮 |
|||
handleFilter() { |
|||
this.listQuery.current = 1 |
|||
this.getList() |
|||
}, |
|||
handleReset() { |
|||
this.listQuery = { |
|||
params: { |
|||
useOrgSid: '', |
|||
orgSidPath: '', |
|||
purchaseSystemSid: '' |
|||
}, |
|||
current: 1, |
|||
size: 5, |
|||
total: 0 |
|||
} |
|||
this.getList() |
|||
}, |
|||
changeUseOrg(value) { |
|||
getListDeptByOrgSid(value).then((res) => { |
|||
if (res.success) { |
|||
this.orgDept_list = res.data |
|||
} |
|||
}) |
|||
}, |
|||
toAdd() { |
|||
this.viewState = 2 |
|||
this.$refs['divAdd'].showAdd() |
|||
}, |
|||
toEdit(row) { |
|||
this.viewState = 3 |
|||
this.$refs['divAdd'].showEdit(row) |
|||
}, |
|||
doDel() { |
|||
if (this.sids.length === 0) { |
|||
this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行删除操作' }) |
|||
return |
|||
} |
|||
const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?' |
|||
this.$confirm(tip, '提示', { |
|||
confirmButtonText: '确定', |
|||
cancelButtonText: '取消', |
|||
type: 'warning' |
|||
}).then(() => { |
|||
const loading = this.$loading({ |
|||
lock: true, |
|||
text: 'Loading', |
|||
spinner: 'el-icon-loading', |
|||
background: 'rgba(0, 0, 0, 0.7)' |
|||
}) |
|||
delBySids(this.sids).then(resp => { |
|||
if (resp.success) { |
|||
this.$message({ type: 'success', message: resp.msg, showClose: true }) |
|||
} |
|||
this.getList() |
|||
loading.close() |
|||
}).catch(e => { |
|||
loading.close() |
|||
}) |
|||
}).catch(() => { |
|||
}) |
|||
}, |
|||
resetState() { |
|||
this.viewState = 1 |
|||
}, |
|||
doClose() { |
|||
this.$store.dispatch('tagsView/delView', this.$route) |
|||
this.$router.go(-1) |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
<style scoped> |
|||
/*表格列设置fixed后固定列出现下边框的设置*/ |
|||
/deep/ .el-table__fixed { |
|||
height: 100% !important; |
|||
} |
|||
/*表格列设置fixed后固定列出现下边框的设置*/ |
|||
/deep/ .el-table__fixed-right { |
|||
height: 100% !important; |
|||
} |
|||
</style> |
@ -0,0 +1,170 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<div> |
|||
<!--标题按钮部分开始--> |
|||
<div class="tab-header webtop"> |
|||
<!--标题--> |
|||
<div>{{ viewTitle }}</div> |
|||
<!--start 添加修改按钮--> |
|||
<div> |
|||
<el-button type="primary" size="small" :disabled="submitdisabled" @click="save()">保存 |
|||
</el-button> |
|||
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|||
</div> |
|||
</div> |
|||
<!--标题按钮部分结束--> |
|||
<!--Start 新增修改部分--> |
|||
<div class="listconadd"> |
|||
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formadd"> |
|||
<el-row style="border-top: 1px solid #E0E3EB"> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>分公司</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item> |
|||
<el-select v-model="formobj.useOrgName" placeholder="请选择" clearable filterable @change="changeOrg"> |
|||
<el-option v-for="item in org_list" :key="item.sid" :label="item.name" :value="item.name"></el-option> |
|||
</el-select> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>部门</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item> |
|||
<el-select v-model="formobj.deptName" placeholder="请选择" clearable filterable @change="changeOrgDept"> |
|||
<el-option v-for="item in orgDept_list" :key="item.sid" :label="item.name" :value="item.name"></el-option> |
|||
</el-select> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>采购系统</span> |
|||
</el-col> |
|||
<el-col :span="20"> |
|||
<el-form-item><el-input v-model="formobj.purchaseSystemName" clearable placeholder="" style="width: 20%" /></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
</div> |
|||
</div> |
|||
<!--End 添加修改部分--> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import { save, fetchDetailsBySid } from '@/api/system/purchasingsystem/purchasingsystem' |
|||
import { getListOrg, getListDeptByOrgSid } from '@/api/jichuxinxi/dictcommons' |
|||
|
|||
export default { |
|||
name: 'PurchasingSystemAdd', |
|||
data() { |
|||
return { |
|||
viewTitle: '', |
|||
index: 0, |
|||
tableKey: 0, |
|||
org_list: [], |
|||
orgDept_list: [], |
|||
// 表单数据 |
|||
formobj: { |
|||
sid: '', // 一条数据的sid |
|||
deptName: '', |
|||
deptSid: '', |
|||
useOrgName: '', |
|||
useOrgSid: '', |
|||
purchaseSystemName: '' |
|||
}, |
|||
rules: {}, |
|||
submitdisabled: false |
|||
} |
|||
}, |
|||
methods: { |
|||
init() { |
|||
getListOrg().then((resp) => { |
|||
if (resp.success) { |
|||
this.org_list = resp.data |
|||
} |
|||
}) |
|||
}, |
|||
showAdd() { |
|||
this.$nextTick(() => { |
|||
this.init() |
|||
this.$refs['form_obj'].clearValidate() |
|||
}) |
|||
this.viewTitle = '【新增】采购系统' |
|||
}, |
|||
showEdit(row) { |
|||
this.$nextTick(() => { |
|||
this.$refs['form_obj'].clearValidate() |
|||
this.init() |
|||
}) |
|||
this.viewTitle = '【编辑】采购系统' |
|||
console.log('编辑回显', row.sid) |
|||
fetchDetailsBySid(row.sid).then((resp) => { |
|||
if (resp.success) { |
|||
this.formobj = resp.data |
|||
getListDeptByOrgSid(this.formobj.useOrgSid).then((res) => { |
|||
if (res.success) { |
|||
this.orgDept_list = res.data |
|||
} |
|||
}) |
|||
} |
|||
}).catch((e) => { |
|||
this.formobj = row |
|||
}) |
|||
}, |
|||
changeOrg(value) { |
|||
const choose = this.org_list.filter((item) => item.name === value) |
|||
this.formobj.useOrgSid = choose[0].sid |
|||
getListDeptByOrgSid(choose[0].sid).then((res) => { |
|||
if (res.success) { |
|||
this.orgDept_list = res.data |
|||
} |
|||
}) |
|||
}, |
|||
changeOrgDept(value) { |
|||
const choose = this.orgDept_list.filter((item) => item.name === value) |
|||
this.formobj.deptSid = choose[0].sid |
|||
}, |
|||
save() { |
|||
this.$refs['form_obj'].validate((valid) => { |
|||
if (valid) { |
|||
this.submitdisabled = true |
|||
save(this.formobj).then((resp) => { |
|||
if (resp.success) { |
|||
this.$message({ showClose: true, type: 'success', message: '保存成功' }) |
|||
this.handleReturn('true') |
|||
} else { |
|||
this.submitdisabled = false |
|||
} |
|||
}).catch(() => { |
|||
this.submitdisabled = false |
|||
}) |
|||
} else { |
|||
return false |
|||
} |
|||
}) |
|||
}, |
|||
// 返回(===既判断) |
|||
handleReturn(isreload) { |
|||
if (isreload === 'true') this.$emit('reloadlist') |
|||
// 表单数据 |
|||
this.formobj = { |
|||
sid: '', // 一条数据的sid |
|||
deptName: '', |
|||
deptSid: '', |
|||
useOrgName: '', |
|||
useOrgSid: '', |
|||
purchaseSystemName: '' |
|||
} |
|||
this.submitdisabled = false |
|||
this.$refs['form_obj'].resetFields() |
|||
this.$emit('doback') |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
<style scoped> |
|||
</style> |
|||
|
@ -0,0 +1,28 @@ |
|||
package com.yxt.anrui.buscenter.api.bussalesorder.app.order; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author dimengzhe |
|||
* @Date 2023/1/7 14:30 |
|||
* @Description |
|||
*/ |
|||
@Data |
|||
public class OrderRemarksVo implements Vo { |
|||
private static final long serialVersionUID = -5111561669820677541L; |
|||
|
|||
@ApiModelProperty(value = "销售订单sid") |
|||
private String saleOrderSid; |
|||
|
|||
@ApiModelProperty(value = "补充说明") |
|||
private String remarks; |
|||
|
|||
@ApiModelProperty("补充说明附件") |
|||
private List<String> images; |
|||
|
|||
private String imagesFile; |
|||
} |
@ -1,28 +0,0 @@ |
|||
新车买卖合同(现车) |
|||
|
|||
甲方(出卖方) : ${name} |
|||
乙方(买受方): ${customerName} |
|||
乙方从甲方以全款方式购买现车,现将双方权利和义务约定如下: |
|||
标的车辆基本信息 |
|||
|
|||
品牌型号 |
|||
车架号 |
|||
备注 |
|||
1 |
|||
${car_brand} |
|||
${car_vinNo} |
|||
${car_remarks} |
|||
二、单台车的车价为 ${monry} 元(大写 ${money1} ) |
|||
三、乙方向甲方交纳订金 ${money2} 元,乙方提车时交清全部车款。甲方未收到全款前, |
|||
车辆所有权归甲方所有。乙方欠款提车后未按照约定时间交清全部款项的,甲方有权将车辆收回并处置。 |
|||
四、车辆交付地点 ${address} ,乙方自提。 |
|||
五、乙方或乙方授权的提车人提车时需按照合同约定的车辆信息对车况及随车工具进行验收,验收无异议的,甲方向乙方交付车钥匙,自此,车辆毁损、灭失的风险以及对第三人的侵权责任由乙方承担。乙方提车上路时必须办理车辆临牌和保险,未办理临牌和保险产生的后果全部由乙方承担。 |
|||
六、甲方负责提供车辆合格证及发票,因国家政策调整等原因致使无法办理落实手续的后果由乙方承担。 |
|||
七、乙方交纳订金后在10日内不提车的,视为乙方单方放弃购车,甲方有权将车辆另行处置,订金不退。如果甲方同意乙方继续履行合同的,有权要求乙方每日按合同总价款的千分之一承担违约金。 |
|||
乙方交纳订金后,因甲方原因导致乙方不能提车的,甲方退还乙方订金,合同终止不再履行。 |
|||
八、本合同发生争议协商解决,协商不成向甲方所在地人民法院起诉解决。 |
|||
九、本合同双方签字或盖章之时生效。 |
|||
|
|||
甲方:分公司名称(打印) 乙方: 客户签字 |
|||
年 月 日 年 月 日 |
|||
|
File diff suppressed because it is too large
@ -1,54 +0,0 @@ |
|||
新车买卖合同(订车) |
|||
|
|||
甲方(出卖方) : ${name} |
|||
乙方(买受方): ${customerName} |
|||
乙方从甲方以全款方式订购车辆 台,现将双方权利和义务约定如下: |
|||
甲方按照乙方要求订购排产的车辆型号及配置要求如下: |
|||
${carModel} |
|||
${brand} |
|||
${manName} |
|||
${color} |
|||
${engineType} |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
${gearboxType} |
|||
${rearAxle} |
|||
${capacity} |
|||
${displament} |
|||
${power} |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
${driveForm} |
|||
${airCondit} |
|||
${tyreSpecifi} |
|||
开门 |
|||
举升方式 |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
货厢尺寸 |
|||
外廓尺寸:长 宽 高 |
|||
板材材质: 板材厚度: |
|||
其他说明: |
|||
其他配置要求:${config} |
|||
二、单台车的车价为 元(大写 ) |
|||
三、乙方向甲方交纳订金 元,乙方提车时交清全部车款。甲方未收到全款前,车辆所有权归甲方所有。乙方欠款提车后未按照约定时间交清全部款项的,甲方有权将车辆收回并处置。 |
|||
四、车辆交付地点 ,乙方自提。 |
|||
五、乙方或乙方授权的提车人提车时需按照合同约定的车辆信息对车况及随车工具进行验收,验收无异议的,甲方向乙方交付车钥匙,自此,车辆毁损、灭失的风险以及对第三人的侵权责任由乙方承担。乙方提车上路时必须办理车辆临牌和保险,未办理临牌和保险产生的后果全部由乙方承担。 |
|||
六、甲方负责提供车辆合格证及发票,因国家政策调整等原因致使无法办理落实手续的后果由乙方承担。 |
|||
七、甲方通知乙方提车后,乙方在10日内不提车的,视为乙方单方放弃购车,甲方有权将车辆另行处置,订金不退。如果甲方同意乙方继续履行合同的,有权要求乙方每日按合同总价款的千分之一承担违约金。 |
|||
乙方交纳订金后,因甲方原因导致乙方不能提车的,甲方退还乙方订金,合同终止不再履行。 |
|||
八、本合同发生争议协商解决,协商不成向甲方所在地人民法院起诉解决。 |
|||
九、本合同双方签字或盖章之时生效。 |
|||
|
|||
甲方: 乙方: |
|||
年 月 日 年 月 日 |
|||
|
File diff suppressed because it is too large
@ -1,184 +0,0 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<div> |
|||
<!--标题按钮部分开始--> |
|||
<div class="tab-header webtop"> |
|||
<!--标题--> |
|||
<div>{{ viewTitle }}</div> |
|||
<!--start 添加修改按钮--> |
|||
<div> |
|||
<el-button type="primary" size="small" @click="save()">保存 |
|||
</el-button> |
|||
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|||
</div> |
|||
</div> |
|||
<!--标题按钮部分结束--> |
|||
<!--Start 新增修改部分--> |
|||
<div class="listconadd"> |
|||
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formadd"> |
|||
<el-row style="border-top: 1px solid #E0E3EB"> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>分公司</span> |
|||
</el-col> |
|||
<el-col :span="20"> |
|||
<el-form-item><span>{{ formobj.useOrgName }}</span></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>名称</span> |
|||
</el-col> |
|||
<el-col :span="20"> |
|||
<el-form-item><el-input v-model="formobj.name" clearable placeholder="" style="width: 40%"></el-input></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>纳税人识别号</span> |
|||
</el-col> |
|||
<el-col :span="20"> |
|||
<el-form-item><el-input v-model="formobj.taxpayerNo" clearable placeholder="" style="width: 40%"></el-input></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>地址</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item><el-input v-model="formobj.address" clearable placeholder="" class="addinputw"></el-input></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>电话</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item><el-input v-model="formobj.phone" clearable placeholder="" class="addinputw"></el-input></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>开户行</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item> |
|||
<el-select v-model="formobj.bankName" placeholder="请选择" clearable filterable> |
|||
<el-option v-for="item in bank_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictValue"></el-option> |
|||
</el-select> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>银行账号</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item><el-input v-model="formobj.bankAccount" clearable placeholder="" class="addinputw"></el-input></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
</div> |
|||
</div> |
|||
<!--End 添加修改部分--> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import req from '@/api/anruifinmanagement/billinginformation' |
|||
import { getPathSidByUserSid, fetchBySid, typeValues } from '@/api/jichuxinxi/dictcommons' |
|||
|
|||
export default { |
|||
name: 'kaipiaoxinxiweihu', |
|||
data() { |
|||
return { |
|||
viewTitle: '', |
|||
index: 0, |
|||
tableKey: 0, |
|||
org_list: [], |
|||
bank_list: [], |
|||
// 表单数据 |
|||
formobj: { |
|||
sid: '', // 一条数据的sid |
|||
address: '', |
|||
bankAccount: '', |
|||
bankName: '', |
|||
name: '', |
|||
phone: '', |
|||
taxpayerNo: '', |
|||
useOrgName: '', |
|||
useOrgSid: '' |
|||
}, |
|||
rules: {} |
|||
} |
|||
}, |
|||
created() { |
|||
this.showAdd() |
|||
}, |
|||
methods: { |
|||
init() { |
|||
typeValues({ type: 'bank' }).then((res) => { |
|||
if (res.success) { |
|||
this.bank_list = res.data |
|||
} |
|||
}) |
|||
}, |
|||
showAdd() { |
|||
this.$nextTick(() => { |
|||
this.init() |
|||
this.$refs['form_obj'].clearValidate() |
|||
}) |
|||
this.viewTitle = '【新增】开票信息' |
|||
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|||
if (res.success) { |
|||
this.formobj.useOrgSid = res.data |
|||
fetchBySid(res.data).then((resp) => { |
|||
if (resp.success) { |
|||
this.formobj.useOrgName = resp.data.name |
|||
} |
|||
}) |
|||
req.fetchDetailsByUseOrgSid(res.data).then((response) => { |
|||
if (response.success) { |
|||
if (response.data !== null) { |
|||
this.formobj = response.data |
|||
this.viewTitle = '【编辑】开票信息' |
|||
} |
|||
} |
|||
}) |
|||
} |
|||
}) |
|||
}, |
|||
save() { |
|||
this.$refs['form_obj'].validate((valid) => { |
|||
if (valid) { |
|||
req.saveOrUpdate(this.formobj).then((resp) => { |
|||
if (resp.success) { |
|||
this.$message({ showClose: true, type: 'success', message: '保存成功' }) |
|||
// this.handleReturn('true') |
|||
} |
|||
}).catch(() => { |
|||
}) |
|||
} else { |
|||
return false |
|||
} |
|||
}) |
|||
}, |
|||
// 返回(===既判断) |
|||
handleReturn() { |
|||
// 表单数据 |
|||
this.formobj = { |
|||
sid: '', // 一条数据的sid |
|||
address: '', |
|||
bankAccount: '', |
|||
bankName: '', |
|||
name: '', |
|||
phone: '', |
|||
taxpayerNo: '', |
|||
useOrgName: '', |
|||
useOrgSid: '' |
|||
} |
|||
this.$refs['form_obj'].resetFields() |
|||
this.$store.dispatch('tagsView/delView', this.$route) |
|||
this.$router.go(-1) |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
<style scoped> |
|||
</style> |
|||
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue