<template>
  <a-drawer
      :title="title"
      :width="800"
      placement="right"
      :closable="false"
      @close="close"
      :visible="visible"
  >

    <a-spin :spinning="confirmLoading">
      <a-form :form="form">
      
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvcode">
          <a-input placeholder="请输入cinvcode" v-decorator="['cinvcode', validatorRules.cinvcode ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvaddcode">
          <a-input placeholder="请输入cinvaddcode" v-decorator="['cinvaddcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvname">
          <a-input placeholder="请输入cinvname" v-decorator="['cinvname', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvstd">
          <a-input placeholder="请输入cinvstd" v-decorator="['cinvstd', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvccode">
          <a-input placeholder="请输入cinvccode" v-decorator="['cinvccode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cvencode">
          <a-input placeholder="请输入cvencode" v-decorator="['cvencode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="creplaceitem">
          <a-input placeholder="请输入creplaceitem" v-decorator="['creplaceitem', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cposition">
          <a-input placeholder="请输入cposition" v-decorator="['cposition', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bsale">
          <a-input placeholder="请输入bsale" v-decorator="['bsale', validatorRules.bsale ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bpurchase">
          <a-input placeholder="请输入bpurchase" v-decorator="['bpurchase', validatorRules.bpurchase ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bself">
          <a-input placeholder="请输入bself" v-decorator="['bself', validatorRules.bself ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcomsume">
          <a-input placeholder="请输入bcomsume" v-decorator="['bcomsume', validatorRules.bcomsume ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bproducing">
          <a-input placeholder="请输入bproducing" v-decorator="['bproducing', validatorRules.bproducing ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bservice">
          <a-input placeholder="请输入bservice" v-decorator="['bservice', validatorRules.bservice ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="baccessary">
          <a-input placeholder="请输入baccessary" v-decorator="['baccessary', validatorRules.baccessary ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="itaxrate">
          <a-input placeholder="请输入itaxrate" v-decorator="['itaxrate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvweight">
          <a-input placeholder="请输入iinvweight" v-decorator="['iinvweight', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ivolume">
          <a-input placeholder="请输入ivolume" v-decorator="['ivolume', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvrcost">
          <a-input placeholder="请输入iinvrcost" v-decorator="['iinvrcost', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvsprice">
          <a-input placeholder="请输入iinvsprice" v-decorator="['iinvsprice', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvscost">
          <a-input placeholder="请输入iinvscost" v-decorator="['iinvscost', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvlscost">
          <a-input placeholder="请输入iinvlscost" v-decorator="['iinvlscost', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvncost">
          <a-input placeholder="请输入iinvncost" v-decorator="['iinvncost', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvadvance">
          <a-input placeholder="请输入iinvadvance" v-decorator="['iinvadvance', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvbatch">
          <a-input placeholder="请输入iinvbatch" v-decorator="['iinvbatch', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="isafenum">
          <a-input placeholder="请输入isafenum" v-decorator="['isafenum', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="itopsum">
          <a-input placeholder="请输入itopsum" v-decorator="['itopsum', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ilowsum">
          <a-input placeholder="请输入ilowsum" v-decorator="['ilowsum', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ioverstock">
          <a-input placeholder="请输入ioverstock" v-decorator="['ioverstock', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvabc">
          <a-input placeholder="请输入cinvabc" v-decorator="['cinvabc', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="binvquality">
          <a-input placeholder="请输入binvquality" v-decorator="['binvquality', validatorRules.binvquality ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="binvbatch">
          <a-input placeholder="请输入binvbatch" v-decorator="['binvbatch', validatorRules.binvbatch ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="binventrust">
          <a-input placeholder="请输入binventrust" v-decorator="['binventrust', validatorRules.binventrust ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="binvoverstock">
          <a-input placeholder="请输入binvoverstock" v-decorator="['binvoverstock', validatorRules.binvoverstock ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="dsdate">
          <a-date-picker showTime format='YYYY-MM-DD HH:mm:ss' v-decorator="[ 'dsdate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="dedate">
          <a-date-picker showTime format='YYYY-MM-DD HH:mm:ss' v-decorator="[ 'dedate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree1">
          <a-input placeholder="请输入bfree1" v-decorator="['bfree1', validatorRules.bfree1 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree2">
          <a-input placeholder="请输入bfree2" v-decorator="['bfree2', validatorRules.bfree2 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine1">
          <a-input placeholder="请输入cinvdefine1" v-decorator="['cinvdefine1', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine2">
          <a-input placeholder="请输入cinvdefine2" v-decorator="['cinvdefine2', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine3">
          <a-input placeholder="请输入cinvdefine3" v-decorator="['cinvdefine3', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iId">
          <a-input-number v-decorator="[ 'iId', validatorRules.iId ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="binvtype">
          <a-input placeholder="请输入binvtype" v-decorator="['binvtype', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvmpcost">
          <a-input placeholder="请输入iinvmpcost" v-decorator="['iinvmpcost', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cquality">
          <a-input placeholder="请输入cquality" v-decorator="['cquality', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvsalecost">
          <a-input placeholder="请输入iinvsalecost" v-decorator="['iinvsalecost', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvscost1">
          <a-input placeholder="请输入iinvscost1" v-decorator="['iinvscost1', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvscost2">
          <a-input placeholder="请输入iinvscost2" v-decorator="['iinvscost2', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvscost3">
          <a-input placeholder="请输入iinvscost3" v-decorator="['iinvscost3', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree3">
          <a-input placeholder="请输入bfree3" v-decorator="['bfree3', validatorRules.bfree3 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree4">
          <a-input placeholder="请输入bfree4" v-decorator="['bfree4', validatorRules.bfree4 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree5">
          <a-input placeholder="请输入bfree5" v-decorator="['bfree5', validatorRules.bfree5 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree6">
          <a-input placeholder="请输入bfree6" v-decorator="['bfree6', validatorRules.bfree6 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree7">
          <a-input placeholder="请输入bfree7" v-decorator="['bfree7', validatorRules.bfree7 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree8">
          <a-input placeholder="请输入bfree8" v-decorator="['bfree8', validatorRules.bfree8 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree9">
          <a-input placeholder="请输入bfree9" v-decorator="['bfree9', validatorRules.bfree9 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfree10">
          <a-input placeholder="请输入bfree10" v-decorator="['bfree10', validatorRules.bfree10 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ccreateperson">
          <a-input placeholder="请输入ccreateperson" v-decorator="['ccreateperson', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cmodifyperson">
          <a-input placeholder="请输入cmodifyperson" v-decorator="['cmodifyperson', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="dmodifydate">
          <a-date-picker showTime format='YYYY-MM-DD HH:mm:ss' v-decorator="[ 'dmodifydate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fsubscribepoint">
          <a-input placeholder="请输入fsubscribepoint" v-decorator="['fsubscribepoint', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fvagquantity">
          <a-input placeholder="请输入fvagquantity" v-decorator="['fvagquantity', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cvaluetype">
          <a-input placeholder="请输入cvaluetype" v-decorator="['cvaluetype', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfixexch">
          <a-input placeholder="请输入bfixexch" v-decorator="['bfixexch', validatorRules.bfixexch ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="foutexcess">
          <a-input placeholder="请输入foutexcess" v-decorator="['foutexcess', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="finexcess">
          <a-input placeholder="请输入finexcess" v-decorator="['finexcess', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="imassdate">
          <a-input placeholder="请输入imassdate" v-decorator="['imassdate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iwarndays">
          <a-input placeholder="请输入iwarndays" v-decorator="['iwarndays', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fexpensesexch">
          <a-input placeholder="请输入fexpensesexch" v-decorator="['fexpensesexch', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="btrack">
          <a-input placeholder="请输入btrack" v-decorator="['btrack', validatorRules.btrack ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bserial">
          <a-input placeholder="请输入bserial" v-decorator="['bserial', validatorRules.bserial ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bbarcode">
          <a-input placeholder="请输入bbarcode" v-decorator="['bbarcode', validatorRules.bbarcode ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iid">
          <a-input-number v-decorator="[ 'iid', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cbarcode">
          <a-input placeholder="请输入cbarcode" v-decorator="['cbarcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine4">
          <a-input placeholder="请输入cinvdefine4" v-decorator="['cinvdefine4', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine5">
          <a-input placeholder="请输入cinvdefine5" v-decorator="['cinvdefine5', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine6">
          <a-input placeholder="请输入cinvdefine6" v-decorator="['cinvdefine6', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine7">
          <a-input placeholder="请输入cinvdefine7" v-decorator="['cinvdefine7', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine8">
          <a-input placeholder="请输入cinvdefine8" v-decorator="['cinvdefine8', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine9">
          <a-input placeholder="请输入cinvdefine9" v-decorator="['cinvdefine9', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine10">
          <a-input placeholder="请输入cinvdefine10" v-decorator="['cinvdefine10', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine11">
          <a-input-number v-decorator="[ 'cinvdefine11', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine12">
          <a-input-number v-decorator="[ 'cinvdefine12', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine13">
          <a-input placeholder="请输入cinvdefine13" v-decorator="['cinvdefine13', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine14">
          <a-input placeholder="请输入cinvdefine14" v-decorator="['cinvdefine14', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine15">
          <a-date-picker showTime format='YYYY-MM-DD HH:mm:ss' v-decorator="[ 'cinvdefine15', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdefine16">
          <a-date-picker showTime format='YYYY-MM-DD HH:mm:ss' v-decorator="[ 'cinvdefine16', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="igrouptype">
          <a-input placeholder="请输入igrouptype" v-decorator="['igrouptype', validatorRules.igrouptype ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cgroupcode">
          <a-input placeholder="请输入cgroupcode" v-decorator="['cgroupcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ccomunitcode">
          <a-input placeholder="请输入ccomunitcode" v-decorator="['ccomunitcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="casscomunitcode">
          <a-input placeholder="请输入casscomunitcode" v-decorator="['casscomunitcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="csacomunitcode">
          <a-input placeholder="请输入csacomunitcode" v-decorator="['csacomunitcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cpucomunitcode">
          <a-input placeholder="请输入cpucomunitcode" v-decorator="['cpucomunitcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cstcomunitcode">
          <a-input placeholder="请输入cstcomunitcode" v-decorator="['cstcomunitcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ccacomunitcode">
          <a-input placeholder="请输入ccacomunitcode" v-decorator="['ccacomunitcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cfrequency">
          <a-input placeholder="请输入cfrequency" v-decorator="['cfrequency', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ifrequency">
          <a-input placeholder="请输入ifrequency" v-decorator="['ifrequency', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="idays">
          <a-input placeholder="请输入idays" v-decorator="['idays', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="dlastdate">
          <a-date-picker showTime format='YYYY-MM-DD HH:mm:ss' v-decorator="[ 'dlastdate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iwastage">
          <a-input placeholder="请输入iwastage" v-decorator="['iwastage', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bsolitude">
          <a-input placeholder="请输入bsolitude" v-decorator="['bsolitude', validatorRules.bsolitude ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="centerprise">
          <a-input placeholder="请输入centerprise" v-decorator="['centerprise', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="caddress">
          <a-input placeholder="请输入caddress" v-decorator="['caddress', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cfile">
          <a-input placeholder="请输入cfile" v-decorator="['cfile', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="clabel">
          <a-input placeholder="请输入clabel" v-decorator="['clabel', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ccheckout">
          <a-input placeholder="请输入ccheckout" v-decorator="['ccheckout', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="clicence">
          <a-input placeholder="请输入clicence" v-decorator="['clicence', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bspecialties">
          <a-input placeholder="请输入bspecialties" v-decorator="['bspecialties', validatorRules.bspecialties ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cdefwarehouse">
          <a-input placeholder="请输入cdefwarehouse" v-decorator="['cdefwarehouse', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ihighprice">
          <a-input placeholder="请输入ihighprice" v-decorator="['ihighprice', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iexpsalerate">
          <a-input placeholder="请输入iexpsalerate" v-decorator="['iexpsalerate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cpricegroup">
          <a-input placeholder="请输入cpricegroup" v-decorator="['cpricegroup', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="coffergrade">
          <a-input placeholder="请输入coffergrade" v-decorator="['coffergrade', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iofferrate">
          <a-input placeholder="请输入iofferrate" v-decorator="['iofferrate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cmonth">
          <a-input placeholder="请输入cmonth" v-decorator="['cmonth', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iadvancedate">
          <a-input placeholder="请输入iadvancedate" v-decorator="['iadvancedate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ccurrencyname">
          <a-input placeholder="请输入ccurrencyname" v-decorator="['ccurrencyname', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cproduceaddress">
          <a-input placeholder="请输入cproduceaddress" v-decorator="['cproduceaddress', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cproducenation">
          <a-input placeholder="请输入cproducenation" v-decorator="['cproducenation', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cregisterno">
          <a-input placeholder="请输入cregisterno" v-decorator="['cregisterno', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="centerno">
          <a-input placeholder="请输入centerno" v-decorator="['centerno', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cpackingtype">
          <a-input placeholder="请输入cpackingtype" v-decorator="['cpackingtype', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cenglishname">
          <a-input placeholder="请输入cenglishname" v-decorator="['cenglishname', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bpropertycheck">
          <a-input placeholder="请输入bpropertycheck" v-decorator="['bpropertycheck', validatorRules.bpropertycheck ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cpreparationtype">
          <a-input placeholder="请输入cpreparationtype" v-decorator="['cpreparationtype', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ccommodity">
          <a-input placeholder="请输入ccommodity" v-decorator="['ccommodity', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="irecipebatch">
          <a-input placeholder="请输入irecipebatch" v-decorator="['irecipebatch', validatorRules.irecipebatch ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cnotpatentname">
          <a-input placeholder="请输入cnotpatentname" v-decorator="['cnotpatentname', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="pubufts">
          <a-input placeholder="请输入pubufts" v-decorator="['pubufts', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bpromotsales">
          <a-input placeholder="请输入bpromotsales" v-decorator="['bpromotsales', validatorRules.bpromotsales ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iplanpolicy">
          <a-input placeholder="请输入iplanpolicy" v-decorator="['iplanpolicy', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iropmethod">
          <a-input placeholder="请输入iropmethod" v-decorator="['iropmethod', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ibatchrule">
          <a-input placeholder="请输入ibatchrule" v-decorator="['ibatchrule', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fbatchincrement">
          <a-input placeholder="请输入fbatchincrement" v-decorator="['fbatchincrement', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iassureprovidedays">
          <a-input-number v-decorator="[ 'iassureprovidedays', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iteststyle">
          <a-input placeholder="请输入iteststyle" v-decorator="['iteststyle', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="idtmethod">
          <a-input placeholder="请输入idtmethod" v-decorator="['idtmethod', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fdtrate">
          <a-input placeholder="请输入fdtrate" v-decorator="['fdtrate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fdtnum">
          <a-input placeholder="请输入fdtnum" v-decorator="['fdtnum', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cdtunit">
          <a-input placeholder="请输入cdtunit" v-decorator="['cdtunit', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="idtstyle">
          <a-input placeholder="请输入idtstyle" v-decorator="['idtstyle', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iqtmethod">
          <a-input-number v-decorator="[ 'iqtmethod', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="pictureguid">
          <a-input placeholder="请输入pictureguid" v-decorator="['pictureguid', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bplaninv">
          <a-input placeholder="请输入bplaninv" v-decorator="['bplaninv', validatorRules.bplaninv ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bproxyforeign">
          <a-input placeholder="请输入bproxyforeign" v-decorator="['bproxyforeign', validatorRules.bproxyforeign ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="batomodel">
          <a-input placeholder="请输入batomodel" v-decorator="['batomodel', validatorRules.batomodel ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckitem">
          <a-input placeholder="请输入bcheckitem" v-decorator="['bcheckitem', validatorRules.bcheckitem ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bptomodel">
          <a-input placeholder="请输入bptomodel" v-decorator="['bptomodel', validatorRules.bptomodel ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bequipment">
          <a-input placeholder="请输入bequipment" v-decorator="['bequipment', validatorRules.bequipment ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cproductunit">
          <a-input placeholder="请输入cproductunit" v-decorator="['cproductunit', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="forderuplimit">
          <a-input placeholder="请输入forderuplimit" v-decorator="['forderuplimit', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cmassunit">
          <a-input placeholder="请输入cmassunit" v-decorator="['cmassunit', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fretailprice">
          <a-input placeholder="请输入fretailprice" v-decorator="['fretailprice', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvdepcode">
          <a-input placeholder="请输入cinvdepcode" v-decorator="['cinvdepcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ialteradvance">
          <a-input-number v-decorator="[ 'ialteradvance', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="falterbasenum">
          <a-input placeholder="请输入falterbasenum" v-decorator="['falterbasenum', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cplanmethod">
          <a-input placeholder="请输入cplanmethod" v-decorator="['cplanmethod', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bmps">
          <a-input placeholder="请输入bmps" v-decorator="['bmps', validatorRules.bmps ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="brop">
          <a-input placeholder="请输入brop" v-decorator="['brop', validatorRules.brop ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="breplan">
          <a-input placeholder="请输入breplan" v-decorator="['breplan', validatorRules.breplan ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="csrpolicy">
          <a-input placeholder="请输入csrpolicy" v-decorator="['csrpolicy', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bbillunite">
          <a-input placeholder="请输入bbillunite" v-decorator="['bbillunite', validatorRules.bbillunite ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="isupplyday">
          <a-input-number v-decorator="[ 'isupplyday', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fsupplymulti">
          <a-input placeholder="请输入fsupplymulti" v-decorator="['fsupplymulti', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fminsupply">
          <a-input placeholder="请输入fminsupply" v-decorator="['fminsupply', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcutmantissa">
          <a-input placeholder="请输入bcutmantissa" v-decorator="['bcutmantissa', validatorRules.bcutmantissa ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvpersoncode">
          <a-input placeholder="请输入cinvpersoncode" v-decorator="['cinvpersoncode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvtfid">
          <a-input-number v-decorator="[ 'iinvtfid', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cengineerfigno">
          <a-input placeholder="请输入cengineerfigno" v-decorator="['cengineerfigno', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bintotalcost">
          <a-input placeholder="请输入bintotalcost" v-decorator="['bintotalcost', validatorRules.bintotalcost ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="isupplytype">
          <a-input placeholder="请输入isupplytype" v-decorator="['isupplytype', validatorRules.isupplytype ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree1">
          <a-input placeholder="请输入bconfigfree1" v-decorator="['bconfigfree1', validatorRules.bconfigfree1 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree2">
          <a-input placeholder="请输入bconfigfree2" v-decorator="['bconfigfree2', validatorRules.bconfigfree2 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree3">
          <a-input placeholder="请输入bconfigfree3" v-decorator="['bconfigfree3', validatorRules.bconfigfree3 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree4">
          <a-input placeholder="请输入bconfigfree4" v-decorator="['bconfigfree4', validatorRules.bconfigfree4 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree5">
          <a-input placeholder="请输入bconfigfree5" v-decorator="['bconfigfree5', validatorRules.bconfigfree5 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree6">
          <a-input placeholder="请输入bconfigfree6" v-decorator="['bconfigfree6', validatorRules.bconfigfree6 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree7">
          <a-input placeholder="请输入bconfigfree7" v-decorator="['bconfigfree7', validatorRules.bconfigfree7 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree8">
          <a-input placeholder="请输入bconfigfree8" v-decorator="['bconfigfree8', validatorRules.bconfigfree8 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree9">
          <a-input placeholder="请输入bconfigfree9" v-decorator="['bconfigfree9', validatorRules.bconfigfree9 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bconfigfree10">
          <a-input placeholder="请输入bconfigfree10" v-decorator="['bconfigfree10', validatorRules.bconfigfree10 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="idtlevel">
          <a-input placeholder="请输入idtlevel" v-decorator="['idtlevel', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cdtaql">
          <a-input placeholder="请输入cdtaql" v-decorator="['cdtaql', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bperioddt">
          <a-input placeholder="请输入bperioddt" v-decorator="['bperioddt', validatorRules.bperioddt ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cdtperiod">
          <a-input placeholder="请输入cdtperiod" v-decorator="['cdtperiod', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ibigmonth">
          <a-input-number v-decorator="[ 'ibigmonth', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ibigday">
          <a-input-number v-decorator="[ 'ibigday', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ismallmonth">
          <a-input-number v-decorator="[ 'ismallmonth', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ismallday">
          <a-input-number v-decorator="[ 'ismallday', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="boutinvdt">
          <a-input placeholder="请输入boutinvdt" v-decorator="['boutinvdt', validatorRules.boutinvdt ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bbackinvdt">
          <a-input placeholder="请输入bbackinvdt" v-decorator="['bbackinvdt', validatorRules.bbackinvdt ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ienddtstyle">
          <a-input placeholder="请输入ienddtstyle" v-decorator="['ienddtstyle', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bdtwarninv">
          <a-input placeholder="请输入bdtwarninv" v-decorator="['bdtwarninv', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fbacktaxrate">
          <a-input placeholder="请输入fbacktaxrate" v-decorator="['fbacktaxrate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cciqcode">
          <a-input placeholder="请输入cciqcode" v-decorator="['cciqcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cwgroupcode">
          <a-input placeholder="请输入cwgroupcode" v-decorator="['cwgroupcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cwunit">
          <a-input placeholder="请输入cwunit" v-decorator="['cwunit', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fgrossw">
          <a-input placeholder="请输入fgrossw" v-decorator="['fgrossw', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cvgroupcode">
          <a-input placeholder="请输入cvgroupcode" v-decorator="['cvgroupcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cvunit">
          <a-input placeholder="请输入cvunit" v-decorator="['cvunit', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="flength">
          <a-input placeholder="请输入flength" v-decorator="['flength', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fwidth">
          <a-input placeholder="请输入fwidth" v-decorator="['fwidth', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fheight">
          <a-input placeholder="请输入fheight" v-decorator="['fheight', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="idtucounter">
          <a-input-number v-decorator="[ 'idtucounter', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="idtdcounter">
          <a-input-number v-decorator="[ 'idtdcounter', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ibatchcounter">
          <a-input-number v-decorator="[ 'ibatchcounter', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cshopunit">
          <a-input placeholder="请输入cshopunit" v-decorator="['cshopunit', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cpurpersoncode">
          <a-input placeholder="请输入cpurpersoncode" v-decorator="['cpurpersoncode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bimportmedicine">
          <a-input placeholder="请输入bimportmedicine" v-decorator="['bimportmedicine', validatorRules.bimportmedicine ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bfirstbusimedicine">
          <a-input placeholder="请输入bfirstbusimedicine" v-decorator="['bfirstbusimedicine', validatorRules.bfirstbusimedicine ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bforeexpland">
          <a-input placeholder="请输入bforeexpland" v-decorator="['bforeexpland', validatorRules.bforeexpland ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvplancode">
          <a-input placeholder="请输入cinvplancode" v-decorator="['cinvplancode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fconvertrate">
          <a-input placeholder="请输入fconvertrate" v-decorator="['fconvertrate', validatorRules.fconvertrate ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="dreplacedate">
          <a-date-picker showTime format='YYYY-MM-DD HH:mm:ss' v-decorator="[ 'dreplacedate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="binvmodel">
          <a-input placeholder="请输入binvmodel" v-decorator="['binvmodel', validatorRules.binvmodel ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bkccutmantissa">
          <a-input placeholder="请输入bkccutmantissa" v-decorator="['bkccutmantissa', validatorRules.bkccutmantissa ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="breceiptbydt">
          <a-input placeholder="请输入breceiptbydt" v-decorator="['breceiptbydt', validatorRules.breceiptbydt ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iimptaxrate">
          <a-input placeholder="请输入iimptaxrate" v-decorator="['iimptaxrate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iexptaxrate">
          <a-input placeholder="请输入iexptaxrate" v-decorator="['iexptaxrate', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bexpsale">
          <a-input placeholder="请输入bexpsale" v-decorator="['bexpsale', validatorRules.bexpsale ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="idrawbatch">
          <a-input placeholder="请输入idrawbatch" v-decorator="['idrawbatch', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckbsatp">
          <a-input placeholder="请输入bcheckbsatp" v-decorator="['bcheckbsatp', validatorRules.bcheckbsatp ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvprojectcode">
          <a-input placeholder="请输入cinvprojectcode" v-decorator="['cinvprojectcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="itestrule">
          <a-input placeholder="请输入itestrule" v-decorator="['itestrule', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="crulecode">
          <a-input placeholder="请输入crulecode" v-decorator="['crulecode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree1">
          <a-input placeholder="请输入bcheckfree1" v-decorator="['bcheckfree1', validatorRules.bcheckfree1 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree2">
          <a-input placeholder="请输入bcheckfree2" v-decorator="['bcheckfree2', validatorRules.bcheckfree2 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree3">
          <a-input placeholder="请输入bcheckfree3" v-decorator="['bcheckfree3', validatorRules.bcheckfree3 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree4">
          <a-input placeholder="请输入bcheckfree4" v-decorator="['bcheckfree4', validatorRules.bcheckfree4 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree5">
          <a-input placeholder="请输入bcheckfree5" v-decorator="['bcheckfree5', validatorRules.bcheckfree5 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree6">
          <a-input placeholder="请输入bcheckfree6" v-decorator="['bcheckfree6', validatorRules.bcheckfree6 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree7">
          <a-input placeholder="请输入bcheckfree7" v-decorator="['bcheckfree7', validatorRules.bcheckfree7 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree8">
          <a-input placeholder="请输入bcheckfree8" v-decorator="['bcheckfree8', validatorRules.bcheckfree8 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree9">
          <a-input placeholder="请输入bcheckfree9" v-decorator="['bcheckfree9', validatorRules.bcheckfree9 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckfree10">
          <a-input placeholder="请输入bcheckfree10" v-decorator="['bcheckfree10', validatorRules.bcheckfree10 ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bbommain">
          <a-input placeholder="请输入bbommain" v-decorator="['bbommain', validatorRules.bbommain ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bbomsub">
          <a-input placeholder="请输入bbomsub" v-decorator="['bbomsub', validatorRules.bbomsub ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bproductbill">
          <a-input placeholder="请输入bproductbill" v-decorator="['bproductbill', validatorRules.bproductbill ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="icheckatp">
          <a-input placeholder="请输入icheckatp" v-decorator="['icheckatp', validatorRules.icheckatp ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iinvatpid">
          <a-input-number v-decorator="[ 'iinvatpid', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iplantfday">
          <a-input-number v-decorator="[ 'iplantfday', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ioverlapday">
          <a-input-number v-decorator="[ 'ioverlapday', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bpiece">
          <a-input placeholder="请输入bpiece" v-decorator="['bpiece', validatorRules.bpiece ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bsrvitem">
          <a-input placeholder="请输入bsrvitem" v-decorator="['bsrvitem', validatorRules.bsrvitem ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bsrvfittings">
          <a-input placeholder="请输入bsrvfittings" v-decorator="['bsrvfittings', validatorRules.bsrvfittings ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fmaxsupply">
          <a-input placeholder="请输入fmaxsupply" v-decorator="['fmaxsupply', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="fminsplit">
          <a-input placeholder="请输入fminsplit" v-decorator="['fminsplit', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bspecialorder">
          <a-input placeholder="请输入bspecialorder" v-decorator="['bspecialorder', validatorRules.bspecialorder ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="btracksalebill">
          <a-input placeholder="请输入btracksalebill" v-decorator="['btracksalebill', validatorRules.btracksalebill ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cinvmnemcode">
          <a-input placeholder="请输入cinvmnemcode" v-decorator="['cinvmnemcode', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iplandefault">
          <a-input placeholder="请输入iplandefault" v-decorator="['iplandefault', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ipfbatchqty">
          <a-input placeholder="请输入ipfbatchqty" v-decorator="['ipfbatchqty', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="iallocateprintdgt">
          <a-input-number v-decorator="[ 'iallocateprintdgt', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bcheckbatch">
          <a-input placeholder="请输入bcheckbatch" v-decorator="['bcheckbatch', validatorRules.bcheckbatch ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="bmngoldpart">
          <a-input placeholder="请输入bmngoldpart" v-decorator="['bmngoldpart', validatorRules.bmngoldpart ]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="ioldpartmngrule">
          <a-input placeholder="请输入ioldpartmngrule" v-decorator="['ioldpartmngrule', {}]" />
        </a-form-item>
        <a-form-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="cretaildefreturnwh">
          <a-input placeholder="请输入cretaildefreturnwh" v-decorator="['cretaildefreturnwh', {}]" />
        </a-form-item>
		
      </a-form>
    </a-spin>
    <a-button type="primary" @click="handleOk">确定</a-button>
    <a-button type="primary" @click="handleCancel">取消</a-button>
  </a-drawer>
</template>

<script>
  import { httpAction } from '@/api/manage'
  import pick from 'lodash.pick'
  import moment from "moment"

  export default {
    name: "FbsInventoryModal",
    data () {
      return {
        title:"操作",
        visible: false,
        model: {},
        labelCol: {
          xs: { span: 24 },
          sm: { span: 5 },
        },
        wrapperCol: {
          xs: { span: 24 },
          sm: { span: 16 },
        },

        confirmLoading: false,
        form: this.$form.createForm(this),
        validatorRules:{
        cinvcode:{rules: [{ required: true, message: '请输入cinvcode!' }]},
        bsale:{rules: [{ required: true, message: '请输入bsale!' }]},
        bpurchase:{rules: [{ required: true, message: '请输入bpurchase!' }]},
        bself:{rules: [{ required: true, message: '请输入bself!' }]},
        bcomsume:{rules: [{ required: true, message: '请输入bcomsume!' }]},
        bproducing:{rules: [{ required: true, message: '请输入bproducing!' }]},
        bservice:{rules: [{ required: true, message: '请输入bservice!' }]},
        baccessary:{rules: [{ required: true, message: '请输入baccessary!' }]},
        binvquality:{rules: [{ required: true, message: '请输入binvquality!' }]},
        binvbatch:{rules: [{ required: true, message: '请输入binvbatch!' }]},
        binventrust:{rules: [{ required: true, message: '请输入binventrust!' }]},
        binvoverstock:{rules: [{ required: true, message: '请输入binvoverstock!' }]},
        bfree1:{rules: [{ required: true, message: '请输入bfree1!' }]},
        bfree2:{rules: [{ required: true, message: '请输入bfree2!' }]},
        iId:{rules: [{ required: true, message: '请输入iId!' }]},
        bfree3:{rules: [{ required: true, message: '请输入bfree3!' }]},
        bfree4:{rules: [{ required: true, message: '请输入bfree4!' }]},
        bfree5:{rules: [{ required: true, message: '请输入bfree5!' }]},
        bfree6:{rules: [{ required: true, message: '请输入bfree6!' }]},
        bfree7:{rules: [{ required: true, message: '请输入bfree7!' }]},
        bfree8:{rules: [{ required: true, message: '请输入bfree8!' }]},
        bfree9:{rules: [{ required: true, message: '请输入bfree9!' }]},
        bfree10:{rules: [{ required: true, message: '请输入bfree10!' }]},
        bfixexch:{rules: [{ required: true, message: '请输入bfixexch!' }]},
        btrack:{rules: [{ required: true, message: '请输入btrack!' }]},
        bserial:{rules: [{ required: true, message: '请输入bserial!' }]},
        bbarcode:{rules: [{ required: true, message: '请输入bbarcode!' }]},
        igrouptype:{rules: [{ required: true, message: '请输入igrouptype!' }]},
        bsolitude:{rules: [{ required: true, message: '请输入bsolitude!' }]},
        bspecialties:{rules: [{ required: true, message: '请输入bspecialties!' }]},
        bpropertycheck:{rules: [{ required: true, message: '请输入bpropertycheck!' }]},
        irecipebatch:{rules: [{ required: true, message: '请输入irecipebatch!' }]},
        bpromotsales:{rules: [{ required: true, message: '请输入bpromotsales!' }]},
        bplaninv:{rules: [{ required: true, message: '请输入bplaninv!' }]},
        bproxyforeign:{rules: [{ required: true, message: '请输入bproxyforeign!' }]},
        batomodel:{rules: [{ required: true, message: '请输入batomodel!' }]},
        bcheckitem:{rules: [{ required: true, message: '请输入bcheckitem!' }]},
        bptomodel:{rules: [{ required: true, message: '请输入bptomodel!' }]},
        bequipment:{rules: [{ required: true, message: '请输入bequipment!' }]},
        bmps:{rules: [{ required: true, message: '请输入bmps!' }]},
        brop:{rules: [{ required: true, message: '请输入brop!' }]},
        breplan:{rules: [{ required: true, message: '请输入breplan!' }]},
        bbillunite:{rules: [{ required: true, message: '请输入bbillunite!' }]},
        bcutmantissa:{rules: [{ required: true, message: '请输入bcutmantissa!' }]},
        bintotalcost:{rules: [{ required: true, message: '请输入bintotalcost!' }]},
        isupplytype:{rules: [{ required: true, message: '请输入isupplytype!' }]},
        bconfigfree1:{rules: [{ required: true, message: '请输入bconfigfree1!' }]},
        bconfigfree2:{rules: [{ required: true, message: '请输入bconfigfree2!' }]},
        bconfigfree3:{rules: [{ required: true, message: '请输入bconfigfree3!' }]},
        bconfigfree4:{rules: [{ required: true, message: '请输入bconfigfree4!' }]},
        bconfigfree5:{rules: [{ required: true, message: '请输入bconfigfree5!' }]},
        bconfigfree6:{rules: [{ required: true, message: '请输入bconfigfree6!' }]},
        bconfigfree7:{rules: [{ required: true, message: '请输入bconfigfree7!' }]},
        bconfigfree8:{rules: [{ required: true, message: '请输入bconfigfree8!' }]},
        bconfigfree9:{rules: [{ required: true, message: '请输入bconfigfree9!' }]},
        bconfigfree10:{rules: [{ required: true, message: '请输入bconfigfree10!' }]},
        bperioddt:{rules: [{ required: true, message: '请输入bperioddt!' }]},
        boutinvdt:{rules: [{ required: true, message: '请输入boutinvdt!' }]},
        bbackinvdt:{rules: [{ required: true, message: '请输入bbackinvdt!' }]},
        bimportmedicine:{rules: [{ required: true, message: '请输入bimportmedicine!' }]},
        bfirstbusimedicine:{rules: [{ required: true, message: '请输入bfirstbusimedicine!' }]},
        bforeexpland:{rules: [{ required: true, message: '请输入bforeexpland!' }]},
        fconvertrate:{rules: [{ required: true, message: '请输入fconvertrate!' }]},
        binvmodel:{rules: [{ required: true, message: '请输入binvmodel!' }]},
        bkccutmantissa:{rules: [{ required: true, message: '请输入bkccutmantissa!' }]},
        breceiptbydt:{rules: [{ required: true, message: '请输入breceiptbydt!' }]},
        bexpsale:{rules: [{ required: true, message: '请输入bexpsale!' }]},
        bcheckbsatp:{rules: [{ required: true, message: '请输入bcheckbsatp!' }]},
        bcheckfree1:{rules: [{ required: true, message: '请输入bcheckfree1!' }]},
        bcheckfree2:{rules: [{ required: true, message: '请输入bcheckfree2!' }]},
        bcheckfree3:{rules: [{ required: true, message: '请输入bcheckfree3!' }]},
        bcheckfree4:{rules: [{ required: true, message: '请输入bcheckfree4!' }]},
        bcheckfree5:{rules: [{ required: true, message: '请输入bcheckfree5!' }]},
        bcheckfree6:{rules: [{ required: true, message: '请输入bcheckfree6!' }]},
        bcheckfree7:{rules: [{ required: true, message: '请输入bcheckfree7!' }]},
        bcheckfree8:{rules: [{ required: true, message: '请输入bcheckfree8!' }]},
        bcheckfree9:{rules: [{ required: true, message: '请输入bcheckfree9!' }]},
        bcheckfree10:{rules: [{ required: true, message: '请输入bcheckfree10!' }]},
        bbommain:{rules: [{ required: true, message: '请输入bbommain!' }]},
        bbomsub:{rules: [{ required: true, message: '请输入bbomsub!' }]},
        bproductbill:{rules: [{ required: true, message: '请输入bproductbill!' }]},
        icheckatp:{rules: [{ required: true, message: '请输入icheckatp!' }]},
        bpiece:{rules: [{ required: true, message: '请输入bpiece!' }]},
        bsrvitem:{rules: [{ required: true, message: '请输入bsrvitem!' }]},
        bsrvfittings:{rules: [{ required: true, message: '请输入bsrvfittings!' }]},
        bspecialorder:{rules: [{ required: true, message: '请输入bspecialorder!' }]},
        btracksalebill:{rules: [{ required: true, message: '请输入btracksalebill!' }]},
        bcheckbatch:{rules: [{ required: true, message: '请输入bcheckbatch!' }]},
        bmngoldpart:{rules: [{ required: true, message: '请输入bmngoldpart!' }]},
        },
        url: {
          add: "/fbsInventory/fbsInventory/add",
          edit: "/fbsInventory/fbsInventory/edit",
        },
      }
    },
    created () {
    },
    methods: {
      add () {
        this.edit({});
      },
      edit (record) {
        this.form.resetFields();
        this.model = Object.assign({}, record);
        this.visible = true;
        this.$nextTick(() => {
          this.form.setFieldsValue(pick(this.model,'cinvcode','cinvaddcode','cinvname','cinvstd','cinvccode','cvencode','creplaceitem','cposition','bsale','bpurchase','bself','bcomsume','bproducing','bservice','baccessary','itaxrate','iinvweight','ivolume','iinvrcost','iinvsprice','iinvscost','iinvlscost','iinvncost','iinvadvance','iinvbatch','isafenum','itopsum','ilowsum','ioverstock','cinvabc','binvquality','binvbatch','binventrust','binvoverstock','bfree1','bfree2','cinvdefine1','cinvdefine2','cinvdefine3','iId','binvtype','iinvmpcost','cquality','iinvsalecost','iinvscost1','iinvscost2','iinvscost3','bfree3','bfree4','bfree5','bfree6','bfree7','bfree8','bfree9','bfree10','ccreateperson','cmodifyperson','fsubscribepoint','fvagquantity','cvaluetype','bfixexch','foutexcess','finexcess','imassdate','iwarndays','fexpensesexch','btrack','bserial','bbarcode','iid','cbarcode','cinvdefine4','cinvdefine5','cinvdefine6','cinvdefine7','cinvdefine8','cinvdefine9','cinvdefine10','cinvdefine11','cinvdefine12','cinvdefine13','cinvdefine14','igrouptype','cgroupcode','ccomunitcode','casscomunitcode','csacomunitcode','cpucomunitcode','cstcomunitcode','ccacomunitcode','cfrequency','ifrequency','idays','iwastage','bsolitude','centerprise','caddress','cfile','clabel','ccheckout','clicence','bspecialties','cdefwarehouse','ihighprice','iexpsalerate','cpricegroup','coffergrade','iofferrate','cmonth','iadvancedate','ccurrencyname','cproduceaddress','cproducenation','cregisterno','centerno','cpackingtype','cenglishname','bpropertycheck','cpreparationtype','ccommodity','irecipebatch','cnotpatentname','pubufts','bpromotsales','iplanpolicy','iropmethod','ibatchrule','fbatchincrement','iassureprovidedays','iteststyle','idtmethod','fdtrate','fdtnum','cdtunit','idtstyle','iqtmethod','pictureguid','bplaninv','bproxyforeign','batomodel','bcheckitem','bptomodel','bequipment','cproductunit','forderuplimit','cmassunit','fretailprice','cinvdepcode','ialteradvance','falterbasenum','cplanmethod','bmps','brop','breplan','csrpolicy','bbillunite','isupplyday','fsupplymulti','fminsupply','bcutmantissa','cinvpersoncode','iinvtfid','cengineerfigno','bintotalcost','isupplytype','bconfigfree1','bconfigfree2','bconfigfree3','bconfigfree4','bconfigfree5','bconfigfree6','bconfigfree7','bconfigfree8','bconfigfree9','bconfigfree10','idtlevel','cdtaql','bperioddt','cdtperiod','ibigmonth','ibigday','ismallmonth','ismallday','boutinvdt','bbackinvdt','ienddtstyle','bdtwarninv','fbacktaxrate','cciqcode','cwgroupcode','cwunit','fgrossw','cvgroupcode','cvunit','flength','fwidth','fheight','idtucounter','idtdcounter','ibatchcounter','cshopunit','cpurpersoncode','bimportmedicine','bfirstbusimedicine','bforeexpland','cinvplancode','fconvertrate','binvmodel','bkccutmantissa','breceiptbydt','iimptaxrate','iexptaxrate','bexpsale','idrawbatch','bcheckbsatp','cinvprojectcode','itestrule','crulecode','bcheckfree1','bcheckfree2','bcheckfree3','bcheckfree4','bcheckfree5','bcheckfree6','bcheckfree7','bcheckfree8','bcheckfree9','bcheckfree10','bbommain','bbomsub','bproductbill','icheckatp','iinvatpid','iplantfday','ioverlapday','bpiece','bsrvitem','bsrvfittings','fmaxsupply','fminsplit','bspecialorder','btracksalebill','cinvmnemcode','iplandefault','ipfbatchqty','iallocateprintdgt','bcheckbatch','bmngoldpart','ioldpartmngrule','cretaildefreturnwh'))
		  //时间格式化
          this.form.setFieldsValue({dsdate:this.model.dsdate?moment(this.model.dsdate):null})
          this.form.setFieldsValue({dedate:this.model.dedate?moment(this.model.dedate):null})
          this.form.setFieldsValue({dmodifydate:this.model.dmodifydate?moment(this.model.dmodifydate):null})
          this.form.setFieldsValue({cinvdefine15:this.model.cinvdefine15?moment(this.model.cinvdefine15):null})
          this.form.setFieldsValue({cinvdefine16:this.model.cinvdefine16?moment(this.model.cinvdefine16):null})
          this.form.setFieldsValue({dlastdate:this.model.dlastdate?moment(this.model.dlastdate):null})
          this.form.setFieldsValue({dreplacedate:this.model.dreplacedate?moment(this.model.dreplacedate):null})
        });

      },
      close () {
        this.$emit('close');
        this.visible = false;
      },
      handleOk () {
        const that = this;
        // 触发表单验证
        this.form.validateFields((err, values) => {
          if (!err) {
            that.confirmLoading = true;
            let httpurl = '';
            let method = '';
            if(!this.model.id){
              httpurl+=this.url.add;
              method = 'post';
            }else{
              httpurl+=this.url.edit;
               method = 'put';
            }
            let formData = Object.assign(this.model, values);
            //时间格式化
            formData.dsdate = formData.dsdate?formData.dsdate.format('YYYY-MM-DD HH:mm:ss'):null;
            formData.dedate = formData.dedate?formData.dedate.format('YYYY-MM-DD HH:mm:ss'):null;
            formData.dmodifydate = formData.dmodifydate?formData.dmodifydate.format('YYYY-MM-DD HH:mm:ss'):null;
            formData.cinvdefine15 = formData.cinvdefine15?formData.cinvdefine15.format('YYYY-MM-DD HH:mm:ss'):null;
            formData.cinvdefine16 = formData.cinvdefine16?formData.cinvdefine16.format('YYYY-MM-DD HH:mm:ss'):null;
            formData.dlastdate = formData.dlastdate?formData.dlastdate.format('YYYY-MM-DD HH:mm:ss'):null;
            formData.dreplacedate = formData.dreplacedate?formData.dreplacedate.format('YYYY-MM-DD HH:mm:ss'):null;
            
            console.log(formData)
            httpAction(httpurl,formData,method).then((res)=>{
              if(res.success){
                that.$message.success(res.message);
                that.$emit('ok');
              }else{
                that.$message.warning(res.message);
              }
            }).finally(() => {
              that.confirmLoading = false;
              that.close();
            })



          }
        })
      },
      handleCancel () {
        this.close()
      },


    }
  }
</script>

<style lang="less" scoped>
/** Button按钮间距 */
  .ant-btn {
    margin-left: 30px;
    margin-bottom: 30px;
    float: right;
  }
</style>