| | |
| | | <template> |
| | | <a-modal |
| | | title="新增物料信息表" |
| | | :width="900" |
| | | :visible="visible" |
| | | :confirmLoading="confirmLoading" |
| | | @ok="handleSubmit" |
| | | <a-modal title="新增物料信息表" :width="900" :visible="visible" :confirmLoading="confirmLoading" @ok="handleSubmit" |
| | | @cancel="handleCancel"> |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form :form="form"> |
| | | <a-form-item label="物料名称" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> |
| | | <a-input placeholder="请输入物料名称" v-decorator="['materialName', {rules: [{required: true, message: '请输入物料名称!'}]}]" /> |
| | | <a-input placeholder="请输入物料名称" |
| | | v-decorator="['materialName', { rules: [{ required: true, message: '请输入物料名称!' }] }]" /> |
| | | </a-form-item> |
| | | <a-form-item label="物料编号" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> |
| | | <a-input placeholder="请输入物料编号" v-decorator="['materialCode', {rules: [{required: true, message: '请输入物料编号!'}]}]" /> |
| | | <a-input placeholder="请输入物料编号" |
| | | v-decorator="['materialCode', { rules: [{ required: true, message: '请输入物料编号!' }] }]" /> |
| | | </a-form-item> |
| | | <a-form-item label="ERP编号" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> |
| | | <a-input placeholder="请输入ERP编号" v-decorator="['erpCode']" /> |