¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <j-modal |
| | | :title="title" |
| | | :width="800" |
| | | :visible="visible" |
| | | centered |
| | | :confirmLoading="confirmLoading" |
| | | switchFullscreen |
| | | @cancel="handleCancel" |
| | | cancelText="å
³é" |
| | | > |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form-model ref="form" :model="model" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="chineseName" label="䏿åç§°"> |
| | | <a-input :placeholder="'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="foreignLanguageName" label="夿åç§°"> |
| | | <a-input :placeholder="'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="shortCalled" label="å·¥å
·ç®ç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="groupCompanyCode" label="éå¢å
¬å¸ç¼ç "> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="standardLevel" label="æ å级å«"> |
| | | <a-input :placeholder="'请è¾å
¥æ å级å«'" v-model="model.standardLevel" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="'请è¾å
¥æ åå·'" v-model="model.standardCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="toolModel" label="åå·/å¾å·"> |
| | | <a-input :placeholder="'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="èºçº¹ä»£å·" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="threadCode"> |
| | | <a-input v-model="model.threadCode" :placeholder="'请è¾å
¥èºçº¹ä»£å·'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="èºè·" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pitch"> |
| | | <a-input v-model="model.pitch" :placeholder="'请è¾å
¥èºè·'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="èºçº¹æå" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="rotationDirection"> |
| | | <a-input v-model="model.rotationDirection" :placeholder="'请è¾å
¥èºçº¹æå'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item |
| | | label="èºçº¹å
¬å·®å¸¦ä»£å·/精度ç级" |
| | | :labelCol="{span:12}" |
| | | :wrapperCol="{span:10}" |
| | | prop="tolerancezoneLevel" |
| | | > |
| | | <a-input v-model="model.tolerancezoneLevel" :placeholder="'请è¾å
¥èºçº¹å
¬å·®å¸¦ä»£å·/精度ç级'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="åååé¿" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="edgeLength"> |
| | | <a-input v-model="model.edgeLength" :placeholder="'请è¾å
¥åååé¿'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="åå
·æ»é¿" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="totalLength"> |
| | | <a-input v-model="model.totalLength" :placeholder="'请è¾å
¥åå
·æ»é¿'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="æ¯å¦æ¶å±" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="paintcoatFlag"> |
| | | <a-radio-group v-model="model.paintcoatFlag" :placeholder="'è¯·éæ©æ¯å¦æ¶å±'"> |
| | | <a-radio :value="'1'">æ¯</a-radio> |
| | | <a-radio :value="'2'">å¦</a-radio> |
| | | </a-radio-group> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="åå
·ææ" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolMaterial"> |
| | | <a-input v-model="model.toolMaterial" :placeholder="'请è¾å
¥åå
·ææ'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="é¶ä»¶ææ" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partMaterial"> |
| | | <a-input v-model="model.partMaterial" :placeholder="'请è¾å
¥é¶ä»¶ææ'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="å¤å尺寸" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="externalDimensions"> |
| | | <a-input v-model="model.externalDimensions" :placeholder="'请è¾å
¥å¤å尺寸'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item |
| | | label="æé¨è§æ ¼" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="handleSpecifications" |
| | | > |
| | | <a-input v-model="model.handleSpecifications" :placeholder="'请è¾å
¥æé¨è§æ ¼'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="technicalConditions" |
| | | > |
| | | <a-input v-model="model.technicalConditions" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶è¯´æ" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="conditionsInfo" |
| | | > |
| | | <a-input v-model="model.conditionsInfo" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶è¯´æ'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form-model> |
| | | </a-spin> |
| | | <template slot="footer"> |
| | | <a-button type="primary" @click="searchQuery" icon="search">æ¥è¯¢</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">éç½®</a-button> |
| | | <a-button :style="{ marginRight: '8px' }" @click="handleCancel">å
³é</a-button> |
| | | </template> |
| | | </j-modal> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'ParaHoleToolsSearchModal', |
| | | data() { |
| | | return { |
| | | title: 'å·¥å
·ä¿¡æ¯-é«çº§æ¥è¯¢', |
| | | visible: false, |
| | | confirmLoading: false, |
| | | model: {}, |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 9 }, |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 14 }, |
| | | }, |
| | | searchParams: {}, |
| | | } |
| | | }, |
| | | created() {}, |
| | | mounted() {}, |
| | | methods: { |
| | | show() { |
| | | this.visible = true |
| | | }, |
| | | close() { |
| | | this.$emit('close') |
| | | this.visible = false |
| | | }, |
| | | handleCancel() { |
| | | this.close() |
| | | }, |
| | | |
| | | searchQuery() { |
| | | this.searchParams.chineseName = this.model.chineseName |
| | | this.searchParams.foreignLanguageName = this.model.foreignLanguageName |
| | | this.searchParams.threadCode = this.model.threadCode |
| | | this.searchParams.pitch = this.model.pitch |
| | | this.searchParams.rotationDirection = this.model.rotationDirection |
| | | this.searchParams.tolerancezoneLevel = this.model.tolerancezoneLevel |
| | | this.searchParams.edgeLength = this.model.edgeLength |
| | | this.searchParams.totalLength = this.model.totalLength |
| | | this.searchParams.toolMaterial = this.model.toolMaterial |
| | | this.searchParams.partMaterial = this.model.partMaterial |
| | | this.searchParams.paintcoatFlag = this.model.paintcoatFlag |
| | | this.searchParams.externalDimensions = this.model.externalDimensions |
| | | this.searchParams.handleSpecifications = this.model.handleSpecifications |
| | | this.searchParams.technicalConditions = this.model.technicalConditions |
| | | this.searchParams.conditionsInfo = this.model.conditionsInfo |
| | | this.searchParams.toolModel = this.model.toolModel |
| | | this.searchParams.shortCalled = this.model.shortCalled |
| | | this.searchParams.groupCompanyCode = this.model.groupCompanyCode |
| | | this.close() |
| | | this.$emit('searchParams', this.searchParams) |
| | | }, |
| | | searchReset() { |
| | | this.model = {} |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | /deep/ .ant-modal-body { |
| | | padding: 0 24px; |
| | | } |
| | | |
| | | /deep/ .ant-upload { |
| | | width: 185px; |
| | | height: 185px; |
| | | } |
| | | |
| | | /deep/ .img { |
| | | display: flex; |
| | | justify-content: center; |
| | | |
| | | .ant-upload-picture-card-wrapper { |
| | | width: auto; |
| | | } |
| | | } |
| | | |
| | | /deep/ .ant-upload-list-picture-card-container { |
| | | width: 185px; |
| | | height: 185px; |
| | | } |
| | | |
| | | /deep/ .ant-upload-list-item { |
| | | width: 185px; |
| | | height: 185px; |
| | | } |
| | | </style> |