| | |
| | | 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' |
| | |
| | | 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', |