田源
2023-10-18 59c9fdfeecda48c774660b04fe84f5992caa1893
编码规则管理-同时只能一条编码规则设置最大流水号
已修改3个文件
15 ■■■■ 文件已修改
Source/UBCS-WEB/src/api/system/dept.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/code/code.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/system/user.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/api/system/dept.js
@@ -83,11 +83,8 @@
export const updateUserStatus = (params) => {
  return request({
    url: '/api/ubcs-user/updateUserStatus  ',
    url: '/api/ubcs-user/updateUserStatus',
    method: 'post',
    params:{
      ...params
    }
    data: params
  })
}
Source/UBCS-WEB/src/views/code/code.vue
@@ -3382,10 +3382,14 @@
    },
    // 最大流水号
    maxSerialNum() {
      if (this.selectionList.length === 0) {
      if (this.selectionList.length <= 0) {
        this.$message.warning("请选择一条编码规则!");
        return;
      }
      if(this.selectionList.length> 1){
        this.$message.warning("只能选择一条编码规则!");
        return;
      }
      this.maxSerial.visible = true;
      this.maxSerial.ruleOid = this.selectionList[0]["oid"];
    },
Source/UBCS-WEB/src/views/system/user.vue
@@ -742,7 +742,7 @@
    }
  },
  created() {
    updateUserStatus({userid:'1702600796324032513',status:'true'}).then(res=>{
    updateUserStatus({userid:'1702600796324032513',status:true}).then(res=>{
      console.log(res)
    })
    this.selecload()