<%@ 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/technologyAndBom/technologyAndBom.js'/>--%>
<x:script src='/biz/topsun/proofing/proofingMake.js'/>
<div class="container-fluid" style="padding: 10px;">
    <x:hidden name="isDetailPage" value="false"/> <!--是否是详情页-->
    <x:billTitle title="打样制造单" needStatus="false" needPerson="true"/>
    <div class="blank_div clearfix"></div>
    <form class="hg-form" method="post" action="" id="submitForm">

        <div style="display: flex; align-items: center;">
            <div style="flex: 1;">
                <h3>基本信息</h3>
            </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="bizId"/>--%>
                <x:hidden name="proofingMakeId"/>
                <x:hidden name="proofingApplyId"/><!--申请单id-->
                <x:hidden name="proofingMakeLookedId"/>
                <x:hidden name="proofingMakePdPublishedConfId"/>

                <x:inputC name="proofingMakeNo"  label="制造单号" labelCol="1" fieldCol="2"/>

                <x:inputC name="proofingApplyNo" wrapper="select" label="申请单号" labelCol="1" fieldCol="2"/>

                <x:hidden name="productId"/>
                <x:inputC name="productCode" label="产品编号" labelCol="1" fieldCol="2" readonly="true"/>
                <x:inputC name="customerCode"  label="品牌客户编号" labelCol="1" fieldCol="2"/>
                <x:inputC name="proofingMakePageNeedTime"  label="版面需求时间" wrapper="date"
                          labelCol="1" fieldCol="2"/>
                <x:inputC name="proofingMakeCompleteDate"  id="completeDate"
                          label="完成日期" wrapper="date" labelCol="1"/>
                <x:inputC name="proofingMakeSampleCnName"  label="样品中文名称" maxLength="32"
                          labelCol="1" fieldCol="2"/>
                <x:inputC name="proofingMakeSampleEnName"  label="样品英文名称" maxLength="32"
                          labelCol="1" fieldCol="2"/>
                <x:inputC name="proofingMakeSampleVersion"  label="样品版次" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="proofingMakeSampleSize"  label="样品规格" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="proofingMakeSampleNum"  label="样品数量" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="proofingMakeOutputSituation"  label="产量情况" maxLength="32"
                          labelCol="1" fieldCol="2"/>
                <x:inputC name="proofingMakeProductNo"  label="产品代号" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="proofingType"  label="打样形式" labelCol="1" fieldCol="2"/>

                <x:inputC name="page" label="版面" labelCol="1" fieldCol="2"/>

                <x:inputC name="proofingMakeAllocationType" label="分配方式" maxLength="32" labelCol="1" fieldCol="2"/>

                <x:inputC name="productCategoryName" label="产品类别" labelCol="1" fieldCol="2"/>

                <x:inputC name="proofingMakeSurfaceTreatment"  label="表面处理" maxLength="32"
                          labelCol="1" fieldCol="2"/>
                <x:inputC name="proofingMakeNgReReason"  label="NG重新打样原因" maxLength="32"
                          labelCol="1" fieldCol="2"/>
                <x:inputC name="proofingMakeTestStandard"  label="测试标准" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:selectC name="proofingApplyApplicationStatus"  dictionary="handleResult" label="申请单状态"
                          labelCol="1" fieldCol="2"/>


                <x:inputC name="colorType" label="颜色种类" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="expert" label="专" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="printingPlateNum" label="网版目数" maxLength="32" 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="proofingMakeTestStandard" label="标准色号" maxLength="32" labelCol="1" fieldCol="2"/>

                <div class="container-fluid">
                    <x:title title="附件上传" name="group"/>
                    <x:fileList bizCode="providerFile" bizId="bizId" id="proofingMakeDetail"  isClass="true"/>
                </div>
            </div>
        </div>

        <div><h3>样品外观要求</h3></div>
        <div style="margin: 10px;">
            <div class="hg-form-cols">

                <x:selectC name="isOutput"  label="是否量产" dictionary="yesorno" labelCol="1"
                           fieldCol="2"/>
                <x:selectC name="isOut"  label="是否外发" dictionary="yesorno" labelCol="1"
                           fieldCol="2"/>
                <x:selectC name="isChange"  label="是否改变" dictionary="yesorno" labelCol="1"
                           fieldCol="2"/>
                <x:inputC name="plasticBagStructure"  label="塑料袋结构类型" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productLength"   label="长度（cm）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productWidth"   label="宽度（cm）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productHeight"   label="高度（cm）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productThick"   label="厚度（mm）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productSingleLayer"   label="单层厚（丝）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productLayerNum"   label="层数" maxLength="32" labelCol="1"
                          fieldCol="2"/>

                <x:inputC name="sampleShape"  label="样品形状" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="sampleShapeSize"  label="样品形状大小（mm）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="plannedFlowId"  label="预定工艺流程id" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="fileStorageLocation"  label="文件存储位置" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="sampleMaterial"  label="样品物料" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productAperture"  label="孔径（mm）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productWeight"  label="成品克重（g）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="productSingleWeight"  label="单重（kg）" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:selectC name="proofingMakeStatus"  label="样品制造单状态" dictionary="handleResult"  labelCol="1"
                          fieldCol="2"/>
                <x:selectC name="isConfirm"  label="是否确认" dictionary="yesorno" labelCol="1"
                          fieldCol="2"/>
            </div>
        </div>
        <div><h3>排版参数</h3></div>
        <div style="margin: 10px;">
            <div class="hg-form-cols">
                <x:inputC name="modulus"  label="模数" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="rowNum"  label="列" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="columnNum"  label="行" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="contactNum"  label="搭版数" maxLength="32" labelCol="1" fieldCol="2"/>
                <x:inputC name="rowDoubleBlade"  label="列双刀位(mm)" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="columnDoubleBlade"  label="行双刀位(mm)" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="dispatchMultiple"  label="派工倍数" maxLength="32" labelCol="1"
                          fieldCol="2"/>

                <x:inputC name="sheetLength"  label="印张长度(cm)" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="sheetWidth"  label="印张宽度(mm)" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="printFrontColer"  label="印刷正面颜色" maxLength="32" labelCol="1"
                          fieldCol="2"/>
                <x:inputC name="printOppositeColor"  label="印刷反面颜色" maxLength="32" labelCol="1"
                          fieldCol="2"/>
            </div>
        </div>

        <%@ include file="technologyAndBom/technologyAndBom.jsp" %>

    </form>
</div>
