yangfeng
2023-11-15 595bb533ab045ba93bc7588c87427ea084f705eb
新建报废单-获取报废位置增加入参
1个文件已修改
10 ■■■■■ 已修改文件
src/views/operate/scrap/AddScrapDialog.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/scrap/AddScrapDialog.vue
@@ -168,7 +168,7 @@
      currentState: "todo", // 当前状态
      unit: "",
      showButton: true,
      isValidateClick: false, // 验证是否显示
      isValidateClick: false // 验证是否显示
    }
  },
  created() {
@@ -195,7 +195,7 @@
    // 获取仓库位置列表
    async getLocationList() {
      await getLocationList({
        keyWord: "",
        isScrapLocation: true,
        page: 0,
        pageSize: 0
      }).then((res) => {
@@ -267,7 +267,7 @@
      } else if (this.editCommonConfig.title === "编辑") {
        this.$refs[formName].validate((valid) => {
          if (valid) {
            let params={
            let params = {
              amount: this.editConfig.infomation.amount,
              baseOperationType: this.editConfig.infomation.baseOperationType,
              fromLocationId: this.editConfig.infomation.fromLocationId,
@@ -279,9 +279,7 @@
              status: this.editConfig.infomation.status,
              toLocationId: this.editConfig.infomation.toLocationId
            }
            updateScrap(
              params
            ).then((res) => {
            updateScrap(params).then((res) => {
              console.log(res)
              this.editConfig.visible = false
              if (res.code === 200) {