<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ taglib uri="/WEB-INF/taglib.tld" prefix="x" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="X" uri="/taglib" %>
<x:base include="grid,date,layout,combox,tree,comboDialog,attachment"/>
<x:script src='/system/opm/js/OpmUtil.js'/>
<x:script src='/biz/topsun/common/purchaseCommon.js'/>
<x:script src='/biz/topsun/proofing/workInstruction.js'/>
<div class="container-fluid" style="padding: 10px;">
    <form class="hg-form" method="post" action="" id="submitForm">

        <x:billTitle title="作业指导书" needStatus="false" needPerson="true"/>
        <div style="margin: 10px;">
            <x:title title="基本信息" name="group"/>
            <div class="hg-form-cols">
                <x:hidden name="workInstructionApplyId"/>

                <x:hidden name="productId"/>
                <x:inputC name="productCode"  label="产品编号" wrapper="select" labelCol="1" fieldCol="2"/>

                <x:inputC name="productName"  label="产品名称" labelCol="1" fieldCol="2"/>

                <x:inputC name="productType"  label="产品类别"  labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productUnit"  label="单位" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="sizeGroupId"  label="尺码组" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="isOnlyCode"  label="唯一码产品" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="isBodyColor"  label="不考虑形体配色" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:selectC name="isDisable"  label="是否禁用" dictionary="yesorno" labelCol="1"
                          fieldCol="2"/>
                <x:selectC  name="isBuildBom"  label="是否建立BON表" dictionary="yesorno" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="confirmDate"  label="确认日期" maxLength="32" wrapper="date" labelCol="1" fieldCol="2"/>
                <x:inputC name="comfirmPerson"  label="确认人" labelCol="1" fieldCol="2"/>

                <x:selectC name="isFreeInspection" label="是否免检" dictionary="yesorno" labelCol="1" fieldCol="2"/>

                <x:inputC name="isNoQualityLoss" label="不要质量loss%" labelCol="1" fieldCol="2"/>

                <x:inputC name="sampleOrderNo"  label="样品单号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="stockNo"  label="库存编码" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="stockName"  label="库存名称" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="fileNo"  label="存档编号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="barnd"  label="品牌" maxLength="32" labelCol="1"
                          fieldCol="2"/>
            </div>
            <x:title title="可选属性" name="group"/>
            <div class="hg-form-cols">
                <x:inputC name="makeFactory"  label="制造工厂" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="customerName"  label="客户名称" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="page"  label="版面" labelCol="1" fieldCol="2"/>

                <x:inputC name="materialCode" label="材料代号" maxLength="32" labelCol="1" fieldCol="2"/>

                <x:inputC name="productCode" label="产品代号" labelCol="1" fieldCol="2"/>

                <x:inputC name="bodyColor"  label="型体配色" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="customerMaterialCode"  label="客户料号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="versionNo"  label="版本号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:selectC name="isNewSpecification"  label="是否创建新作业指导书" dictionary="yesorno" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="specificationNo"  label="规格书编号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
            </div>
            <x:title title="产品外观" name="group"/>
            <div class="hg-form-cols">
                <x:inputC name="productLength"  label="长度" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productWidth"  label="宽度" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="productHeight"  label="高度" labelCol="1" fieldCol="2"/>

                <x:inputC name="productThick" label="厚度" maxLength="32" labelCol="1" fieldCol="2"/>

                <x:inputC name="productWeight" label="成品克重" labelCol="1" fieldCol="2"/>

                <x:inputC name="productAngleType"  label="直角" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="isOnlyCode"  label="异形" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="isBodyColor"  label="圆角" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productAperture"  label="孔径" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productSingleLayer"  label="单层厚" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productSingleWeight"  label="单重" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productLayerNum"  label="层数" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:selectC name="productMould"  label="是否防雾" dictionary="yesorno" labelCol="1"
                          fieldCol="2"/>
                <x:selectC name="productCoding"  label="是否写码" dictionary="yesorno" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productSysCertification"  label="体系认证" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="storeName"  label="仓库" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productBuyUnit"  label="单位" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="isBodyColor"  label="采购换算值" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="isBodyColor"  label="系数" maxLength="32" labelCol="1"
                          fieldCol="2"/>
            </div>
            <x:title title="排版参数" name="group" />
            <div class="hg-form-cols">
                <X:hidden name="productPublishedConfId"/>
                <x:inputC name="modulus"  label="模数" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="columnNum"  label="列" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="rowNum"  label="行" labelCol="1" fieldCol="2"/>

                <x:inputC name="contactNum" label="搭版数" maxLength="32" labelCol="1" fieldCol="2"/>

                <x:inputC name="columnDoubleBlade" label="列双刀位" labelCol="1" fieldCol="2"/>

                <x:inputC name="rowDoubleBlade"  label="行双刀位" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="dispatchMultiple"  label="派工倍数" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="sheetLength"  label="印章长度" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="sheetWidth"  label="印章宽度" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productSheetConf"  label="产品印章设置" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="isBodyColor"  label="正面颜色" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="isBodyColor"  label="反面颜色" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="isBodyColor"  label="产品承印物" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="beerPlateNo"  label="啤版编号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="goldPlateNo"  label="烫金版编号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="dieCutPlateNo"  label="模切版编号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="copperpResinLateNo"  label="铜版及树脂编号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="netPlateNo"  label="网版编号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="technologyProcess"  label="工艺制成" maxLength="32" labelCol="1"
                          fieldCol="2"/>

                <x:inputC name="productProperties"  label="产品性质" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="technologyRequire"  label="工艺要求" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="packageStyle"  label="包装方式" labelCol="1" fieldCol="2"/>

                <x:inputC name="physicalTest" label="物性测试" maxLength="32" labelCol="1" fieldCol="2"/>

                <x:inputC name="chemistryTest" label="化性测试" labelCol="1" fieldCol="2"/>

                <x:inputC name="productMaterial"  label="产品材质" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="plasticBagStructure"  label="塑料袋结构" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="copperpNo"  label="铜版编号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="colorNoCard"  label="色卡号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="plateNo"  label="膜具编号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="surfaceTreatment"  label="表面处理" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productDescribe"  label="产品描述" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productFront"  label="产品正面（删除图片）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productOpposite"  label="产品背面（删除图片）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="riskDescription"  label="风险描述（序号、内容、等级）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:selectC name="haveDrawing"  label="是否附样图" dictionary="yesorno" labelCol="1" fieldCol="2"/>
                <x:selectC name="isBodyColor"  label="是否要鞋图" dictionary="yesorno" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="beerPlateNum"  label="啤版模数" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="dieBoardNum"  label="模切板模数" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="cutDirection"  label="分切方向" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="customsCommodityCode"  label="海关商品编码" maxLength="32" labelCol="1"
                          fieldCol="2"/>
            </div>
            <x:title title="客户loss" name="group"/>
            <div class="hg-form-cols">
                <x:inputC name="customerName"  label="客户" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productAddSection"  label="新增分段" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="isDisable"  label="数量上限" labelCol="1" fieldCol="2"/>

                <x:inputC name="productLossRate" label="Loos%" maxLength="32" labelCol="1" fieldCol="2"/>

                <x:inputC name="productLossRedundance" label="冗余量" labelCol="1" fieldCol="2"/>

                <x:inputC name="productLossRemark"  label="备注" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productDeleteSection"  label="删除分段" maxLength="32" labelCol="1"
                          fieldCol="2"/>
            </div>
            <x:title title="物料信息" name="group" />
            <div class="hg-form-cols">
                <x:inputC name="bomNo"  label="BOM单号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="versionNo"  label="版本号" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="number"  label="数量" labelCol="1" fieldCol="2"/>

                <x:inputC name="createdById" label="录入人" maxLength="32" labelCol="1" fieldCol="2"/>

                <x:inputC name="createdDate" label="录入日期"  maxLength="32" wrapper="date" labelCol="1" fieldCol="2"/>

                <x:inputC name="modifiedById"  label="修改人" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="modifiedDate"  label="修改日期"  wrapper="date"  labelCol="1"
                          fieldCol="2"/>
                <x:selectC name="status"  label="状态" dictionary="status" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="approvalStatus"  label="审核状态" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="approvalPerson"  label="审核人" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="approvalDate"  label="审核时间" maxLength="32" wrapper="date" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="remark"  label="备注" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="materialSheetLength"  label="印章长度" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="materialSheetWidth"  label="印章宽度" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="fullNumber"  label="满排个数" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="lossRate"  label="损耗" maxLength="32" labelCol="1"
                          fieldCol="2"/>
            </div>
        </div>
        <div class="blank_div clearfix"></div>
        <div style="min-height: 40px; text-align: center;">
            <x:button value="保存" onclick="saveForm()" icon="fa-save"/>
            <x:button value="重置" onclick="resetForm(this.form)" icon="fa-history"/>
        </div>
    </form>

</div>
