loulijun2021
2023-02-14 b46bc2dba51a3885a68e4c58316b41a31ea16bb2
src/views/zzmx/chda.vue
@@ -1074,8 +1074,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
        this.isBatchNo = row.is_batchno === 'Y'
        this.isFifo = row.is_fifo === 'Y'
        this.isInCheck = row.is_incheck === 'Y'
@@ -1139,8 +1139,8 @@
            warehousecode: this.dialogForm.warehousecode,
            stocktypecode: this.dialogForm.stocktypecode,
            materialtypecode: this.dialogForm.materialtypecode,
            minstockqty: this.dialogForm.minstockqty === null ? 0 : this.dialogForm.minstockqty,
            maxstockqty: this.dialogForm.maxstockqty === null ? 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',
            is_batchno: this.isBatchNo ? 'Y' : 'N',
            is_fifo: this.isFifo ? 'Y' : 'N',