|
@ -214,6 +214,11 @@ const formatter = value => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const startAdd = () => { |
|
|
const startAdd = () => { |
|
|
|
|
|
let value = parseInt(addLiquidVal.value); |
|
|
|
|
|
if ( 0 === value || value > 5000 ) { |
|
|
|
|
|
console.warn(`加液量不合法 : ${value}`); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
if (!(operatorStore.replenishingFluidsWorkState == 1)) { |
|
|
if (!(operatorStore.replenishingFluidsWorkState == 1)) { |
|
|
webSocketStore.sendCommandMsg( |
|
|
webSocketStore.sendCommandMsg( |
|
|
startReplenishingFluidsJSON(parseInt(addLiquidVal.value)), |
|
|
startReplenishingFluidsJSON(parseInt(addLiquidVal.value)), |
|
|