zuozhengqing
2023-11-06 f9b2a039afe6f674908e483bf19915c0ba06eb71
Merge branch 'dev' of http://192.168.5.5:10010/r/web/WMS into dev
3个文件已修改
26 ■■■■ 已修改文件
src/components/makepager/CommonFormTableView.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/overview/AddOverviewDialog.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productManage/productCategory/AddProductCategoryDialog.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/makepager/CommonFormTableView.vue
@@ -510,17 +510,16 @@
      })
    },
    selProductNameClick(item) {
      console.log(item)
      this.tableList.tableData.map((ite) => {
      this.productIndex = this.tableList.tableData.length - 1
      this.tableList.tableData.map((ite, index) => {
        console.log(ite)
        // if (ite.productName === item.name) {
        if (index === this.productIndex) {
        ite.productId = item.id
        ite.productName = item.name
        ite.amount = item.amount
        ite.unit = item.unit
        // }
        }
      })
      console.log(this.tableList.tableData)
    },
    // 选择产品
    selProductClick(item) {
src/views/overview/AddOverviewDialog.vue
@@ -144,7 +144,12 @@
                    style="width: 90%"
                    :disabled="!showFooter"
                  >
                    <el-option v-for="item in toLocationOptions" :key="item.id" :label="item.jointName" :value="item.id">
                    <el-option
                      v-for="item in toLocationOptions"
                      :key="item.id"
                      :label="item.jointName"
                      :value="item.id"
                    >
                    </el-option>
                  </el-select>
                </el-form-item>
@@ -158,7 +163,12 @@
                    style="width: 90%"
                    :disabled="!showFooter"
                  >
                    <el-option v-for="item in toLocationOptions" :key="item.id" :label="item.jointName" :value="item.id">
                    <el-option
                      v-for="item in toLocationOptions"
                      :key="item.id"
                      :label="item.jointName"
                      :value="item.id"
                    >
                    </el-option>
                  </el-select>
                </el-form-item>
@@ -589,6 +599,7 @@
    },
    // 新增
    addProductClick(value) {
      console.log(value)
      if (value === "操作") {
        console.log(this.tableData)
        for (let i = 0; i < this.tableData.length; i++) {
src/views/productManage/productCategory/AddProductCategoryDialog.vue
@@ -268,6 +268,7 @@
    },
    // 获取产品数量
    getProductCount() {
      if (this.editConfig.title !== "新建") {
      getProductList({
        keyWord: "",
        categoryId: this.editConfig.title === "新建" ? null : this.editConfig.infomation.id,
@@ -285,6 +286,7 @@
          console.error(err)
          this.statisticsMap.product = 0
        })
      }
    },
    // 设置删除/打印/编辑是否显示
    setBottonView() {