<#include '/public/template/editTemplate.html'> <#assign formId="editForm${uuid}"> <#macro editContent>
<#if (item.deviceType)?string != "5" && (item.deviceType)?string != "6"> <#if (item.deviceType)?string != "4" && Application['system.language'] == "zh_CN">
*
*
* <@ZKUI.IP name ='ipAddress' value='${(item.ipAddress)!}' disabled='true'/>
<#if (item.isAccounting)?exists && (item.isAccounting)?string == "1" > <@ZKUI.Input hideLabel="true" type="checkbox" id="idIsAccounting" name="isAccounting" value="1" checked="checked"/> <#else> <@ZKUI.Input hideLabel="true" type="checkbox" id="idIsAccounting" name="isAccounting" value="1"/>
* <@ZKUI.Combo id="idConsumeMode" width="148" empty="false" name="consumeMode" hideLabel="true" value="${(item.consumeMode)!}" path="posIDFaceConsumeDevice.do?getConsumeMode&deviceType=${(item.deviceType)!}">
* <@ZKUI.Combo id="idDiningHallId" width="148" hideLabel="true" empty="false" name="diningHallId" value="${(item.diningHallId)!}" path="posIDDiningHall.do?getDiningHallNameList" >
* <@ZKUI.Combo width="148px" empty="false" name="consumeOrder" hideLabel="true" value="${(item.consumeOrder)!}" path="posIDFaceConsumeDevice.do?getConsumeOrder&deviceType=${(item.deviceType)!}">
* <@ZKUI.Combo id="validationMode" width="148" hideLabel="true" empty="false" name="validationMode" value="${(item.validationMode)!}" path="posIDFaceConsumeDevice.do?getValidationModeNameList&sn=${(item.sn)!}" >
<#if (item.isAccountkindRestrict)?exists && (item.isAccountkindRestrict)?string == "1" > <@ZKUI.Input hideLabel="true" type="checkbox" id="isAccountkindRestrict" name="isAccountkindRestrict" value="1" checked="checked"/> <#else> <@ZKUI.Input hideLabel="true" type="checkbox" id="isAccountkindRestrict" name="isAccountkindRestrict" value="1"/>
<#if (item.isConsumeOkTakePhoto)?exists && (item.isConsumeOkTakePhoto)?string == "1" > <@ZKUI.Input hideLabel="true" type="checkbox" id="isConsumeOkTakePhoto" name="isConsumeOkTakePhoto" value="1" checked="checked"/> <#else> <@ZKUI.Input hideLabel="true" type="checkbox" id="isConsumeOkTakePhoto" name="isConsumeOkTakePhoto" value="1"/>
<#if (item.isSupportScanBox)?exists && (item.isSupportScanBox)?string == "1" > <@ZKUI.Input hideLabel="true" type="checkbox" id="isSupportScanBox" name="isSupportScanBox" value="1" checked="checked"/> <#else> <@ZKUI.Input hideLabel="true" type="checkbox" id="isSupportScanBox" name="isSupportScanBox" value="1"/>
<#if (item.isOfflineConsume)?exists && (item.isOfflineConsume)?string == "1" > <@ZKUI.Input hideLabel="true" type="checkbox" id="isOfflineConsume" name="isOfflineConsume" value="1" checked="checked" onchange="offlineConsumeClick(this)"/> <#else> <@ZKUI.Input hideLabel="true" type="checkbox" id="isOfflineConsume" name="isOfflineConsume" value="1" onchange="offlineConsumeClick(this)"/>