¶Ô±ÈÐÂÎļþ |
| | |
| | | <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="diameter"> |
| | | <a-input |
| | | v-model="model.diameter" |
| | | :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="coneAngle"> |
| | | <a-input |
| | | v-model="model.coneAngle" |
| | | :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="toolMaterial"> |
| | | <a-input |
| | | v-model="model.toolMaterial" |
| | | :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="partMaterial"> |
| | | <a-input |
| | | v-model="model.partMaterial" |
| | | :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="toolPattern"> |
| | | <a-input |
| | | v-model="model.toolPattern" |
| | | :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="coolingMethod"> |
| | | <a-input |
| | | v-model="model.coolingMethod" |
| | | :placeholder="'请è¾å
¥å·å´æ¹å¼'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="åæ°" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bladeCount"> |
| | | <a-input |
| | | v-model="model.bladeCount" |
| | | :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.standardLevel = this.model.standardLevel |
| | | this.searchParams.standardCode = this.model.standardCode |
| | | this.searchParams.diameter = this.model.diameter |
| | | this.searchParams.coneAngle = this.model.coneAngle |
| | | 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.toolPattern = this.model.toolPattern |
| | | this.searchParams.handleSpecifications = this.model.handleSpecifications |
| | | this.searchParams.coolingMethod = this.model.coolingMethod |
| | | this.searchParams.bladeCount = this.model.bladeCount |
| | | 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> |