loulijun2021
2023-03-01 9219fc482b055ef695d0b1377ee96d0c4d065a16
src/views/zzmx/chda.vue
@@ -178,6 +178,7 @@
          <el-table-column
            prop="stocktypename"
            label="存货类型"
            show-tooltip-when-overflow
            sortable="custom"
            min-width="110"
          />
@@ -914,8 +915,8 @@
        this.dialogForm.warehousecode = row.stck_code
        this.dialogForm.stocktypecode = row.stocktypecode
        this.dialogForm.materialtypecode = row.materialtypecode
        this.dialogForm.minstockqty = row.maxqty
        this.dialogForm.maxstockqty = row.minqty
        this.dialogForm.minstockqty = row.minqty
        this.dialogForm.maxstockqty = row.maxqty
      })
      await this.getuomSelect()
    },
@@ -970,8 +971,8 @@
            warehousecode: this.dialogForm.warehousecode,
            stocktypecode: this.dialogForm.stocktypecode,
            materialtypecode: this.dialogForm.materialtypecode,
            minstockqty: this.dialogForm.minstockqty === '' ? 0 : this.dialogForm.minstockqty,
            maxstockqty: this.dialogForm.maxstockqty === '' ? 0 : this.dialogForm.maxstockqty,
            minstockqty: this.dialogForm.minstockqty ? parseFloat(this.dialogForm.minstockqty) : 0,
            maxstockqty: this.dialogForm.maxstockqty ? parseFloat(this.dialogForm.maxstockqty) : 0,
            OperType: this.operation === 'add' ? 'Add' : 'Update'
          }
          AddUpdateInventoryFile(data).then(res => {