<%@ 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" %>
<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/workInstructionApply.js'/>
<div class="container-fluid" style="padding: 10px;">
    <x:hidden name="isDetailPage" value="false"/> <!--是否是详情页-->
    <form class="hg-form" method="post" action="" id="submitForm">
        <x:billTitle title="作业指导申请书" needStatus="false" needPerson="true"/>
        <div style="display: flex; align-items: center;">
            <div style="flex: 1;">
                <x:title title="基本信息" name="group"/>
            </div>
            <div style="text-align: right;padding-right: 50px;" id="formButton">
                <x:button value="保存" onclick="saveForm()" icon="fa-save"/>
                <x:button value="重置" onclick="resetForm(this.form)" icon="fa-history"/>
            </div>
        </div>

        <div style="margin: 10px;">
            <div class="hg-form-cols">
                <x:hidden name="proofingApplyId"/>
                <x:hidden name="proofingMakeId"/>
                <x:inputC name="workInstructionApplyId" readonly="true" label="指导书编号" labelCol="2" fieldCol="2"/>

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

                <x:inputC name="specificationNo"  label="规格书编号" labelCol="2" fieldCol="2"/>

                <x:inputC name="productType"  label="产品类型"  labelCol="2"
                          fieldCol="2"/>
                <x:inputC name="brand"  label="品牌" maxLength="32" labelCol="2"
                          fieldCol="2"/>
                <x:inputC name="productUnit"  label="采购单位" maxLength="32" labelCol="2"
                          fieldCol="2"/>
                <x:inputC name="matrixingValue"  label="换算值" maxLength="32" labelCol="2"
                          fieldCol="2"/>
                <x:inputC name="productName"  label="产品名称" maxLength="32" labelCol="2"
                          fieldCol="2"/>
                <x:inputC name="productEnName"  label="产品英文名称" maxLength="32" labelCol="2"
                          fieldCol="2"/>
                <x:selectC name="storeHouse"  label="仓库"  labelCol="2" dictionary="storeName"
                          fieldCol="2"/>
                <x:inputC name="sizeGroup"  label="尺码组" maxLength="32" labelCol="2" fieldCol="2"/>
                <x:selectC name="isDisable"  label="是否禁用" dictionary="yesorno" labelCol="2" fieldCol="2"/>

                <x:selectC name="isNewSpecification" label="是否创建新规格书" dictionary="yesorno" labelCol="2" fieldCol="2"/>

                <x:selectC name="isShoePattern" label="是否要鞋图" dictionary="yesorno" labelCol="2" fieldCol="2"/>

                <x:selectC name="isAttachedSample"  label="是否附样品" dictionary="yesorno" labelCol="2"
                          fieldCol="2"/>
                <x:selectC name="isOnlyCode"  label="是否唯一码产品" dictionary="yesorno" labelCol="2"
                          fieldCol="2"/>
                <x:selectC name="isBodyColor"  label="是否不考虑形体配色" dictionary="yesorno" labelCol="2"
                          fieldCol="2"/>
            </div>
        </div>
    </form>

</div>
