| | |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-item label="扭矩值" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input :disabled="disableSubmit" placeholder="请输入扭矩值" |
| | | <a-input-number :min="0" :disabled="disableSubmit" placeholder="请输入扭矩值" |
| | | v-decorator="['torqueValue', validatorRules.torqueValue]"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="24"> |
| | | <a-form-item label="备注" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-textarea v-decorator="['notes', validatorRules.notes]" placeholder="请输入备注" ></a-textarea> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form> |
| | | </a-spin> |
| | |
| | | handleCancel() { |
| | | this.close() |
| | | }, |
| | | loadCascade() { |
| | | getAction(this.url.loadCascadeData).then((res) => { |
| | | if (res.success) { |
| | | this.partCategoryCascade = res.result |
| | | } |
| | | }) |
| | | }, |
| | | // loadCascade() { |
| | | // getAction(this.url.loadCascadeData).then((res) => { |
| | | // if (res.success) { |
| | | // this.partCategoryCascade = res.result |
| | | // } |
| | | // }) |
| | | // }, |
| | | onCascadeChange(value, selectedOptions) { |
| | | this.cascadeDefaultValue = [...value] |
| | | }, |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | <style scoped lang="less"> |
| | | .ant-btn { |
| | | padding: 0 10px; |
| | | margin-left: 3px; |
| | |
| | | .ant-tabs-content .ant-form-item { |
| | | margin-bottom: 0px; |
| | | } |
| | | /deep/ .ant-input-number{ |
| | | width: 100%!important; |
| | | } |
| | | </style> |