¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="sync-process-container"> |
| | | <a-spin :spinning="loading"> |
| | | <a-table |
| | | :columns="columns" |
| | | :data-source="syncProcessList" |
| | | rowKey="id" |
| | | :pagination="false" |
| | | class="process-table" |
| | | :scroll="{ y: 400 }" |
| | | > |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a-popconfirm title="ç¡®å®é¢åå?" @confirm="() => handleInspection(record.id)"> |
| | | <a>é¢å</a> |
| | | </a-popconfirm> |
| | | </span> |
| | | </a-table> |
| | | </a-spin> |
| | | |
| | | <!-- 表ååºå --> |
| | | <syncProcessSpecificationInfo-modal ref="modalForm" @ok="modalFormOk"></syncProcessSpecificationInfo-modal> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/assets/less/TableExpand.less' |
| | | import SyncProcessSpecificationInfoModal from '../dnc/base/modules/SyncProcessSpecificationInfo/SyncProcessSpecificationInfoModal.vue' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import { getAction } from '@api/manage' |
| | | |
| | | export default { |
| | | name: "SyncProcessSpecificationInfoList", |
| | | mixins: [JeecgListMixin], |
| | | components: { |
| | | SyncProcessSpecificationInfoModal |
| | | }, |
| | | data() { |
| | | return { |
| | | syncProcessList: [], |
| | | url: { |
| | | list: '/dnc/home/syncProcessSpecificationInfo', |
| | | isSameNode: '/assign/flow/isSameNode', |
| | | receiveInspectionOrder:"/dnc/home/receiveTree" |
| | | }, |
| | | // è¡¨æ ¼åé
ç½® |
| | | columns: [ |
| | | { |
| | | title: '产å代å·', |
| | | align: "center", |
| | | dataIndex: 'productCode', |
| | | scopedSlots: { customRender: 'productCode' }, |
| | | width: '10%' |
| | | }, |
| | | { |
| | | title: 'é¨ä»¶åç§°', |
| | | align: "center", |
| | | dataIndex: 'partName', |
| | | }, |
| | | { |
| | | title: 'é¨ä»¶ç¼å·', |
| | | align: "center", |
| | | dataIndex: 'partNumber', |
| | | }, |
| | | { |
| | | title: 'é¨ä»¶çæ¬', |
| | | align: "center", |
| | | dataIndex: 'partVersion', |
| | | }, |
| | | { |
| | | title: 'å·¥èºè§ç¨ç¼å·', |
| | | align: "center", |
| | | dataIndex: 'planNumber', |
| | | }, |
| | | { |
| | | title: 'å·¥èºè§ç¨çæ¬', |
| | | align: "center", |
| | | dataIndex: 'planVersion', |
| | | }, |
| | | { |
| | | title: 'å叿¶é´', |
| | | align: "center", |
| | | dataIndex: 'createTime' |
| | | }, |
| | | { |
| | | title: 'æä½', |
| | | align: "center", |
| | | scopedSlots: { customRender: 'action' }, |
| | | } |
| | | ] |
| | | }; |
| | | }, |
| | | computed: { |
| | | importExcelUrl: function(){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; |
| | | } |
| | | }, |
| | | methods: { |
| | | handleReceive(item) { |
| | | console.log('é¢åä»»å¡', item); |
| | | // å®é
ä¸å¡ä¸è°ç¨é¢åæ¥å£ |
| | | this.$message.success('ä»»å¡é¢åæå'); |
| | | // æ´æ°æ¬å°æ°æ®ç¶æ |
| | | this.syncProcessList = this.syncProcessList.map(i => |
| | | i.id === item.id ? {...i, isReceive: true} : i |
| | | ); |
| | | }, |
| | | loadData() { |
| | | this.syncProcessList = []; |
| | | if (!this.url.list) { |
| | | this.$message.error('请设置url.list屿§!'); |
| | | return; |
| | | } |
| | | this.loading = true; |
| | | getAction(this.url.list).then((res) => { |
| | | if (res.success) { |
| | | // 使ç¨ç宿¥å£æ°æ® |
| | | this.syncProcessList = res.result.records || res.result; |
| | | } else { |
| | | this.$message.warning(res.message); |
| | | } |
| | | }).finally(() => { |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | /** |
| | | * é¢å |
| | | * @param id |
| | | */ |
| | | handleInspection(id) { |
| | | var that = this |
| | | this.loading = true |
| | | getAction(that.url.receiveInspectionOrder, { id }) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | that.$notification.success({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | that.loadData() |
| | | } else { |
| | | that.$notification.warning({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | this.loading = false |
| | | } |
| | | }) |
| | | }, |
| | | }, |
| | | mounted() { |
| | | this.loadData(); |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | |
| | | .sync-process-container { |
| | | padding: 16px; |
| | | background-color: #fff; |
| | | border-radius: 8px; |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09); |
| | | height: 500px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | } |
| | | |
| | | .table-header { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | margin-bottom: 16px; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .table-title { |
| | | font-size: 16px; |
| | | font-weight: 600; |
| | | color: #1d2129; |
| | | } |
| | | |
| | | .more-button { |
| | | background-color: #1890ff; |
| | | border-color: #1890ff; |
| | | font-weight: 500; |
| | | } |
| | | |
| | | .more-button:hover { |
| | | background-color: #40a9ff; |
| | | border-color: #40a9ff; |
| | | } |
| | | |
| | | /* è¡¨æ ¼æ ·å¼ */ |
| | | .process-table { |
| | | flex: 1; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | /* 产å代å·é¾æ¥æ ·å¼ */ |
| | | .process-table >>> .ant-table-tbody a { |
| | | color: #1890ff; |
| | | transition: color 0.3s; |
| | | font-weight: 500; |
| | | } |
| | | |
| | | .process-table >>> .ant-table-tbody a:hover { |
| | | color: #40a9ff; |
| | | text-decoration: underline; |
| | | } |
| | | |
| | | /* æä½æé®æ ·å¼ */ |
| | | .process-table >>> .ant-btn-link { |
| | | padding: 0 4px; |
| | | } |
| | | |
| | | /* è¡¨æ ¼è¡æ¬åææ */ |
| | | .process-table >>> .ant-table-row:hover td { |
| | | background-color: #f0f8ff !important; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | /* è¡¨æ ¼æ»å¨åºåæ ·å¼ */ |
| | | .process-table >>> .ant-table-body { |
| | | overflow-y: auto !important; |
| | | } |
| | | </style> |
| | |
| | | <!-- å³ä¾§ä¸¤ä¸ªå°å¡ç --> |
| | | <div class="right-cards"> |
| | | <div class="card top-card"> |
| | | <h2 class="card-title">å¡ç1</h2> |
| | | <h2 class="card-title">ä¸ç»´å·¥èºçæäº§åç»ææ </h2> |
| | | <h2 class="more-btns" @click = "gotoSyncProcessList">æ´å¤</h2> |
| | | <div class="card-content"> |
| | | <syncProcessList |
| | | ref="syncProcessList" |
| | | ></syncProcessList> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | |
| | | <script> |
| | | import TodoList from '@views/dashboard/TodoList.vue' |
| | | import SyncProcessList from '@views/dashboard/SyncProcessList.vue' |
| | | |
| | | |
| | | export default { |
| | | name: 'DncManagerSignage', |
| | | components: { |
| | | TodoList |
| | | TodoList, |
| | | SyncProcessList |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | methods: { |
| | | gotoTodoList() { |
| | | this.$router.push('/flowable/workflow/FlowTodo') |
| | | } |
| | | }, |
| | | gotoSyncProcessList(){ |
| | | this.$router.push('/dnc/base/SyncProcessSpecificationInfoList') |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | |
| | | border: none; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .more-btns { |
| | | position: absolute; |
| | | top: 140px; |
| | | right: 40px; |
| | | color: #1890ff; |
| | | font-size: 14px; |
| | | background: none; |
| | | border: none; |
| | | cursor: pointer; |
| | | text-decoration: none; |
| | | z-index: 10; |
| | | } |
| | | .top-card { |
| | | flex: 1; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card :bordered="false"> |
| | | |
| | | <!-- æ¥è¯¢åºå --> |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | | <a-row :gutter="24"> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="产ååç§°"> |
| | | <a-input placeholder="请è¾å
¥äº§ååç§°" v-model="queryParam.productName"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="产å代å·"> |
| | | <a-input placeholder="请è¾å
¥äº§å代å·" v-model="queryParam.productCode"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="é¨ä»¶åç§°"> |
| | | <a-input placeholder="请è¾å
¥é¨ä»¶åç§°" v-model="queryParam.partName"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="é¨ä»¶ç¼å·"> |
| | | <a-input placeholder="请è¾å
¥é¨ä»¶ç¼å·" v-model="queryParam.partNumber"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> |
| | | <a-button type="primary" @click="searchQuery" icon="search">æ¥è¯¢</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">éç½®</a-button> |
| | | </span> |
| | | </a-col> |
| | | |
| | | </a-row> |
| | | </a-form> |
| | | </div> |
| | | |
| | | <!-- æä½æé®åºå --> |
| | | <div class="table-operator"> |
| | | </div> |
| | | |
| | | <!-- tableåºå-begin --> |
| | | <div> |
| | | <a-table |
| | | ref="table" |
| | | size="middle" |
| | | bordered |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | class="j-table-force-nowrap" |
| | | @change="handleTableChange"> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a-popconfirm title="ç¡®å®é¢åå?" @confirm="() => handleInspection(record.id)"> |
| | | <a>é¢å</a> |
| | | </a-popconfirm> |
| | | </span> |
| | | |
| | | </a-table> |
| | | </div> |
| | | <!-- tableåºå-end --> |
| | | |
| | | <!-- 表ååºå --> |
| | | <syncProcessSpecificationInfo-modal ref="modalForm" @ok="modalFormOk"></syncProcessSpecificationInfo-modal> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import '@assets/less/TableExpand.less' |
| | | import SyncProcessSpecificationInfoModal from './modules/SyncProcessSpecificationInfo/SyncProcessSpecificationInfoModal.vue' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import { getAction } from '@api/manage' |
| | | |
| | | export default { |
| | | name: "SyncProcessSpecificationInfoList", |
| | | mixins:[JeecgListMixin], |
| | | components: { |
| | | SyncProcessSpecificationInfoModal |
| | | }, |
| | | data () { |
| | | return { |
| | | description: 'ä¸ç»´å·¥èºå·¥èºè§ç¨ä¿¡æ¯ç®¡ç页é¢', |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key:'rowIndex', |
| | | width:60, |
| | | align:"center", |
| | | customRender:function (t,r,index) { |
| | | return parseInt(index)+1; |
| | | } |
| | | }, |
| | | { |
| | | title: '产ååç§°', |
| | | align:"center", |
| | | dataIndex: 'productName' |
| | | }, |
| | | { |
| | | title: '产å代å·', |
| | | align:"center", |
| | | dataIndex: 'productCode' |
| | | }, |
| | | { |
| | | title: 'é¨ä»¶åç§°', |
| | | align:"center", |
| | | dataIndex: 'partName' |
| | | }, |
| | | { |
| | | title: 'é¨ä»¶ç¼å·', |
| | | align:"center", |
| | | dataIndex: 'partNumber' |
| | | }, |
| | | { |
| | | title: 'é¨ä»¶çæ¬', |
| | | align:"center", |
| | | dataIndex: 'partVersion' |
| | | }, |
| | | { |
| | | title: 'å·¥èºè§ç¨ç¼å·', |
| | | align:"center", |
| | | dataIndex: 'planNumber' |
| | | }, |
| | | { |
| | | title: 'å·¥èºè§ç¨çæ¬', |
| | | align:"center", |
| | | dataIndex: 'planVersion' |
| | | }, |
| | | { |
| | | title: 'æ¯å¦é¢å', |
| | | align:"center", |
| | | dataIndex: 'isReceive_dictText' |
| | | }, |
| | | { |
| | | title: 'å叿¶é´', |
| | | align:"center", |
| | | dataIndex: 'createTime' |
| | | }, |
| | | { |
| | | title: 'æä½', |
| | | dataIndex: 'action', |
| | | align:"center", |
| | | scopedSlots: { customRender: 'action' }, |
| | | } |
| | | ], |
| | | url: { |
| | | list: "/dnc/home/syncProcessSpecificationInfo", |
| | | receiveInspectionOrder:"/dnc/home/receiveTree" |
| | | }, |
| | | } |
| | | }, |
| | | computed: { |
| | | importExcelUrl: function(){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; |
| | | } |
| | | }, |
| | | methods: { |
| | | /** |
| | | * é¢å |
| | | * @param id |
| | | */ |
| | | handleInspection(id) { |
| | | var that = this |
| | | this.loading = true |
| | | getAction(that.url.receiveInspectionOrder, { id }) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | that.$notification.success({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | that.loadData() |
| | | } else { |
| | | that.$notification.warning({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | this.loading = false |
| | | } |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-drawer |
| | | :title="title" |
| | | :width="800" |
| | | placement="right" |
| | | :closable="false" |
| | | @close="close" |
| | | :visible="visible"> |
| | | |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form-model ref="form" :model="model" :rules="validatorRules"> |
| | | |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="dataType" label="æ°æ®ç±»å"> |
| | | <a-input placeholder="请è¾å
¥æ°æ®ç±»å" v-model="model.dataType" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="changeNo" label="æ´æ¹åå·"> |
| | | <a-input placeholder="请è¾å
¥æ´æ¹åå·" v-model="model.changeNo" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partName" label="é¨ä»¶åç§°"> |
| | | <a-input placeholder="请è¾å
¥é¨ä»¶åç§°" v-model="model.partName" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partNumber" label="é¨ä»¶ç¼å·"> |
| | | <a-input placeholder="请è¾å
¥é¨ä»¶ç¼å·" v-model="model.partNumber" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partVersion" label="é¨ä»¶çæ¬"> |
| | | <a-input placeholder="请è¾å
¥é¨ä»¶çæ¬" v-model="model.partVersion" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="planNumber" label="å·¥èºè§ç¨ç¼å·"> |
| | | <a-input placeholder="请è¾å
¥å·¥èºè§ç¨ç¼å·" v-model="model.planNumber" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="planVersion" label="å·¥èºè§ç¨çæ¬"> |
| | | <a-input placeholder="请è¾å
¥å·¥èºè§ç¨çæ¬" v-model="model.planVersion" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="isReceive" label="æ¯å¦é¢å"> |
| | | <a-input placeholder="请è¾å
¥æ¯å¦é¢å" v-model="model.isReceive" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="createDate" label="å叿¶é´"> |
| | | <a-date-picker showTime valueFormat='YYYY-MM-DD HH:mm:ss' v-model="model.createDate" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="jsonData" label="jsonå符串信æ¯"> |
| | | <a-input placeholder="请è¾å
¥jsonå符串信æ¯" v-model="model.jsonData" /> |
| | | </a-form-model-item> |
| | | |
| | | </a-form-model> |
| | | </a-spin> |
| | | |
| | | <div class="drawer-bootom-button"> |
| | | <a-button type="primary" @click="handleOk">ç¡®å®</a-button> |
| | | <a-button type="primary" @click="handleCancel">åæ¶</a-button> |
| | | </div> |
| | | </a-drawer> |
| | | </template> |
| | | |
| | | <script> |
| | | import { httpAction } from '@api/manage' |
| | | import moment from "moment" |
| | | |
| | | export default { |
| | | name: "SyncProcessSpecificationInfoModal", |
| | | data () { |
| | | return { |
| | | title:"æä½", |
| | | visible: false, |
| | | model: {}, |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 5 }, |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 16 }, |
| | | }, |
| | | |
| | | confirmLoading: false, |
| | | validatorRules:{ |
| | | }, |
| | | url: { |
| | | add: "/dnc/syncProcessSpecificationInfo/add", |
| | | edit: "/dnc/syncProcessSpecificationInfo/edit", |
| | | }, |
| | | } |
| | | }, |
| | | created () { |
| | | }, |
| | | methods: { |
| | | add () { |
| | | //åå§åé»è®¤å¼ |
| | | this.edit({}); |
| | | }, |
| | | edit (record) { |
| | | this.model = Object.assign({}, record); |
| | | this.visible = true; |
| | | }, |
| | | close () { |
| | | this.$emit('close'); |
| | | this.visible = false; |
| | | this.$refs.form.clearValidate(); |
| | | }, |
| | | handleOk () { |
| | | const that = this; |
| | | // 触å表åéªè¯ |
| | | this.$refs.form.validate(valid => { |
| | | if (valid) { |
| | | that.confirmLoading = true; |
| | | let httpurl = ''; |
| | | let method = ''; |
| | | if(!this.model.id){ |
| | | httpurl+=this.url.add; |
| | | method = 'post'; |
| | | }else{ |
| | | httpurl+=this.url.edit; |
| | | method = 'put'; |
| | | } |
| | | httpAction(httpurl,this.model,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(); |
| | | }) |
| | | }else{ |
| | | return false; |
| | | } |
| | | }) |
| | | }, |
| | | handleCancel () { |
| | | this.close() |
| | | }, |
| | | |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | /**Buttonæé®é´è·*/ |
| | | .ant-btn { |
| | | margin-left: 30px; |
| | | margin-bottom: 30px; |
| | | float: right; |
| | | } |
| | | /**æ½å±æé®æ ·å¼*/ |
| | | .drawer-bootom-button { |
| | | position: absolute; |
| | | bottom: -8px; |
| | | width: 100%; |
| | | border-top: 1px solid #e8e8e8; |
| | | padding: 10px 16px; |
| | | text-align: right; |
| | | left: 0; |
| | | background: #fff; |
| | | border-radius: 0 0 2px 2px; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <j-modal |
| | | :title="title" |
| | | :width="800" |
| | | :visible="visible" |
| | | :confirmLoading="confirmLoading" |
| | | switchFullscreen |
| | | @ok="handleOk" |
| | | @cancel="handleCancel" |
| | | cancelText="å
³é"> |
| | | |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form-model ref="form" :model="model" :rules="validatorRules"> |
| | | |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="dataType" label="æ°æ®ç±»å"> |
| | | <a-input placeholder="请è¾å
¥æ°æ®ç±»å" v-model="model.dataType" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="changeNo" label="æ´æ¹åå·"> |
| | | <a-input placeholder="请è¾å
¥æ´æ¹åå·" v-model="model.changeNo" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partName" label="é¨ä»¶åç§°"> |
| | | <a-input placeholder="请è¾å
¥é¨ä»¶åç§°" v-model="model.partName" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partNumber" label="é¨ä»¶ç¼å·"> |
| | | <a-input placeholder="请è¾å
¥é¨ä»¶ç¼å·" v-model="model.partNumber" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partVersion" label="é¨ä»¶çæ¬"> |
| | | <a-input placeholder="请è¾å
¥é¨ä»¶çæ¬" v-model="model.partVersion" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="planNumber" label="å·¥èºè§ç¨ç¼å·"> |
| | | <a-input placeholder="请è¾å
¥å·¥èºè§ç¨ç¼å·" v-model="model.planNumber" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="planVersion" label="å·¥èºè§ç¨çæ¬"> |
| | | <a-input placeholder="请è¾å
¥å·¥èºè§ç¨çæ¬" v-model="model.planVersion" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="isReceive" label="æ¯å¦é¢å"> |
| | | <a-input placeholder="请è¾å
¥æ¯å¦é¢å" v-model="model.isReceive" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="createDate" label="å叿¶é´"> |
| | | <a-date-picker showTime valueFormat='YYYY-MM-DD HH:mm:ss' v-model="model.createDate" /> |
| | | </a-form-model-item> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="jsonData" label="jsonå符串信æ¯"> |
| | | <a-input placeholder="请è¾å
¥jsonå符串信æ¯" v-model="model.jsonData" /> |
| | | </a-form-model-item> |
| | | |
| | | </a-form-model> |
| | | </a-spin> |
| | | </j-modal> |
| | | </template> |
| | | |
| | | <script> |
| | | import { httpAction } from '@api/manage' |
| | | import moment from "moment" |
| | | |
| | | export default { |
| | | name: "SyncProcessSpecificationInfoModal", |
| | | data () { |
| | | return { |
| | | title:"æä½", |
| | | visible: false, |
| | | model: {}, |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 5 }, |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 16 }, |
| | | }, |
| | | |
| | | confirmLoading: false, |
| | | validatorRules:{ |
| | | }, |
| | | url: { |
| | | add: "/dnc/syncProcessSpecificationInfo/add", |
| | | edit: "/dnc/syncProcessSpecificationInfo/edit", |
| | | }, |
| | | } |
| | | }, |
| | | created () { |
| | | }, |
| | | methods: { |
| | | add () { |
| | | //åå§åé»è®¤å¼ |
| | | this.edit({}); |
| | | }, |
| | | edit (record) { |
| | | this.model = Object.assign({}, record); |
| | | this.visible = true; |
| | | }, |
| | | close () { |
| | | this.$emit('close'); |
| | | this.visible = false; |
| | | this.$refs.form.clearValidate(); |
| | | }, |
| | | handleOk () { |
| | | const that = this; |
| | | // 触å表åéªè¯ |
| | | this.$refs.form.validate(valid => { |
| | | if (valid) { |
| | | that.confirmLoading = true; |
| | | let httpurl = ''; |
| | | let method = ''; |
| | | if(!this.model.id){ |
| | | httpurl+=this.url.add; |
| | | method = 'post'; |
| | | }else{ |
| | | httpurl+=this.url.edit; |
| | | method = 'put'; |
| | | } |
| | | httpAction(httpurl,this.model,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(); |
| | | }) |
| | | }else{ |
| | | return false; |
| | | } |
| | | }) |
| | | }, |
| | | handleCancel () { |
| | | this.close() |
| | | }, |
| | | |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | |
| | | </style> |
| | |
| | | </a-tree-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col |
| | | :xl="6" |
| | | :lg="7" |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item label="æºåºåå®¶"> |
| | | <a-input |
| | | placeholder="请è¾å
¥æºåºåå®¶" |
| | | v-model="queryParam.manufacturingEnterprise" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col |
| | | :xl="6" |
| | | :lg="7" |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item label="åå¼(å
)"> |
| | | <a-input |
| | | placeholder="请è¾å
¥åå¼(å
)" |
| | | v-model="queryParam.originalValue" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col |
| | | :xl="6" |
| | | :lg="7" |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item label="æ§è½ææ "> |
| | | <a-input |
| | | placeholder="请è¾å
¥æ§è½ææ " |
| | | v-model="queryParam.performanceIndicators" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col |
| | | :xl="6" |
| | | :lg="7" |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item label="åºåæ¥æ"> |
| | | <a-range-picker v-model="leaveFactoryDate" value-format="YYYY-MM-DD HH:mm:ss" |
| | | @change="leaveFactoryRangeChange" |
| | | style="width: 100%"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col |
| | | :xl="6" |
| | | :lg="7" |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item label="æç¨æ¥æ"> |
| | | <a-range-picker v-model="acceptanceCheckDate" value-format="YYYY-MM-DD" |
| | | @change="acceptanceCheckRangeChange" |
| | | style="width: 100%"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col |
| | | :xl="6" |
| | | :lg="7" |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item label="设å¤ç¨é"> |
| | | <j-dict-select-tag |
| | | dict-code="equipment_use" |
| | | placeholder="è¯·éæ©è®¾å¤ç¨é" |
| | | v-model="queryParam.equipmentUse" |
| | | ></j-dict-select-tag> |
| | | </a-form-item> |
| | | </a-col> |
| | | </template> |
| | | <a-col |
| | | :xl="6" |
| | |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '管çåç±»', |
| | | title: '设å¤åå·', |
| | | align: 'center', |
| | | width: 120, |
| | | dataIndex: 'equipmentImportance_dictText', |
| | | width: 200, |
| | | dataIndex: 'equipmentModel' |
| | | }, |
| | | { |
| | | title: 'ææ¯ç¶æ', |
| | | title: 'åºåæ¥æ', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'technologyStatus_dictText' |
| | | dataIndex: 'leaveFactoryDate' |
| | | }, |
| | | { |
| | | title: 'æç¨æ¥æ', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'acceptanceCheckDate' |
| | | }, |
| | | { |
| | | title: 'åå¼(å
)', |
| | | align: 'center', |
| | | dataIndex: 'originalValue' |
| | | }, |
| | | { |
| | | title: '使ç¨è½¦é´', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'orgId_dictText' |
| | | }, |
| | | { |
| | | title: 'èµäº§ä½¿ç¨ç¶æ', |
| | |
| | | dataIndex: 'maintenanceStatus_dictText' |
| | | }, |
| | | { |
| | | title: '使ç¨è½¦é´', |
| | | title: '设å¤ç¨é', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'orgId_dictText' |
| | | dataIndex: 'equipmentUse_dictText' |
| | | }, |
| | | { |
| | | title: '设å¤ç®¡çå', |
| | | title: 'æä½å·¥', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'operator' |
| | | }, |
| | | { |
| | | title: '管çåç±»', |
| | | align: 'center', |
| | | width: 120, |
| | | dataIndex: 'equipmentImportance_dictText', |
| | | }, |
| | | { |
| | | title: 'ææ¯ç¶æ', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'technologyStatus_dictText' |
| | | }, |
| | | { |
| | | title: '设å¤è´£ä»»äºº', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'equipmentManager_dictText' |
| | |
| | | title: '设å¤ç§ç±»', |
| | | align: 'center', |
| | | dataIndex: 'equipmentType_dictText' |
| | | }, |
| | | { |
| | | title: '设å¤åå·', |
| | | align: 'center', |
| | | width: 200, |
| | | dataIndex: 'equipmentModel' |
| | | }, |
| | | { |
| | | title: '设å¤è§æ ¼', |
| | |
| | | dataIndex: 'supplier' |
| | | }, |
| | | { |
| | | title: 'åºåæ¥æ', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'leaveFactoryDate' |
| | | }, |
| | | { |
| | | title: 'æç¨æ¥æ', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'acceptanceCheckDate' |
| | | }, |
| | | { |
| | | title: 'ææ å·¥èºåæ°', |
| | | align: 'center', |
| | | width: 120, |
| | |
| | | title: 'å¤å½¢å°ºå¯¸', |
| | | align: 'center', |
| | | dataIndex: 'overallDimensions' |
| | | }, |
| | | { |
| | | title: 'åå¼(å
)', |
| | | align: 'center', |
| | | dataIndex: 'originalValue' |
| | | }, |
| | | { |
| | | title: 'èµéæ¥æº', |
| | |
| | | isOpenProcess: false, |
| | | isOpenPrecision: false, |
| | | treeDataAlias: [], |
| | | leaveFactoryDate: [], |
| | | acceptanceCheckDate: [], |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | this.loadAppHomeUrlConfigValue() |
| | | }, |
| | | methods: { |
| | | leaveFactoryRangeChange(valueArray) { |
| | | this.queryParam.leaveFactoryStartTime = valueArray[0] |
| | | this.queryParam.leaveFactoryEndTime = valueArray[1] |
| | | }, |
| | | acceptanceCheckRangeChange(valueArray) { |
| | | this.queryParam.acceptanceCheckStartTime = valueArray[0] |
| | | this.queryParam.acceptanceCheckEndTime = valueArray[1] |
| | | }, |
| | | loadAllProductionTree() { |
| | | //å 载车é´éæ©æ |
| | | getAction(this.url.loadProductionOptions).then(res => { |
| | |
| | | } |
| | | return newObj; |
| | | }, |
| | | |
| | | searchReset() { |
| | | this.leaveFactoryDate = [] |
| | | this.acceptanceCheckDate = [] |
| | | this.queryParam = {} |
| | | this.onClearSelected() |
| | | this.loadTabPaneTableData('-1') |
| | |
| | | <vxe-table-column title="油液åç§°" field="fluidId" align="center" |
| | | :edit-render="{name : '$select', options: fluidList, optionProps: {label:'fluidName', value:'id'}, props: {clearable:true}, events: {change:handleParamSelectChange}}"></vxe-table-column> |
| | | <vxe-table-column title="åæ°ç¼ç " field="fluidCode" align="center"></vxe-table-column> |
| | | <vxe-table-column title="ä½¿ç¨æ°é" field="usageQuantity" align="center" |
| | | :edit-render="{name: '$input',props: {type: 'number',min: 0,step: 1,precision: 0 }}"></vxe-table-column> |
| | | <vxe-table-column title="å å
¥é¨ä½" field="additionSite" align="center" :edit-render="{name : '$input'}"></vxe-table-column> |
| | | <vxe-table-column |
| | | title="æ¶é´" |
| | | field="oilTime" |
| | | align="center" |
| | | :edit-render="{ |
| | | name: 'ADatePicker', |
| | | props: { |
| | | type: 'datetime', |
| | | format: 'YYYY-MM-DD HH:mm:ss', |
| | | valueFormat: 'YYYY-MM-DD HH:mm:ss' |
| | | }, |
| | | events: { |
| | | change: (value, context) => { |
| | | context.row.oilTime = value |
| | | } |
| | | } |
| | | }":formatter="formatDate" |
| | | ></vxe-table-column> |
| | | <vxe-table-column title="æä½" width="160"> |
| | | <template v-slot="{row}"> |
| | | <template v-if="hasEditStatus(row)"> |
| | |
| | | this.loadFluidList() |
| | | }, |
| | | methods: { |
| | | formatDate({ cellValue }) { |
| | | // æ£æ¥æ¯å¦ä¸ºææçæ¥æå¯¹è±¡ |
| | | if (cellValue && (cellValue instanceof Date || !isNaN(Date.parse(cellValue)))) { |
| | | const date = cellValue instanceof Date ? cellValue : new Date(cellValue); |
| | | // æå¨æ ¼å¼åæ¥æ |
| | | return `${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, '0')}-${date.getDate().toString().padStart(2, '0')} ${date.getHours().toString().padStart(2, '0')}:${date.getMinutes().toString().padStart(2, '0')}:${date.getSeconds().toString().padStart(2, '0')}`; |
| | | } |
| | | return cellValue; // 鿥æç±»åç´æ¥è¿ååå¼ |
| | | }, |
| | | handleParamSelectChange($event, value) { |
| | | console.log(value) |
| | | let parameter = this.fluidList.find(item => item.id === value.value) |
| | |
| | | disabled/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="equipmentUse" label="设å¤ç¨é"> |
| | | <j-dict-select-tag dict-code="equipment_use" v-model="model.equipmentUse" |
| | | placeholder="è¯·éæ©è®¾å¤ç¨é" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="operator" label="æä½å·¥"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æä½å·¥'" v-model="model.operator" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> åºåä¿¡æ¯ |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="equipmentManager" label="设å¤ç®¡çå"> |
| | | <j-search-select-tag placeholder="è¯·éæ©è®¾å¤ç®¡çå" v-model="model.equipmentManager" dict="sys_user,realname, username, del_flag=0 and post='PCR0004' and status=1" :disabled="disableSubmit"/> |
| | | <a-form-model-item prop="equipmentManager" label="设å¤è´£ä»»äºº"> |
| | | <j-search-select-tag placeholder="è¯·éæ©è®¾å¤è´£ä»»äºº" v-model="model.equipmentManager" dict="sys_user,realname, username, del_flag=0 and post='PCR0004' and status=1" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | |
| | | { required: true, message: 'è¯·éæ©ä½¿ç¨è½¦é´' } |
| | | ], |
| | | equipmentManager: [ |
| | | { required: true, message: 'è¯·éæ©è®¾å¤ç®¡çå' } |
| | | { required: true, message: 'è¯·éæ©è®¾å¤è´£ä»»äºº' } |
| | | ], |
| | | deviceType: [ |
| | | { required: false, message: 'è¯·éæ©è®¾å¤ç±»å' } |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="span"> |
| | | <a-form-model-item label="ç»æäºº" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="handler"> |
| | | <j-dict-select-tag disabled |
| | | v-model="tableRowRecord.handler" dictCode="sys_user,realname,id" |
| | | placeholder="è¯·éæ©" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <!-- <a-col :span="span"> |
| | | <a-form-model-item label="æ¥æäºº" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="outStorehouseType"> |
| | | <j-dict-select-tag disabled |
| | | v-model="tableRowRecord.losser" dictCode="sys_user,realname,id" |
| | | placeholder="è¯·éæ©" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-col> --> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="span"> |
| | |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="span"> |
| | | <a-form-model-item label="ç»æäºº" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="handler"> |
| | | <j-dict-select-tag disabled |
| | | v-model="tableRowRecord.handler" dictCode="sys_user,realname,id" |
| | | placeholder="è¯·éæ©" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="span"> |
| | | <a-form-model-item label="夿³¨" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="remark"> |
| | | <a-textarea disabled v-model="tableRowRecord.remark" rows="4" /> |
| | | |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="夿³¨" :labelCol="{span:2}" :wrapperCol="{span:20}" prop="remark"> |
| | | <a-textarea disabled v-model="tableRowRecord.remark" rows="2" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | <a-form-model ref="form" :model="approveData" :rules="validatorRules" slot="detail"> |
| | | <a-row> |
| | | <a-col ::span="span"> |
| | | <a-form-model-item label="ç³è¯·äºº" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="handler_dictText"> |
| | | <a-input :readOnly="inputReadOnly" v-model="tableRowRecord.handler_dictText"></a-input> |
| | | <a-form-model-item label="ç³è¯·äºº" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="handlePerson"> |
| | | <a-input :readOnly="inputReadOnly" v-model="tableRowRecord.handlePerson"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col ::span="span"> |
| | |
| | | { |
| | | title: 'åå
·ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'toolCode' |
| | | dataIndex: 'toolId' |
| | | }, |
| | | { |
| | | title: 'å·¥å
፱Ȍ', |
| | |
| | | </template> |
| | | |
| | | <span slot='action' slot-scope='text, record'> |
| | | <a-popconfirm title='ç¡®å®æå¸å?' @confirm='() => handleDelete(record.id)'> |
| | | <a-popconfirm title='ç¡®å®æå¸å?' v-if="record.status == '1'" @confirm='() => handleDelete(record.id)'> |
| | | <a>åå
·æå¸</a> |
| | | </a-popconfirm> |
| | | </span> |
| | |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="æ¥æååå·" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="orderCode"> |
| | | <j-input v-model="model.orderCode" placeholder="ç³»ç»èªå¨çæ" :disabled="true"></j-input> |
| | | <a-input v-model="model.orderCode" placeholder="ç³»ç»èªå¨çæ" :disabled="true"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="æ¥æäºº" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="losser"> |
| | | <j-dict-select-tag :disabled="disableSubmit" |
| | | v-model="model.losser" dictCode="sys_user,realname,id" |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="ç»æäºº" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="handler"> |
| | | |
| | | <j-dict-select-tag :disabled="true" |
| | | v-model="model.handler" dictCode="sys_user,realname,id" |
| | | placeholder="è¯·éæ©" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-if="addShow" label="ç»æäºº" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="handler"> |
| | | |
| | | <!-- <a-col :span="12"> |
| | | <a-form-model-item label="æ¥æäºº" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="losser"> |
| | | <j-dict-select-tag :disabled="disableSubmit" |
| | | v-model="model.handler" dictCode="sys_user,realname,id" |
| | | v-model="model.losser" dictCode="sys_user,realname,id" |
| | | placeholder="è¯·éæ©" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-col> --> |
| | | |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-if="addShow" label="å®¡æ ¸ç¶æ" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="orderStatus"> |
| | |
| | | placeholder="è¯·éæ©å®¡æ ¸ç¶æ" disabled /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-if="addShow" label="å®¡æ ¸æ¶é´" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="approvalDate"> |
| | | |
| | |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-if="addShow" label="å®¡æ ¸æè§" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | <a-col :span="24"> |
| | | <a-form-model-item v-if="addShow" label="å®¡æ ¸æè§" :labelCol="{span:2}" :wrapperCol="{span:20}" |
| | | prop="approvalOpinion"> |
| | | <a-input v-model="model.approvalOpinion" placeholder="请è¾å
¥å®¡æ ¸æè§" disabled></a-input> |
| | | </a-form-model-item> |
| | |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="夿³¨" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="remark"> |
| | | <a-textarea :disabled="disableSubmit" v-model="model.remark" rows="4" placeholder="请è¾å
¥å¤æ³¨" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="æ¥æåå " :labelCol="labelCol" :wrapperCol="wrapperCol" prop="lossReason"> |
| | | <a-textarea :disabled="disableSubmit" v-model="model.lossReason" rows="4" placeholder="请è¾å
¥æ¥æåå " /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="夿³¨" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="remark"> |
| | | <a-textarea :disabled="disableSubmit" v-model="model.remark" rows="4" placeholder="请è¾å
¥å¤æ³¨" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | <template v-for="col in columns" :slot="col.dataIndex" slot-scope="text, record, index"> |
| | | <div v-if="col.dataIndex == 'lossNumber'"> |
| | | <a-input-number |
| | | :disabled="disableSubmit" |
| | | :disabled="record.accuracyClass === '1'" |
| | | :value="text" |
| | | :min="0" |
| | | :min="1" |
| | | :max="99999" |
| | | @change="(e) => handleChange(e, record.key, col, index)" |
| | | style="width: 100%;" |
| | |
| | | goodsShelvesId: data[i].positionCode, |
| | | toolMaterial: data[i].toolMaterial, |
| | | partMaterial: data[i].partMaterial, |
| | | lossNumber: null, // åå§åæ¥ææ°é |
| | | lossNumber: "1", // åå§åæ¥ææ°é |
| | | lossNumberError: false, // æ ¡éªç¶æ |
| | | lossNumberMsg: '' // éè¯¯ä¿¡æ¯ |
| | | lossNumberMsg: '', // éè¯¯ä¿¡æ¯ |
| | | accuracyClass: data[i].accuracyClass |
| | | }) |
| | | } |
| | | this.ipagination.total = this.dataSource.length |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="å¶åèç¹æ è¯" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group :disabled="leafDisableFlag" v-model="model.leafFlag" placeholder="è¯·éæ©æ¯å¦å¶åèç¹"> |
| | | <a-radio :value="'2'">æåèç¹</a-radio> |
| | | <a-radio :value="'1'">æ¯å¶åèç¹</a-radio> |
| | | <a-form-model-item label="æ¯å¦æä¸çº§åç±»" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group :disabled="leafDisableFlag" v-model="model.leafFlag" placeholder="è¯·éæ©æ¯å¦æä¸çº§åç±»"> |
| | | <a-radio :value="'2'">æ¯</a-radio> |
| | | <a-radio :value="'1'">å¦</a-radio> |
| | | </a-radio-group> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | { required: true, message: '请è¾å
¥ç¶èç¹ç¼å·!'}, |
| | | ], |
| | | leafFlag: [ |
| | | { required: true, message: '请è¾å
¥æ¯å¦å¶åèç¹!'}, |
| | | { required: true, message: '请è¾å
¥æ¯å¦æä¸çº§åç±»!'}, |
| | | ], |
| | | seq: [ |
| | | { validator: (rule, value, callback) => { |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="æ¯å¦ä¸ºå¶åèç¹" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group v-model="model.leafFlag" placeholder="è¯·éæ©æ¯å¦å¶åèç¹" @change="leafFlagChange"> |
| | | <a-radio :value="'1'">æ¯</a-radio> |
| | | <a-radio :value="'2'">å¦</a-radio> |
| | | <a-form-model-item label="æ¯å¦æä¸çº§åç±»" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group v-model="model.leafFlag" placeholder="è¯·éæ©æ¯å¦æä¸çº§åç±»" @change="leafFlagChange"> |
| | | <a-radio :value="'1'">å¦</a-radio> |
| | | <a-radio :value="'2'">æ¯</a-radio> |
| | | </a-radio-group> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | { required: true, message: '请è¾å
¥å·¥å
·åç±»åç§°!'}, |
| | | ], |
| | | leafFlag: [ |
| | | { required: true, message: 'è¯·éæ©æ¯å¦ä¸ºå¶åèç¹!'}, |
| | | { required: true, message: 'è¯·éæ©æ¯å¦æä¸çº§åç±»!'}, |
| | | ], |
| | | seq: [ |
| | | { min: 0, message: 'å±ç¤ºåºå·ä¸è½å°äº0!'}, |
| | |
| | | //æ¾ç¤ºå½åéä¸ç±»ååæ° |
| | | this.$refs.paraCommonToolList.getPara(res.result) |
| | | //éèå
¶ä»ç±»ååæ° |
| | | this.$refs.paraHoleToolsList.visable =false |
| | | this.$refs.paraHoleToolsList.visable = false |
| | | this.$refs.paraThreadingToolList.visable = false |
| | | this.$refs.paraMillToolList.visable = false |
| | | this.$refs.paraTurningToolsList.visable = false |
| | |
| | | } else if (this.selectionRows[0].paraTypeFlag === '3') { |
| | | this.$refs.paraThreadingToolList.getPara(res.result) |
| | | this.$refs.paraCommonToolList.visable = false |
| | | this.$refs.paraHoleToolsList.visable =false |
| | | this.$refs.paraHoleToolsList.visable = false |
| | | this.$refs.paraMillToolList.visable = false |
| | | this.$refs.paraTurningToolsList.visable = false |
| | | this.$refs.paraBladeList.visable = false |
| | | } else if (this.selectionRows[0].paraTypeFlag === '4') { |
| | | this.$refs.paraMillToolList.getPara(res.result) |
| | | this.$refs.paraCommonToolList.visable = false |
| | | this.$refs.paraHoleToolsList.visable =false |
| | | this.$refs.paraHoleToolsList.visable = false |
| | | this.$refs.paraThreadingToolList.visable = false |
| | | this.$refs.paraTurningToolsList.visable = false |
| | | this.$refs.paraBladeList.visable = false |
| | | } else if (this.selectionRows[0].paraTypeFlag === '5') { |
| | | this.$refs.paraTurningToolsList.getPara(res.result) |
| | | this.$refs.paraCommonToolList.visable = false |
| | | this.$refs.paraHoleToolsList.visable =false |
| | | this.$refs.paraHoleToolsList.visable = false |
| | | this.$refs.paraThreadingToolList.visable = false |
| | | this.$refs.paraMillToolList.visable = false |
| | | this.$refs.paraBladeList.visable = false |
| | | } else if (this.selectionRows[0].paraTypeFlag === '6') { |
| | | this.$refs.paraBladeList.getPara(res.result) |
| | | this.$refs.paraCommonToolList.visable = false |
| | | this.$refs.paraHoleToolsList.visable =false |
| | | this.$refs.paraHoleToolsList.visable = false |
| | | this.$refs.paraThreadingToolList.visable = false |
| | | this.$refs.paraMillToolList.visable = false |
| | | this.$refs.paraTurningToolsList.visable = false |
| | |
| | | } |
| | | }, |
| | | paraHoleToolsOk(data) { |
| | | this.queryParam.chineseName = data.chineseName |
| | | this.queryParam.foreignLanguageName = data.foreignLanguageName |
| | | this.queryParam.standardLevel = data.standardLevel |
| | | this.queryParam.standardCode = data.standardCode |
| | | this.queryParam.diameter = data.diameter |
| | | this.queryParam.coneAngle = data.coneAngle |
| | | this.queryParam.edgeLength = data.edgeLength |
| | | this.queryParam.totalLength = data.totalLength |
| | | this.queryParam.toolMaterial = data.toolMaterial |
| | | this.queryParam.partMaterial = data.partMaterial |
| | | this.queryParam.paintcoatFlag = data.paintcoatFlag |
| | | this.queryParam.toolPattern = data.toolPattern |
| | | this.queryParam.handleSpecifications = data.handleSpecifications |
| | | this.queryParam.coolingMethod = data.coolingMethod |
| | | this.queryParam.bladeCount = data.bladeCount |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'coneAngle', |
| | | 'edgeLength', |
| | | 'totalLength', |
| | | 'toolMaterial', |
| | | 'partMaterial', |
| | | 'paintcoatFlag', |
| | | 'toolPattern', |
| | | 'handleSpecifications', |
| | | 'coolingMethod', |
| | | 'bladeCount', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'toolModel', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'brand', |
| | | 'toleranceClass', |
| | | 'fitterPart', |
| | | 'connectorType', |
| | | 'smallDiameter', |
| | | 'chamferAngle', |
| | | 'effectiveLength', |
| | | 'drillDiameterRange', |
| | | 'knifeDiameter', |
| | | 'boreDiameter', |
| | | 'slotSpecification', |
| | | 'headsNumber', |
| | | 'adaptHolder', |
| | | 'guidanceLength', |
| | | 'guidanceDiameter', |
| | | 'accuracyClass', |
| | | 'types', |
| | | 'fluteForm', |
| | | 'handleForm', |
| | | 'scopeOfApplication', |
| | | 'processingmethod', |
| | | 'littleDiameter', |
| | | 'bigDiameter', |
| | | 'smallEdgeLength', |
| | | 'bigEdgeLength', |
| | | 'smallTotalLength', |
| | | 'bigTotalLength', |
| | | 'smallLatestBoringDiameter', |
| | | 'bigLatestBoringDiameter', |
| | | 'smallMaxBoringDiameter', |
| | | 'bigMaxBoringDiameter', |
| | | ] |
| | | |
| | | fields.forEach((field) => { |
| | | this.queryParam[field] = data[field] |
| | | }) |
| | | this.loadData() |
| | | }, |
| | | paraBladeOk(data) { |
| | | this.queryParam.chineseName = data.chineseName |
| | | this.queryParam.foreignLanguageName = data.foreignLanguageName |
| | | this.queryParam.standardLevel = data.standardLevel |
| | | this.queryParam.standardCode = data.standardCode |
| | | this.queryParam.bladeShape = data.bladeShape |
| | | this.queryParam.bladeLength = data.bladeLength |
| | | this.queryParam.cuttingEdgeCount = data.cuttingEdgeCount |
| | | this.queryParam.bladeThickness = data.bladeThickness |
| | | this.queryParam.toolMaterial = data.toolMaterial |
| | | this.queryParam.partMaterial = data.partMaterial |
| | | this.queryParam.paintcoatFlag = data.paintcoatFlag |
| | | this.queryParam.clampingType = data.clampingType |
| | | this.queryParam.noseAngleR = data.noseAngleR |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'toolModel', |
| | | 'partMaterial', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'brand', |
| | | 'coatingMaterial', |
| | | 'processingClassify', |
| | | 'bladePosterior', |
| | | 'bladeSize', |
| | | 'cuttingEdgeCount', |
| | | 'noseAngleR', |
| | | 'dentalAngle', |
| | | 'pitch', |
| | | 'accuracyClass', |
| | | 'bladeShape', |
| | | 'clampingType', |
| | | 'toolMaterial', |
| | | 'paintcoatFlag', |
| | | 'types', |
| | | 'cuttingDirection', |
| | | 'inOutThread', |
| | | 'threadStandard', |
| | | 'smallBladeLength', |
| | | 'bigBladeLength', |
| | | 'smallBladeThickness', |
| | | 'bigBladeThickness', |
| | | 'smallBladeWide', |
| | | 'bigBladeWide', |
| | | 'smallMinInternalThread', |
| | | 'bigMinInternalThread' |
| | | ] |
| | | fields.forEach((field) => { |
| | | this.queryParam[field] = data[field] |
| | | }) |
| | | this.loadData() |
| | | }, |
| | | paraThreadingToolOk(data) { |
| | | this.queryParam.chineseName = data.chineseName |
| | | this.queryParam.foreignLanguageName = data.foreignLanguageName |
| | | this.queryParam.threadCode = data.threadCode |
| | | this.queryParam.pitch = data.pitch |
| | | this.queryParam.rotationDirection = data.rotationDirection |
| | | this.queryParam.tolerancezoneLevel = data.tolerancezoneLevel |
| | | this.queryParam.edgeLength = data.edgeLength |
| | | this.queryParam.totalLength = data.totalLength |
| | | this.queryParam.toolMaterial = data.toolMaterial |
| | | this.queryParam.partMaterial = data.partMaterial |
| | | this.queryParam.paintcoatFlag = data.paintcoatFlag |
| | | this.queryParam.externalDimensions = data.externalDimensions |
| | | this.queryParam.handleSpecifications = data.handleSpecifications |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'toolModel', |
| | | 'partMaterial', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'brand', |
| | | 'threadCode', |
| | | 'tolerancezoneLevel', |
| | | 'pitch', |
| | | 'handleSpecifications', |
| | | 'guidingSize', |
| | | 'connectionAperture', |
| | | 'connectingKeyway', |
| | | 'accuracyClass', |
| | | 'rotationDirection', |
| | | 'paintcoatFlag', |
| | | 'toolMaterial', |
| | | 'coolingMethod', |
| | | 'types', |
| | | 'screwHoleType', |
| | | 'threadStandard', |
| | | 'fluteSoltType', |
| | | 'smallExternalDimensions', |
| | | 'bigExternalDimensions', |
| | | 'smallEdgeLength', |
| | | 'bigEdgeLength', |
| | | 'smallTotalLength', |
| | | 'bigTotalLength' |
| | | ] |
| | | fields.forEach((field) => { |
| | | this.queryParam[field] = data[field] |
| | | }) |
| | | |
| | | this.loadData() |
| | | }, |
| | | paraMillToolOk(data) { |
| | | this.queryParam.chineseName = data.chineseName |
| | | this.queryParam.foreignLanguageName = data.foreignLanguageName |
| | | this.queryParam.standardLevel = data.standardLevel |
| | | this.queryParam.standardCode = data.standardCode |
| | | this.queryParam.diameter = data.diameter |
| | | this.queryParam.noseAngleR = data.noseAngleR |
| | | this.queryParam.edgeLength = data.edgeLength |
| | | this.queryParam.totalLength = data.totalLength |
| | | this.queryParam.toolMaterial = data.toolMaterial |
| | | this.queryParam.partMaterial = data.partMaterial |
| | | this.queryParam.paintcoatFlag = data.paintcoatFlag |
| | | this.queryParam.toolPattern = data.toolPattern |
| | | this.queryParam.clampingSpecifications = data.clampingSpecifications |
| | | this.queryParam.coolingMethod = data.coolingMethod |
| | | this.queryParam.numberOfTeeth = data.numberOfTeeth |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'toolModel', |
| | | 'partMaterial', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'brand', |
| | | 'clampingSpecifications', |
| | | 'sizeSpecifications', |
| | | 'adaptBlade', |
| | | 'noseAngleR', |
| | | 'noseAngleC', |
| | | 'angleInsideR', |
| | | 'numberOfTeeth', |
| | | 'smallDiameter', |
| | | 'toolAngle', |
| | | 'mainAngleK', |
| | | 'deepestDepth', |
| | | 'pitch', |
| | | 'recentlyDiameter', |
| | | 'accuracyClass', |
| | | 'toolMaterial', |
| | | 'coolingMethod', |
| | | 'paintcoatFlag', |
| | | 'toolPattern', |
| | | 'handleForm', |
| | | 'handleNeckForm', |
| | | 'numberPatterns', |
| | | 'millingHeadForm', |
| | | 'cuttingEdgeForm', |
| | | 'littleDiameter', |
| | | 'bigDiameter', |
| | | 'smallEdgeLength', |
| | | 'bigEdgeLength', |
| | | 'smallTotalLength', |
| | | 'bigTotalLength', |
| | | 'smallNeckDiameter', |
| | | 'bigNeckDiameter', |
| | | 'smallHandleLength', |
| | | 'bigHandleLength', |
| | | 'smallHandleNeckLength', |
| | | 'bigHandleNeckLength', |
| | | 'smallOverhangingLength', |
| | | 'bigOverhangingLength' |
| | | ] |
| | | fields.forEach((field) => { |
| | | this.queryParam[field] = data[field] |
| | | }) |
| | | this.loadData() |
| | | }, |
| | | paraTurningToolsOk(data) { |
| | | this.queryParam.chineseName = data.chineseName |
| | | this.queryParam.foreignLanguageName = data.foreignLanguageName |
| | | this.queryParam.standardLevel = data.standardLevel |
| | | this.queryParam.standardCode = data.standardCode |
| | | this.queryParam.headSpecifications = data.headSpecifications |
| | | this.queryParam.matchingNumber = data.matchingNumber |
| | | this.queryParam.leadAngle = data.leadAngle |
| | | this.queryParam.totalLength = data.totalLength |
| | | this.queryParam.toolMaterial = data.toolMaterial |
| | | this.queryParam.partMaterial = data.partMaterial |
| | | this.queryParam.paintcoatFlag = data.paintcoatFlag |
| | | this.queryParam.toolPattern = data.toolPattern |
| | | this.queryParam.crossSectionalSize = data.crossSectionalSize |
| | | this.queryParam.coolingMethod = data.coolingMethod |
| | | this.queryParam.cuttingDirection = data.cuttingDirection |
| | | this.queryParam.technicalConditions = data.technicalConditions |
| | | this.queryParam.conditionsInfo = data.conditionsInfo |
| | | this.queryParam.toolModel = data.toolModel |
| | | this.queryParam.shortCalled = data.shortCalled |
| | | this.queryParam.groupCompanyCode = data.groupCompanyCode |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'toolModel', |
| | | 'partMaterial', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'brand', |
| | | 'paintcoatFlag', |
| | | 'headSpecifications', |
| | | 'matchingNumber', |
| | | 'knifeClipModel', |
| | | 'leadAngle', |
| | | 'crossSectionalSize', |
| | | 'knifeSize', |
| | | 'bladePosterior', |
| | | 'accuracyClass', |
| | | 'cuttingDirection', |
| | | 'toolMaterial', |
| | | 'toolPattern', |
| | | 'types', |
| | | 'coolingMethod', |
| | | 'fasteningForm', |
| | | 'holderCategory', |
| | | 'bladeShape', |
| | | 'clampingMethod', |
| | | 'barDirection', |
| | | 'smallTotalLength', |
| | | 'bigTotalLength', |
| | | 'smallBoringBarDiameter', |
| | | 'bigBoringBarDiameter', |
| | | 'smallBladeLength', |
| | | 'bigBladeLength', |
| | | 'smallToolDiameter', |
| | | 'bigToolDiameter', |
| | | 'smallBladeHeight', |
| | | 'bigBladeHeight', |
| | | 'smallBladeWide', |
| | | 'bigBladeWide', |
| | | 'smallBladeSize', |
| | | 'bigBladeSize', |
| | | 'smallSlotWidth', |
| | | 'bigSlotWidth', |
| | | 'smallSmallDiameter', |
| | | 'bigSmallDiameter', |
| | | 'smallMaxDiameter', |
| | | 'bigMaxDiameter', |
| | | 'smallMaxDepth', |
| | | 'bigMaxDepth', |
| | | 'smallMinDiameter', |
| | | 'bigMinDiameter', |
| | | 'smallBladeThickness', |
| | | 'bigBladeThickness' |
| | | ] |
| | | fields.forEach((field) => { |
| | | this.queryParam[field] = data[field] |
| | | }) |
| | | this.loadData() |
| | | }, |
| | | }, |
| | |
| | | edit(record) { |
| | | this.editable = true |
| | | this.model = Object.assign({}, record) |
| | | this.chineseNameChange1 = record.chineseName |
| | | this.toolModelChange1 = '-'+record.toolModel |
| | | this.bladeShapeChange1 = '-'+record.bladeShape |
| | | this.bladeLengthChange1 = '-'+record.bladeLength |
| | | this.cuttingEdgeCountChange1 = '-'+record.cuttingEdgeCount |
| | | this.noseAngleRChange1 = '-'+record.noseAngleR |
| | | //éè¿idæ¥è¯¢ç®¡çåæ°ååæ°æ°æ® |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | |
| | | <template> |
| | | <j-modal |
| | | :title="title" |
| | | :width="800" |
| | | :width="1200" |
| | | :visible="visible" |
| | | centered |
| | | :confirmLoading="confirmLoading" |
| | |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form-model ref="form" :model="model" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" label="䏿åç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥ä¸æåç§°'" |
| | | v-model="model.chineseName" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" label="夿åç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥å¤æåç§°'" |
| | | v-model="model.foreignLanguageName" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="shortCalled" label="å·¥å
·ç®ç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" v-model="model.shortCalled" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanyCode" label="éå¢å
¬å¸ç¼ç "> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" v-model="model.groupCompanyCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanySign" label="æ è®°"> |
| | | <a-input :placeholder="'请è¾å
¥æ è®°'" v-model="model.groupCompanySign" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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-input :placeholder="'请è¾å
¥æ å级å«'" v-model="model.standardLevel" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="'请è¾å
¥æ åå·'" v-model="model.standardCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" label="åå·/å¾å·"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥åå·/å¾å·'" |
| | | v-model="model.toolModel" |
| | | /> |
| | | <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="bladeShape"> |
| | | <a-input |
| | | v-model="model.bladeShape" |
| | | :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="bladeLength"> |
| | | <a-input |
| | | v-model="model.bladeLength" |
| | | :placeholder="'请è¾å
¥åçé¿åº¦'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="åååæ°" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="cuttingEdgeCount"> |
| | | <a-input |
| | | v-model="model.cuttingEdgeCount" |
| | | :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="bladeThickness"> |
| | | <a-input |
| | | v-model="model.bladeThickness" |
| | | :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-col :span="8"> |
| | | <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-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="clampingType"> |
| | | <a-input |
| | | v-model="model.clampingType" |
| | | :placeholder="'请è¾å
¥å¤¹åºåå¼'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item |
| | | label="åå°R" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="noseAngleR" |
| | | > |
| | | <a-input |
| | | v-model="model.noseAngleR" |
| | | :placeholder="'请è¾å
¥åå°R'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="technicalConditions" |
| | | > |
| | | <a-input |
| | | v-model="model.technicalConditions" |
| | | :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶'" |
| | | ></a-input> |
| | | <a-input v-model="model.technicalConditions" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶è¯´æ" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="conditionsInfo" |
| | | > |
| | | <a-input |
| | | v-model="model.conditionsInfo" |
| | | :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶è¯´æ'" |
| | | ></a-input> |
| | | <a-input v-model="model.conditionsInfo" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶è¯´æ'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åç" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="brand"> |
| | | <a-input v-model="model.brand" :placeholder="'请è¾å
¥åç'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æ¶å±æè´¨" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="coatingMaterial"> |
| | | <a-input v-model="model.coatingMaterial" :placeholder="'请è¾å
¥æ¶å±æè´¨'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å å·¥åç±»" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="processingClassify"> |
| | | <a-input v-model="model.processingClassify" :placeholder="'请è¾å
¥å å·¥åç±»'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åçåè§" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bladePosterior"> |
| | | <a-input v-model="model.bladePosterior" :placeholder="'请è¾å
¥åçåè§'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åç尺寸" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bladeSize"> |
| | | <a-input v-model="model.bladeSize" :placeholder="'请è¾å
¥åç尺寸'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åååæ°" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="cuttingEdgeCount"> |
| | | <a-input v-model="model.cuttingEdgeCount" :placeholder="'请è¾å
¥åååæ°'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå°R" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="noseAngleR"> |
| | | <a-input v-model="model.noseAngleR" :placeholder="'请è¾å
¥åå°R'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="çåè§åº¦" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="dentalAngle"> |
| | | <a-input v-model="model.dentalAngle" :placeholder="'请è¾å
¥çåè§åº¦'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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="8"> |
| | | <a-form-model-item label="精度ç级" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="accuracyClass"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.accuracyClass" |
| | | :triggerChange="true" |
| | | dictCode="accuracy_class" |
| | | placeholder="è¯·éæ©ç²¾åº¦ç级" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åçå½¢ç¶" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bladeShape"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.bladeShape" |
| | | :triggerChange="true" |
| | | dictCode="blade_shape" |
| | | placeholder="è¯·éæ©åçå½¢ç¶" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="夹åºåå¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="clampingType"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.clampingType" |
| | | :triggerChange="true" |
| | | dictCode="clamping_type" |
| | | placeholder="è¯·éæ©å¤¹åºåå¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åçææ" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolMaterial"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolMaterial" |
| | | :triggerChange="true" |
| | | dictCode="tool_material" |
| | | placeholder="è¯·éæ©åçææ" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <a-form-model-item label="å¶å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="types"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.types" |
| | | :triggerChange="true" |
| | | dictCode="types" |
| | | placeholder="è¯·éæ©å¶å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="ååæ¹å" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="cuttingDirection"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.cuttingDirection" |
| | | :triggerChange="true" |
| | | dictCode="cutting_direction" |
| | | placeholder="è¯·éæ©ååæ¹å" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å
å¤èºçº¹" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="inOutThread"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.inOutThread" |
| | | :triggerChange="true" |
| | | dictCode="in_out_thread" |
| | | placeholder="è¯·éæ©å
å¤èºçº¹" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="èºçº¹æ å" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="threadStandard"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.threadStandard" |
| | | :triggerChange="true" |
| | | dictCode="thread_standard" |
| | | placeholder="è¯·éæ©èºçº¹æ å" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åçé¿åº¦"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallBladeLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigBladeLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åçå度"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallBladeThickness"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigBladeThickness"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åç宽度"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallBladeWide"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigBladeWide"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="æå°å å·¥å
èºçº¹å
¬ç§°ç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallMinInternalThread"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigMinInternalThread"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | </a-form-model> |
| | | </a-spin> |
| | | <template slot="footer"> |
| | |
| | | }, |
| | | |
| | | 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.bladeShape = this.model.bladeShape |
| | | this.searchParams.bladeLength = this.model.bladeLength |
| | | this.searchParams.cuttingEdgeCount = this.model.cuttingEdgeCount |
| | | this.searchParams.bladeThickness = this.model.bladeThickness |
| | | this.searchParams.toolMaterial = this.model.toolMaterial |
| | | this.searchParams.partMaterial = this.model.partMaterial |
| | | this.searchParams.paintcoatFlag = this.model.paintcoatFlag |
| | | this.searchParams.clampingType = this.model.clampingType |
| | | this.searchParams.noseAngleR = this.model.noseAngleR |
| | | 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 |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'toolModel', |
| | | 'partMaterial', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'brand', |
| | | 'coatingMaterial', |
| | | 'processingClassify', |
| | | 'bladePosterior', |
| | | 'bladeSize', |
| | | 'cuttingEdgeCount', |
| | | 'noseAngleR', |
| | | 'dentalAngle', |
| | | 'pitch', |
| | | 'accuracyClass', |
| | | 'bladeShape', |
| | | 'clampingType', |
| | | 'toolMaterial', |
| | | 'paintcoatFlag', |
| | | 'types', |
| | | 'cuttingDirection', |
| | | 'inOutThread', |
| | | 'threadStandard', |
| | | 'smallBladeLength', |
| | | 'bigBladeLength', |
| | | 'smallBladeThickness', |
| | | 'bigBladeThickness', |
| | | 'smallBladeWide', |
| | | 'bigBladeWide', |
| | | 'smallMinInternalThread', |
| | | 'bigMinInternalThread' |
| | | ] |
| | | fields.forEach((field) => { |
| | | this.searchParams[field] = this.model[field] |
| | | }) |
| | | this.close() |
| | | this.$emit('searchParams',this.searchParams) |
| | | }, |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | this.chineseNameChange1 = record.chineseName |
| | | this.toolModelChange1 = '-'+record.toolModel |
| | | this.diameterChange1 = '-'+record.diameter |
| | | this.totalLengthChange1 = '-'+record.totalLength |
| | | //éè¿idæ¥è¯¢ç®¡çåæ°ååæ°æ°æ® |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | |
| | | <template> |
| | | <j-modal |
| | | :title="title" |
| | | :width="800" |
| | | :width="1200" |
| | | :visible="visible" |
| | | centered |
| | | :confirmLoading="confirmLoading" |
| | |
| | | cancelText="å
³é" |
| | | > |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form-model ref="form" :model="model" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-form-model ref="form" :model="model" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" label="䏿åç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥ä¸æåç§°'" |
| | | v-model="model.chineseName" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" label="夿åç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥å¤æåç§°'" |
| | | v-model="model.foreignLanguageName" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="shortCalled" label="å·¥å
·ç®ç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" v-model="model.shortCalled" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanyCode" label="éå¢å
¬å¸ç¼ç "> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" v-model="model.groupCompanyCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanySign" label="æ è®°"> |
| | | <a-input :placeholder="'请è¾å
¥æ è®°'" v-model="model.groupCompanySign" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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-input :placeholder="'请è¾å
¥æ å级å«'" v-model="model.standardLevel" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="'请è¾å
¥æ åå·'" v-model="model.standardCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" label="åå·/å¾å·"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥åå·/å¾å·'" |
| | | v-model="model.toolModel" |
| | | /> |
| | | <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-col :span="8"> |
| | | <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-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="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-col :span="8"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="technicalConditions" |
| | | > |
| | | <a-input |
| | | v-model="model.technicalConditions" |
| | | :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶'" |
| | | ></a-input> |
| | | <a-input v-model="model.technicalConditions" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶è¯´æ" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="conditionsInfo" |
| | | > |
| | | <a-input |
| | | v-model="model.conditionsInfo" |
| | | :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶è¯´æ'" |
| | | ></a-input> |
| | | <a-input v-model="model.conditionsInfo" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶è¯´æ'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åç" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="brand"> |
| | | <a-input v-model="model.brand" :placeholder="'请è¾å
¥åç'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <a-form-model-item label="å
¬å·®ç级" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toleranceClass"> |
| | | <a-input v-model="model.toleranceClass" :placeholder="'请è¾å
¥å
¬å·®ç级'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="éé
åç-å头-åæ" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="fitterPart" |
| | | > |
| | | <a-input v-model="model.fitterPart" :placeholder="'请è¾å
¥éé
åç-å头-åæ'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æ¥å£å½¢å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="connectorType"> |
| | | <a-input v-model="model.connectorType" :placeholder="'请è¾å
¥æ¥å£å½¢å¼'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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="8"> |
| | | <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 :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æå°ç´å¾" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="smallDiameter"> |
| | | <a-input v-model="model.smallDiameter" :placeholder="'请è¾å
¥æå°ç´å¾'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åè§è§åº¦" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="chamferAngle"> |
| | | <a-input v-model="model.chamferAngle" :placeholder="'请è¾å
¥åè§è§åº¦'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="ææå å·¥é¿åº¦" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="effectiveLength" |
| | | > |
| | | <a-input v-model="model.effectiveLength" :placeholder="'请è¾å
¥ææå å·¥é¿åº¦'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="é»å¤´ç´å¾èå´" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="drillDiameterRange" |
| | | > |
| | | <a-input v-model="model.drillDiameterRange" :placeholder="'请è¾å
¥é»å¤´ç´å¾èå´ '"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åæç´å¾" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="knifeDiameter"> |
| | | <a-input v-model="model.knifeDiameter" :placeholder="'请è¾å
¥åæç´å¾'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå¾" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="boreDiameter"> |
| | | <a-input v-model="model.boreDiameter" :placeholder="'请è¾å
¥åå¾'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="æ¥å£æ§½é¿è§æ ¼" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="slotSpecification" |
| | | > |
| | | <a-input v-model="model.slotSpecification" :placeholder="'请è¾å
¥æ¥å£æ§½é¿è§æ ¼'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å头æ°" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="headsNumber"> |
| | | <a-input v-model="model.headsNumber" :placeholder="'请è¾å
¥å头æ°'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="éé
å座" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="adaptHolder"> |
| | | <a-input v-model="model.adaptHolder" :placeholder="'请è¾å
¥éé
å座'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="导åé¿åº¦" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="guidanceLength"> |
| | | <a-input v-model="model.guidanceLength" :placeholder="'请è¾å
¥å¯¼åé¿åº¦'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="导åç´å¾" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="guidanceDiameter"> |
| | | <a-input v-model="model.guidanceDiameter" :placeholder="'请è¾å
¥å¯¼åç´å¾'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="精度ç级" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="accuracyClass"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.accuracyClass" |
| | | :triggerChange="true" |
| | | dictCode="accuracy_class" |
| | | placeholder="è¯·éæ©ç²¾åº¦ç级" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå
·ææ" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolMaterial"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolMaterial" |
| | | :triggerChange="true" |
| | | dictCode="tool_material" |
| | | placeholder="è¯·éæ©åå
·ææ" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <a-form-model-item label="åå
·åå¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolPattern"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolPattern" |
| | | :triggerChange="true" |
| | | dictCode="tool_pattern" |
| | | placeholder="è¯·éæ©åå
·åå¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å·å´æ¹å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="coolingMethod"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.coolingMethod" |
| | | :triggerChange="true" |
| | | dictCode="cooling_method" |
| | | placeholder="è¯·éæ©å·å´æ¹å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å¶å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="types"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.types" |
| | | :triggerChange="true" |
| | | dictCode="types" |
| | | placeholder="è¯·éæ©å¶å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æå±æ§½å½¢å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="fluteForm"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.fluteForm" |
| | | :triggerChange="true" |
| | | dictCode="flute_form" |
| | | placeholder="è¯·éæ©æå±æ§½å½¢å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æé¨å½¢å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="handleForm"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.handleForm" |
| | | :triggerChange="true" |
| | | dictCode="handle_form" |
| | | placeholder="è¯·éæ©æé¨å½¢å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="éç¨èå´" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="scopeOfApplication"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.scopeOfApplication" |
| | | :triggerChange="true" |
| | | dictCode="scope_of_application" |
| | | placeholder="è¯·éæ©éç¨èå´" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å å·¥æ¹å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="processingmethod"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.processingmethod" |
| | | :triggerChange="true" |
| | | dictCode="processingmethod" |
| | | placeholder="è¯·éæ©å å·¥æ¹å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-item label="ç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.littleDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åååé¿"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallEdgeLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigEdgeLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åå
·æ»é¿"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallTotalLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigTotalLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-item label="æå°éåç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallLatestBoringDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigLatestBoringDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="æå¤§éåç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallMaxBoringDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigMaxBoringDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | </a-form-model> |
| | | </a-spin> |
| | | <template slot="footer"> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import JDictSelectTag from '@/components/dict/JDictSelectTag' |
| | | |
| | | export default { |
| | | name: 'ParaHoleToolsSearchModal', |
| | | components: { |
| | | JDictSelectTag, |
| | | }, |
| | | data() { |
| | | return { |
| | | title: 'å·¥å
·ä¿¡æ¯-é«çº§æ¥è¯¢', |
| | |
| | | xs: { span: 24 }, |
| | | sm: { span: 14 }, |
| | | }, |
| | | searchParams:{} |
| | | searchParams: {}, |
| | | } |
| | | }, |
| | | created() { |
| | | }, |
| | | mounted() { |
| | | |
| | | }, |
| | | created() {}, |
| | | mounted() {}, |
| | | methods: { |
| | | show() { |
| | | this.visible = true |
| | |
| | | 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 |
| | | |
| | | searchQuery() { |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'coneAngle', |
| | | 'edgeLength', |
| | | 'totalLength', |
| | | 'toolMaterial', |
| | | 'partMaterial', |
| | | 'paintcoatFlag', |
| | | 'toolPattern', |
| | | 'handleSpecifications', |
| | | 'coolingMethod', |
| | | 'bladeCount', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'toolModel', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'brand', |
| | | 'toleranceClass', |
| | | 'fitterPart', |
| | | 'connectorType', |
| | | 'smallDiameter', |
| | | 'chamferAngle', |
| | | 'effectiveLength', |
| | | 'drillDiameterRange', |
| | | 'knifeDiameter', |
| | | 'boreDiameter', |
| | | 'slotSpecification', |
| | | 'headsNumber', |
| | | 'adaptHolder', |
| | | 'guidanceLength', |
| | | 'guidanceDiameter', |
| | | 'accuracyClass', |
| | | 'types', |
| | | 'fluteForm', |
| | | 'handleForm', |
| | | 'scopeOfApplication', |
| | | 'processingmethod', |
| | | 'littleDiameter', |
| | | 'bigDiameter', |
| | | 'smallEdgeLength', |
| | | 'bigEdgeLength', |
| | | 'smallTotalLength', |
| | | 'bigTotalLength', |
| | | 'smallLatestBoringDiameter', |
| | | 'bigLatestBoringDiameter', |
| | | 'smallMaxBoringDiameter', |
| | | 'bigMaxBoringDiameter' |
| | | ]; |
| | | |
| | | fields.forEach(field => { |
| | | this.searchParams[field] = this.model[field]; |
| | | }); |
| | | // 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) |
| | | this.$emit('searchParams', this.searchParams) |
| | | }, |
| | | searchReset(){ |
| | | searchReset() { |
| | | this.model = {} |
| | | } |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | this.chineseNameChange1 = record.chineseName |
| | | this.toolModelChange1 = '-'+record.toolModel |
| | | this.diameterChange1 = '-'+record.diameter |
| | | this.totalLengthChange1 = '-'+record.totalLength |
| | | this.noseAngleRChange1 = '-' + record.noseAngleR |
| | | //éè¿idæ¥è¯¢ç®¡çåæ°ååæ°æ°æ® |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | |
| | | <template> |
| | | <j-modal |
| | | :title="title" |
| | | :width="800" |
| | | :width="1200" |
| | | :visible="visible" |
| | | centered |
| | | :confirmLoading="confirmLoading" |
| | |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form-model ref="form" :model="model" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" label="䏿åç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥ä¸æåç§°'" |
| | | v-model="model.chineseName" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" label="夿åç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥å¤æåç§°'" |
| | | v-model="model.foreignLanguageName" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="shortCalled" label="å·¥å
·ç®ç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" v-model="model.shortCalled" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanyCode" label="éå¢å
¬å¸ç¼ç "> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" v-model="model.groupCompanyCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanySign" label="æ è®°"> |
| | | <a-input :placeholder="'请è¾å
¥æ è®°'" v-model="model.groupCompanySign" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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-input :placeholder="'请è¾å
¥æ å级å«'" v-model="model.standardLevel" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="'请è¾å
¥æ åå·'" v-model="model.standardCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" label="åå·/å¾å·"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥åå·/å¾å·'" |
| | | v-model="model.toolModel" |
| | | /> |
| | | <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="numberOfTeeth"> |
| | | <a-input |
| | | v-model="model.numberOfTeeth" |
| | | :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-col :span="8"> |
| | | <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-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="toolPattern"> |
| | | <a-input |
| | | v-model="model.toolPattern" |
| | | :placeholder="'请è¾å
¥åå
·åå¼'" |
| | | ></a-input> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <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-col :span="8"> |
| | | <a-form-model-item label="åç" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="brand"> |
| | | <a-input v-model="model.brand" :placeholder="'请è¾å
¥åç'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="è£
å¤¹è§æ ¼" |
| | | :labelCol="labelCol" |
| | |
| | | ></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-col :span="8"> |
| | | <a-form-model-item |
| | | label="æ¥å£å°ºå¯¸è§æ ¼" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="sizeSpecifications" |
| | | > |
| | | <a-input |
| | | v-model="model.coolingMethod" |
| | | :placeholder="'请è¾å
¥å·å´æ¹å¼'" |
| | | v-model="model.sizeSpecifications" |
| | | :placeholder="'请è¾å
¥æ¥å£å°ºå¯¸è§æ ¼'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="éé
åç" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="adaptBlade" |
| | | > |
| | | <a-input |
| | | v-model="model.adaptBlade" |
| | | :placeholder="'请è¾å
¥éé
åç'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå°è§R" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="noseAngleR"> |
| | | <a-input |
| | | v-model="model.noseAngleR" |
| | |
| | | ></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-col :span="8"> |
| | | <a-form-model-item label="åå°è§C" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="noseAngleC"> |
| | | <a-input |
| | | v-model="model.technicalConditions" |
| | | :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶'" |
| | | v-model="model.noseAngleC" |
| | | :placeholder="'请è¾å
¥åå°è§C'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶è¯´æ" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="conditionsInfo" |
| | | > |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå°è§å
R" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="angleInsideR"> |
| | | <a-input |
| | | v-model="model.conditionsInfo" |
| | | :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶è¯´æ'" |
| | | v-model="model.angleInsideR" |
| | | :placeholder="'请è¾å
¥åå°è§å
R'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="齿æ°" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="numberOfTeeth"> |
| | | <a-input |
| | | v-model="model.numberOfTeeth" |
| | | :placeholder="'请è¾å
¥é½¿æ°'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æå°ç´å¾" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="smallDiameter"> |
| | | <a-input |
| | | v-model="model.smallDiameter" |
| | | :placeholder="'请è¾å
¥æå°ç´å¾'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå
·è§åº¦" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolAngle"> |
| | | <a-input |
| | | v-model="model.toolAngle" |
| | | :placeholder="'请è¾å
¥åå
·è§åº¦'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="主åè§K" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="mainAngleK"> |
| | | <a-input |
| | | v-model="model.mainAngleK" |
| | | :placeholder="'请è¾å
¥ä¸»åè§K'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æå¤§åæ·±" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="deepestDepth"> |
| | | <a-input |
| | | v-model="model.deepestDepth" |
| | | :placeholder="'请è¾å
¥æå¤§åæ·±'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æå°å å·¥ç´å¾" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="recentlyDiameter"> |
| | | <a-input |
| | | v-model="model.recentlyDiameter" |
| | | :placeholder="'请è¾å
¥æå°å å·¥ç´å¾'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="精度ç级" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="accuracyClass"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.accuracyClass" |
| | | :triggerChange="true" |
| | | dictCode="accuracy_class" |
| | | placeholder="è¯·éæ©ç²¾åº¦ç级" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå
·ææ" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolMaterial"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolMaterial" |
| | | :triggerChange="true" |
| | | dictCode="tool_material" |
| | | placeholder="è¯·éæ©åå
·ææ" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å·å´æ¹å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="coolingMethod"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.coolingMethod" |
| | | :triggerChange="true" |
| | | dictCode="cooling_method" |
| | | placeholder="è¯·éæ©å·å´æ¹å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <a-form-model-item label="åå
·åå¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolPattern"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolPattern" |
| | | :triggerChange="true" |
| | | dictCode="tool_pattern" |
| | | placeholder="è¯·éæ©åå
·åå¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æé¨å½¢å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="handleForm"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.handleForm" |
| | | :triggerChange="true" |
| | | dictCode="handle_form" |
| | | placeholder="è¯·éæ©æé¨å½¢å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æé¢å½¢å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="handleNeckForm"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.handleNeckForm" |
| | | :triggerChange="true" |
| | | dictCode="handle_neck_form" |
| | | placeholder="è¯·éæ©æé¢å½¢å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å
å¤èºçº¹" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="numberPatterns"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.numberPatterns" |
| | | :triggerChange="true" |
| | | dictCode="number_patterns" |
| | | placeholder="è¯·éæ©å
å¤èºçº¹" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="é£å头形å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="millingHeadForm"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.millingHeadForm" |
| | | :triggerChange="true" |
| | | dictCode="milling_head_form" |
| | | placeholder="è¯·éæ©é£å头形å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åååå½¢å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="cuttingEdgeForm"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.cuttingEdgeForm" |
| | | :triggerChange="true" |
| | | dictCode="cutting_edge_form" |
| | | placeholder="è¯·éæ©åååå½¢å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åå
·ç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.littleDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åååé¿"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallEdgeLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigEdgeLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åå
·æ»é¿"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallTotalLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigTotalLength"></a-input> |
| | | </a-form-item> |
| | | </a-col><a-col :span="8"> |
| | | <a-form-item label="é¢å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallNeckDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigNeckDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-item label="æé¿"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallHandleLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigHandleLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="æé¢é¿åº¦"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallHandleNeckLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigHandleNeckLength"></a-input> |
| | | </a-form-item> |
| | | </a-col><a-col :span="8"> |
| | | <a-form-item label="æ¬ä¼¸é¿åº¦"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallOverhangingLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigOverhangingLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form-model> |
| | |
| | | }, |
| | | |
| | | 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.noseAngleR = this.model.noseAngleR |
| | | 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.clampingSpecifications = this.model.clampingSpecifications |
| | | this.searchParams.coolingMethod = this.model.coolingMethod |
| | | this.searchParams.numberOfTeeth = this.model.numberOfTeeth |
| | | 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 |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'toolModel', |
| | | 'partMaterial', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'brand', |
| | | 'clampingSpecifications', |
| | | 'sizeSpecifications', |
| | | 'adaptBlade', |
| | | 'noseAngleR', |
| | | 'noseAngleC', |
| | | 'angleInsideR', |
| | | 'numberOfTeeth', |
| | | 'smallDiameter', |
| | | 'toolAngle', |
| | | 'mainAngleK', |
| | | 'deepestDepth', |
| | | 'pitch', |
| | | 'recentlyDiameter', |
| | | 'accuracyClass', |
| | | 'toolMaterial', |
| | | 'coolingMethod', |
| | | 'paintcoatFlag', |
| | | 'toolPattern', |
| | | 'handleForm', |
| | | 'handleNeckForm', |
| | | 'numberPatterns', |
| | | 'millingHeadForm', |
| | | 'cuttingEdgeForm', |
| | | 'littleDiameter', |
| | | 'bigDiameter', |
| | | 'smallEdgeLength', |
| | | 'bigEdgeLength', |
| | | 'smallTotalLength', |
| | | 'bigTotalLength', |
| | | 'smallNeckDiameter', |
| | | 'bigNeckDiameter', |
| | | 'smallHandleLength', |
| | | 'bigHandleLength', |
| | | 'smallHandleNeckLength', |
| | | 'bigHandleNeckLength', |
| | | 'smallOverhangingLength', |
| | | 'bigOverhangingLength' |
| | | ] |
| | | fields.forEach((field) => { |
| | | this.searchParams[field] = this.model[field] |
| | | }) |
| | | this.close() |
| | | this.$emit('searchParams',this.searchParams) |
| | | }, |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | this.chineseNameChange1 = record.chineseName |
| | | this.toolModelChange1 = '-'+record.toolModel |
| | | this.threadCodeChange1 = '-'+record.threadCode |
| | | this.pitchChange1 = '-'+record.pitch |
| | | //éè¿idæ¥è¯¢ç®¡çåæ°ååæ°æ°æ® |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | |
| | | <template> |
| | | <j-modal |
| | | :title="title" |
| | | :width="800" |
| | | :width="1200" |
| | | :visible="visible" |
| | | centered |
| | | :confirmLoading="confirmLoading" |
| | |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form-model ref="form" :model="model" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <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-col :span="8"> |
| | | <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-input :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" v-model="model.shortCalled" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanyCode" label="éå¢å
¬å¸ç¼ç "> |
| | | <a-input :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" v-model="model.groupCompanyCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanySign" label="æ è®°"> |
| | | <a-input :placeholder="'请è¾å
¥æ è®°'" v-model="model.groupCompanySign" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <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-col :span="8"> |
| | | <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-col :span="8"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶" |
| | | :labelCol="labelCol" |
| | |
| | | <a-input v-model="model.technicalConditions" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶è¯´æ" |
| | | :labelCol="labelCol" |
| | |
| | | > |
| | | <a-input v-model="model.conditionsInfo" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶è¯´æ'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åç" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="brand"> |
| | | <a-input v-model="model.brand" :placeholder="'请è¾å
¥åç'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <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="8"> |
| | | <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-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <a-form-model-item label="导å尺寸" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="guidingSize"> |
| | | <a-input v-model="model.guidingSize" :placeholder="'请è¾å
¥å¯¼å尺寸'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="è¿æ¥åå¾" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="connectionAperture"> |
| | | <a-input v-model="model.connectionAperture" :placeholder="'请è¾å
¥è¿æ¥åå¾'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="è¿æ¥é®æ§½" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="connectingKeyway"> |
| | | <a-input v-model="model.connectingKeyway" :placeholder="'请è¾å
¥è¿æ¥é®æ§½'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="精度ç级" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="accuracyClass"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.accuracyClass" |
| | | :triggerChange="true" |
| | | dictCode="accuracy_class" |
| | | placeholder="è¯·éæ©ç²¾åº¦ç级" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="èºçº¹æå" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="rotationDirection"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.rotationDirection" |
| | | :triggerChange="true" |
| | | dictCode="rotation_direction" |
| | | placeholder="è¯·éæ©èºçº¹æå" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <a-form-model-item label="åå
·ææ" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolMaterial"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolMaterial" |
| | | :triggerChange="true" |
| | | dictCode="tool_material" |
| | | placeholder="è¯·éæ©åå
·ææ" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å·å´æ¹å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="coolingMethod"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.coolingMethod" |
| | | :triggerChange="true" |
| | | dictCode="cooling_method" |
| | | placeholder="è¯·éæ©å·å´æ¹å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å¶å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="types"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.types" |
| | | :triggerChange="true" |
| | | dictCode="types" |
| | | placeholder="è¯·éæ©å¶å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="èºåç±»å" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="screwHoleType"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.screwHoleType" |
| | | :triggerChange="true" |
| | | dictCode="screw_hole_type" |
| | | placeholder="è¯·éæ©èºåç±»å" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="èºçº¹æ å" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="threadStandard"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.threadStandard" |
| | | :triggerChange="true" |
| | | dictCode="thread_standard" |
| | | placeholder="è¯·éæ©èºçº¹æ å" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æå±æ§½å" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="fluteSoltType"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.fluteSoltType" |
| | | :triggerChange="true" |
| | | dictCode="flute_solt_type" |
| | | placeholder="è¯·éæ©æå±æ§½å" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="å¤å尺寸"> |
| | | <a-input |
| | | placeholder="请è¾å
¥æå°å¼" |
| | | class="query-group-cust" |
| | | v-model="model.smallExternalDimensions" |
| | | ></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input |
| | | placeholder="请è¾å
¥æå¤§å¼" |
| | | class="query-group-cust" |
| | | v-model="model.bigExternalDimensions" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åååé¿"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallEdgeLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigEdgeLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åå
·æ»é¿"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallTotalLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigTotalLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form-model> |
| | |
| | | }, |
| | | |
| | | 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 |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'toolModel', |
| | | 'partMaterial', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'brand', |
| | | 'threadCode', |
| | | 'tolerancezoneLevel', |
| | | 'pitch', |
| | | 'handleSpecifications', |
| | | 'guidingSize', |
| | | 'connectionAperture', |
| | | 'connectingKeyway', |
| | | 'accuracyClass', |
| | | 'rotationDirection', |
| | | 'paintcoatFlag', |
| | | 'toolMaterial', |
| | | 'coolingMethod', |
| | | 'types', |
| | | 'screwHoleType', |
| | | 'threadStandard', |
| | | 'fluteSoltType', |
| | | 'smallExternalDimensions', |
| | | 'bigExternalDimensions', |
| | | 'smallEdgeLength', |
| | | 'bigEdgeLength', |
| | | 'smallTotalLength', |
| | | 'bigTotalLength' |
| | | ] |
| | | |
| | | fields.forEach((field) => { |
| | | this.searchParams[field] = this.model[field] |
| | | }) |
| | | |
| | | this.close() |
| | | this.$emit('searchParams', this.searchParams) |
| | | }, |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | this.chineseNameChange1 = record.chineseName |
| | | this.toolModelChange1 = '-'+record.toolModel |
| | | this.headSpecificationsChange1 = '-'+record.headSpecifications |
| | | this.leadAngleChange1 = '-'+record.leadAngle |
| | | //éè¿idæ¥è¯¢ç®¡çåæ°ååæ°æ°æ® |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | |
| | | <template> |
| | | <j-modal |
| | | :title="title" |
| | | :width="800" |
| | | :width="1200" |
| | | :visible="visible" |
| | | centered |
| | | :confirmLoading="confirmLoading" |
| | |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form-model ref="form" :model="model" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" label="䏿åç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥ä¸æåç§°'" |
| | | v-model="model.chineseName" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" label="夿åç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥å¤æåç§°'" |
| | | v-model="model.foreignLanguageName" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="shortCalled" label="å·¥å
·ç®ç§°"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥å·¥å
·ç®ç§°'" v-model="model.shortCalled" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanyCode" label="éå¢å
¬å¸ç¼ç "> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | <a-input :placeholder="'请è¾å
¥éå¢å
¬å¸ç¼ç '" v-model="model.groupCompanyCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="groupCompanySign" label="æ è®°"> |
| | | <a-input :placeholder="'请è¾å
¥æ è®°'" v-model="model.groupCompanySign" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <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-input :placeholder="'请è¾å
¥æ å级å«'" v-model="model.standardLevel" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="'请è¾å
¥æ åå·'" v-model="model.standardCode" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" label="åå·/å¾å·"> |
| | | <a-input |
| | | :placeholder="'请è¾å
¥åå·/å¾å·'" |
| | | v-model="model.toolModel" |
| | | /> |
| | | <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="headSpecifications"> |
| | | <a-input |
| | | v-model="model.headSpecifications" |
| | | :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="matchingNumber"> |
| | | <a-input |
| | | v-model="model.matchingNumber" |
| | | :placeholder="'请è¾å
¥é
å¥åçå·'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="主åè§" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leadAngle"> |
| | | <a-input |
| | | v-model="model.leadAngle" |
| | | :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-col :span="8"> |
| | | <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-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="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="crossSectionalSize" |
| | | > |
| | | <a-input |
| | | v-model="model.crossSectionalSize" |
| | | :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="cuttingDirection"> |
| | | <a-input |
| | | v-model="model.cuttingDirection" |
| | | :placeholder="'请è¾å
¥ååæ¹å'" |
| | | ></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <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-row> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="technicalConditions" |
| | | > |
| | | <a-input |
| | | v-model="model.technicalConditions" |
| | | :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶'" |
| | | ></a-input> |
| | | <a-input v-model="model.technicalConditions" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item |
| | | label="éå ææ¯æ¡ä»¶è¯´æ" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | prop="conditionsInfo" |
| | | > |
| | | <a-input |
| | | v-model="model.conditionsInfo" |
| | | :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶è¯´æ'" |
| | | ></a-input> |
| | | <a-input v-model="model.conditionsInfo" :placeholder="'请è¾å
¥éå ææ¯æ¡ä»¶è¯´æ'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åç" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="brand"> |
| | | <a-input v-model="model.brand" :placeholder="'请è¾å
¥åç'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå¤´è§æ ¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="headSpecifications"> |
| | | <a-input v-model="model.headSpecifications" :placeholder="'请è¾å
¥åå¤´è§æ ¼'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="é
å¥åçå·" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="matchingNumber"> |
| | | <a-input v-model="model.matchingNumber" :placeholder="'请è¾å
¥é
å¥åçå·'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å夹åå·" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="knifeClipModel"> |
| | | <a-input v-model="model.knifeClipModel" :placeholder="'请è¾å
¥å夹åå·'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="主åè§" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leadAngle"> |
| | | <a-input v-model="model.leadAngle" :placeholder="'请è¾å
¥ä¸»åè§'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå
·æªé¢å°ºå¯¸" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="crossSectionalSize"> |
| | | <a-input v-model="model.crossSectionalSize" :placeholder="'请è¾å
¥åå
·æªé¢å°ºå¯¸'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åç尺寸" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="knifeSize"> |
| | | <a-input v-model="model.knifeSize" :placeholder="'请è¾å
¥åç尺寸'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åçåè§" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bladePosterior"> |
| | | <a-input v-model="model.bladePosterior" :placeholder="'请è¾å
¥åçåè§'"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="精度ç级" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="accuracyClass"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.accuracyClass" |
| | | :triggerChange="true" |
| | | dictCode="accuracy_class" |
| | | placeholder="è¯·éæ©ç²¾åº¦ç级" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="ååæ¹å" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="cuttingDirection"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.cuttingDirection" |
| | | :triggerChange="true" |
| | | dictCode="cutting_direction" |
| | | placeholder="è¯·éæ©ååæ¹å" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå
·ææ" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolMaterial"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolMaterial" |
| | | :triggerChange="true" |
| | | dictCode="tool_material" |
| | | placeholder="è¯·éæ©åå
·ææ" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åå
·åå¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolPattern"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolPattern" |
| | | :triggerChange="true" |
| | | dictCode="tool_pattern" |
| | | placeholder="è¯·éæ©åå
·åå¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å¶å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="types"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.types" |
| | | :triggerChange="true" |
| | | dictCode="types" |
| | | placeholder="è¯·éæ©å¶å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="å·å´æ¹å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="coolingMethod"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.coolingMethod" |
| | | :triggerChange="true" |
| | | dictCode="cooling_method" |
| | | placeholder="è¯·éæ©å·å´æ¹å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="æ¥å£ç´§åºå½¢å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="fasteningForm"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.fasteningForm" |
| | | :triggerChange="true" |
| | | dictCode="fastening_form" |
| | | placeholder="è¯·éæ©æ¥å£ç´§åºå½¢å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åæç±»å«" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="holderCategory"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.holderCategory" |
| | | :triggerChange="true" |
| | | dictCode="holder_category" |
| | | placeholder="è¯·éæ©åæç±»å«" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åçå½¢ç¶" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bladeShape"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.bladeShape" |
| | | :triggerChange="true" |
| | | dictCode="blade_shape" |
| | | placeholder="è¯·éæ©åçå½¢ç¶" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åçè£
夹æ¹å¼" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="clampingMethod"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.clampingMethod" |
| | | :triggerChange="true" |
| | | dictCode="clamping_method" |
| | | placeholder="è¯·éæ©åçè£
夹æ¹å¼" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item label="åææ¹å" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="barDirection"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.barDirection" |
| | | :triggerChange="true" |
| | | dictCode="bar_direction" |
| | | placeholder="è¯·éæ©åææ¹å" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <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-col :span="8"> |
| | | <a-form-item label="åå
·æ»é¿"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallTotalLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigTotalLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="éæç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallBoringBarDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigBoringBarDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åæé¿åº¦"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallBladeLength"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigBladeLength"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åå
·ç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallToolDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigToolDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åæé«åº¦"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallBladeHeight"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigBladeHeight"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åæå°ºå¯¸"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallBladeSize"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigBladeSize"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åçæ§½å®½"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallSlotWidth"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigSlotWidth"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="æå°åå
¥ç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallSmallDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigSmallDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-item label="æå¤§åå
¥ç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallMaxDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigMaxDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="æå¤§å槽深度"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallMaxDepth"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigMaxDepth"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="æå°å å·¥ç´å¾"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallMinDiameter"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigMinDiameter"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åæ¿å度"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallBladeThickness"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigBladeThickness"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-item label="åæå®½åº¦"> |
| | | <a-input placeholder="请è¾å
¥æå°å¼" class="query-group-cust" v-model="model.smallBladeWide"></a-input> |
| | | <span class="query-group-split-cust"></span> |
| | | <a-input placeholder="请è¾å
¥æå¤§å¼" class="query-group-cust" v-model="model.bigBladeWide"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form-model> |
| | |
| | | }, |
| | | |
| | | 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.headSpecifications = this.model.headSpecifications |
| | | this.searchParams.matchingNumber = this.model.matchingNumber |
| | | this.searchParams.leadAngle = this.model.leadAngle |
| | | 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.crossSectionalSize = this.model.crossSectionalSize |
| | | this.searchParams.coolingMethod = this.model.coolingMethod |
| | | this.searchParams.cuttingDirection = this.model.cuttingDirection |
| | | 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 |
| | | const fields = [ |
| | | 'chineseName', |
| | | 'foreignLanguageName', |
| | | 'shortCalled', |
| | | 'groupCompanyCode', |
| | | 'groupCompanySign', |
| | | 'standardLevel', |
| | | 'standardCode', |
| | | 'toolModel', |
| | | 'partMaterial', |
| | | 'technicalConditions', |
| | | 'conditionsInfo', |
| | | 'brand', |
| | | 'headSpecifications', |
| | | 'matchingNumber', |
| | | 'knifeClipModel', |
| | | 'leadAngle', |
| | | 'crossSectionalSize', |
| | | 'knifeSize', |
| | | 'bladePosterior', |
| | | 'accuracyClass', |
| | | 'cuttingDirection', |
| | | 'toolMaterial', |
| | | 'toolPattern', |
| | | 'types', |
| | | 'paintcoatFlag', |
| | | 'coolingMethod', |
| | | 'fasteningForm', |
| | | 'holderCategory', |
| | | 'bladeShape', |
| | | 'clampingMethod', |
| | | 'barDirection', |
| | | 'smallTotalLength', |
| | | 'bigTotalLength', |
| | | 'smallBoringBarDiameter', |
| | | 'bigBoringBarDiameter', |
| | | 'smallBladeLength', |
| | | 'bigBladeLength', |
| | | 'smallToolDiameter', |
| | | 'bigToolDiameter', |
| | | 'smallBladeHeight', |
| | | 'bigBladeHeight', |
| | | 'smallBladeWide', |
| | | 'bigBladeWide', |
| | | 'smallBladeSize', |
| | | 'bigBladeSize', |
| | | 'smallSlotWidth', |
| | | 'bigSlotWidth', |
| | | 'smallSmallDiameter', |
| | | 'bigSmallDiameter', |
| | | 'smallMaxDiameter', |
| | | 'bigMaxDiameter', |
| | | 'smallMaxDepth', |
| | | 'bigMaxDepth', |
| | | 'smallMinDiameter', |
| | | 'bigMinDiameter', |
| | | 'smallBladeThickness', |
| | | 'bigBladeThickness' |
| | | ] |
| | | fields.forEach((field) => { |
| | | this.searchParams[field] = this.model[field] |
| | | }) |
| | | this.close() |
| | | this.$emit('searchParams',this.searchParams) |
| | | }, |
| | |
| | | postAction(this.url.addApplyInStorage, formData) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | that.$message.success(res.message) |
| | | that.$message.success("å
¥åºæå") |
| | | that.$emit('ok', new Date()) |
| | | } else { |
| | | that.$message.warning(res.message) |
| | |
| | | <div class="table-operator"> |
| | | <Tooltip |
| | | placement="top" |
| | | title="éæ©å¶åèç¹ååæ§è¡æ°å¢" |
| | | title="éæ©æ²¡æä¸çº§åç±»çèç¹ååæ§è¡æ°å¢" |
| | | > |
| | | <a-button @click="handleAdd(nodeSelected)" type="primary" icon="plus" :disabled="!nodeSelected.key || nodeSelected.entity.leafFlag === '2'">æ°å¢</a-button> |
| | | </Tooltip> |
| | |
| | | align:"center", |
| | | dataIndex: 'inNumber' |
| | | }, |
| | | // { |
| | | // title:'夿³¨', |
| | | // align:"center", |
| | | // dataIndex: 'remark' |
| | | // }, |
| | | { |
| | | title:'å
¥åºæ¶é´', |
| | | align:"center", |
| | | dataIndex: 'inboundTime' |
| | | }, |
| | | { |
| | | title:'å建人', |
| | | align:"center", |
| | |
| | | this.selectedRowKeys = selectedRowKeys; |
| | | this.selectionRows = selectionRows |
| | | //éè¿idæ¥è¯¢ç®¡çåæ°ååæ°æ°æ® |
| | | getAction(this.url.queryParaByToolCode, { toolCode: this.selectionRows[0].toolCodeId,paraTypeFlag:this.paraTypeFlag}).then((res) => { |
| | | getAction(this.url.queryParaByToolCode, { toolCode: this.selectionRows[0].toolCodeId,paraTypeFlag:this.selectionRows[0].paraTypeFlag}).then((res) => { |
| | | if (res.success) { |
| | | if(this.paraTypeFlag === "1"){ |
| | | if(this.selectionRows[0].paraTypeFlag === "1"){ |
| | | this.$refs.paraCommonToolList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "2"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "2"){ |
| | | this.$refs.paraHoleToolsList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "3"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "3"){ |
| | | this.$refs.paraThreadingToolList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "4"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "4"){ |
| | | this.$refs.paraMillToolList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "5"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "5"){ |
| | | this.$refs.paraTurningToolsList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "6"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "6"){ |
| | | this.$refs.paraBladeList.getPara(res.result); |
| | | } |
| | | } else { |
| | |
| | | })); |
| | | this.handleBacthPrint(); |
| | | }else{ |
| | | that.$message.success("ä¿åæå") |
| | | that.$message.success("å
¥åºæå") |
| | | } |
| | | that.$emit('ok', new Date()) |
| | | } else { |
| | |
| | | loading: false, |
| | | url: { |
| | | // list: '/base/tooling/list', |
| | | list: '/tms/baseTools/selectToolList', |
| | | list: '/tms/baseTools/paraCommonToolList', |
| | | }, |
| | | } |
| | | }, |
| | |
| | | dataIndex: 'inNumber', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'å
¥åºæ¶é´', |
| | | dataIndex: 'inboundTime', |
| | | align: 'center', |
| | | }, |
| | | ], |
| | | para:{}, |
| | | } |
| | |
| | | forceRender |
| | | > |
| | | <span slot="tab"> |
| | | <a-badge>æå· </a-badge> |
| | | <a-badge>å·¥å
·ç¼å· </a-badge> |
| | | </span> |
| | | <tool-ledger-detail-list ref="toolLedgerDetailList"></tool-ledger-detail-list> |
| | | </a-tab-pane> |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12" v-show="leafFlagShow"> |
| | | <a-form-model-item label="æ¯å¦ä¸ºå¶åèç¹" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group v-model="model.leafFlag" placeholder="è¯·éæ©æ¯å¦å¶åèç¹" @change="leafFlagChange"> |
| | | <a-radio :value="'1'">æ¯</a-radio> |
| | | <a-radio :value="'2'">å¦</a-radio> |
| | | <a-form-model-item label="æ¯å¦æä¸çº§åç±»" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag"> |
| | | <a-radio-group v-model="model.leafFlag" placeholder="è¯·éæ©æ¯å¦æä¸çº§åç±»" @change="leafFlagChange"> |
| | | <a-radio :value="'1'">å¦</a-radio> |
| | | <a-radio :value="'2'">æ¯</a-radio> |
| | | </a-radio-group> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | { required: true, message: '请è¾å
¥å·¥å
·åç±»åç§°!'}, |
| | | ], |
| | | leafFlag: [ |
| | | { required: true, message: 'è¯·éæ©æ¯å¦ä¸ºå¶åèç¹!'}, |
| | | { required: true, message: 'è¯·éæ©æ¯å¦æä¸çº§åç±»!'}, |
| | | ], |
| | | paraTypeFlag: [ |
| | | { required: true, message: 'è¯·éæ©åæ°æ¨¡æ¿!' }, |
| | |
| | | > |
| | | <a-button @click="handleAdd(nodeSelected)" type="primary" icon="plus" :disabled="!nodeSelected.key || nodeSelected.entity.leafFlag === '1'">æ°å¢</a-button> |
| | | </Tooltip> |
| | | <a-button type="primary" icon="download" @click="handleExportXls('å·¥å
·å类信æ¯')">导åº</a-button> |
| | | <!-- <a-button type="primary" icon="download" @click="handleExportXls('å·¥å
·å类信æ¯')">导åº</a-button> |
| | | <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> |
| | | <a-button type="primary" icon="import">导å
¥</a-button> |
| | | </a-upload> |
| | | </a-upload> --> |
| | | </div> |
| | | |
| | | <!-- tableåºå-begin --> |