| | |
| | | }, |
| | | //编辑 |
| | | handleEdit(record) { |
| | | if (record.paramaTableName === '1') { |
| | | if (record.paraTypeFlag === '1') { |
| | | this.$refs.paraCommonToolModal.edit(record) |
| | | this.$refs.paraCommonToolModal.title = '编辑' |
| | | this.$refs.paraCommonToolModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '2') { |
| | | } else if (record.paraTypeFlag === '2') { |
| | | this.$refs.paraHoleToolsModal.edit(record) |
| | | this.$refs.paraHoleToolsModal.title = '编辑' |
| | | this.$refs.paraHoleToolsModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '3') { |
| | | } else if (record.paraTypeFlag === '3') { |
| | | this.$refs.paraThreadingToolModal.edit(record) |
| | | this.$refs.paraThreadingToolModal.title = '编辑' |
| | | this.$refs.paraThreadingToolModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '4') { |
| | | } else if (record.paraTypeFlag === '4') { |
| | | this.$refs.paraMillToolModal.edit(record) |
| | | this.$refs.paraMillToolModal.title = '编辑' |
| | | this.$refs.paraMillToolModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '5') { |
| | | } else if (record.paraTypeFlag === '5') { |
| | | this.$refs.paraTurningToolsModal.edit(record) |
| | | this.$refs.paraTurningToolsModal.title = '编辑' |
| | | this.$refs.paraTurningToolsModal.disableSubmit = false |
| | | } else if (record.paramaTableName === '6') { |
| | | } else if (record.paraTypeFlag === '6') { |
| | | this.$refs.paraBladeModal.edit(record) |
| | | this.$refs.paraBladeModal.title = '编辑' |
| | | this.$refs.paraBladeModal.disableSubmit = false |
| | |
| | | }, |
| | | //详情 |
| | | handleDetail: function (record) { |
| | | if (record.paramaTableName === '1') { |
| | | if (record.paraTypeFlag === '1') { |
| | | this.$refs.paraCommonToolModal.edit(record) |
| | | this.$refs.paraCommonToolModal.title = '详情' |
| | | this.$refs.paraCommonToolModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '2') { |
| | | } else if (record.paraTypeFlag === '2') { |
| | | this.$refs.paraHoleToolsModal.edit(record) |
| | | this.$refs.paraHoleToolsModal.title = '详情' |
| | | this.$refs.paraHoleToolsModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '3') { |
| | | } else if (record.paraTypeFlag === '3') { |
| | | this.$refs.paraThreadingToolModal.edit(record) |
| | | this.$refs.paraThreadingToolModal.title = '详情' |
| | | this.$refs.paraThreadingToolModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '4') { |
| | | } else if (record.paraTypeFlag === '4') { |
| | | this.$refs.paraMillToolModal.edit(record) |
| | | this.$refs.paraMillToolModal.title = '详情' |
| | | this.$refs.paraMillToolModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '5') { |
| | | } else if (record.paraTypeFlag === '5') { |
| | | this.$refs.paraTurningToolsModal.edit(record) |
| | | this.$refs.paraTurningToolsModal.title = '详情' |
| | | this.$refs.paraTurningToolsModal.disableSubmit = true |
| | | } else if (record.paramaTableName === '6') { |
| | | } else if (record.paraTypeFlag === '6') { |
| | | this.$refs.paraBladeModal.edit(record) |
| | | this.$refs.paraBladeModal.title = '详情' |
| | | this.$refs.paraBladeModal.disableSubmit = true |
| | |
| | | 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 |
| | | this.loadData() |
| | | }, |
| | | paraBladeOk(data) { |
| | |
| | | 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 |
| | | this.loadData() |
| | | }, |
| | | paraThreadingToolOk(data) { |
| | |
| | | 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 |
| | | this.loadData() |
| | | }, |
| | | paraMillToolOk(data) { |
| | |
| | | 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 |
| | | this.loadData() |
| | | }, |
| | | paraTurningToolsOk(data) { |
| | |
| | | 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 |
| | | this.loadData() |
| | | }, |
| | | }, |
| | |
| | | url: { |
| | | add: '/tms/baseTools/add', |
| | | edit: '/tms/baseTools/edit', |
| | | queryParaByToolCode: '/tms/baseTools/queryByToolCode', |
| | | }, |
| | | locationCodeOptions: [], |
| | | chineseNameChange1:'', |
| | |
| | | edit(record) { |
| | | this.editable = true |
| | | this.model = Object.assign({}, record) |
| | | //通过id查询管理参数和参数数据 |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | | paraTypeFlag: record.paraTypeFlag, |
| | | }).then((res) => { |
| | | if (res.success) { |
| | | this.model = Object.assign({}, res.result) |
| | | } |
| | | }) |
| | | this.visible = true |
| | | }, |
| | | close() { |
| | |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="shortCalled" label="工具简称"> |
| | | <a-input |
| | | :placeholder="'请输入工具简称'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="groupCompanyCode" label="集团公司编码"> |
| | | <a-input |
| | | :placeholder="'请输入集团公司编码'" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="standardLevel" label="标准级别"> |
| | | <a-input |
| | | :placeholder="'请输入标准级别'" |
| | |
| | | name: 'ParaHoleToolsSearchModal', |
| | | data() { |
| | | return { |
| | | title: '工具信息-高级搜索', |
| | | title: '工具信息-高级查询', |
| | | visible: false, |
| | | confirmLoading: false, |
| | | model: {}, |
| | |
| | | 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) |
| | | }, |
| | |
| | | url: { |
| | | add: '/tms/baseTools/add', |
| | | edit: '/tms/baseTools/edit', |
| | | queryParaByToolCode: '/tms/baseTools/queryByToolCode', |
| | | }, |
| | | locationCodeOptions:[], |
| | | chineseNameChange1:'', |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | //通过id查询管理参数和参数数据 |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | | paraTypeFlag: record.paraTypeFlag, |
| | | }).then((res) => { |
| | | if (res.success) { |
| | | this.model = Object.assign({}, res.result) |
| | | } |
| | | }) |
| | | this.visible = true |
| | | }, |
| | | close() { |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="shortCalled" label="工具简称"> |
| | | <a-input |
| | | :placeholder="'请输入工具简称'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="groupCompanyCode" label="集团公司编码"> |
| | | <a-input |
| | | :placeholder="'请输入集团公司编码'" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="standardLevel" label="标准级别"> |
| | |
| | | name: 'ParaHoleToolsSearchModal', |
| | | data() { |
| | | return { |
| | | title: '工具信息-高级搜索', |
| | | title: '工具信息-高级查询', |
| | | visible: false, |
| | | confirmLoading: false, |
| | | model: {}, |
| | |
| | | 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) |
| | | }, |
| | |
| | | url: { |
| | | add: '/tms/baseTools/add', |
| | | edit: '/tms/baseTools/edit', |
| | | queryParaByToolCode: '/tms/baseTools/queryByToolCode', |
| | | }, |
| | | locationCodeOptions:[], |
| | | chineseNameChange1:'', |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | //通过id查询管理参数和参数数据 |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | | paraTypeFlag: record.paraTypeFlag, |
| | | }).then((res) => { |
| | | if (res.success) { |
| | | this.model = Object.assign({}, res.result) |
| | | } |
| | | }) |
| | | this.visible = true |
| | | }, |
| | | close() { |
| | |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="shortCalled" label="工具简称"> |
| | | <a-input |
| | | :placeholder="'请输入工具简称'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="groupCompanyCode" label="集团公司编码"> |
| | | <a-input |
| | | :placeholder="'请输入集团公司编码'" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="standardLevel" label="标准级别"> |
| | | <a-input |
| | | :placeholder="'请输入标准级别'" |
| | |
| | | name: 'ParaHoleToolsSearchModal', |
| | | data() { |
| | | return { |
| | | title: '工具信息-高级搜索', |
| | | title: '工具信息-高级查询', |
| | | visible: false, |
| | | confirmLoading: false, |
| | | model: {}, |
| | |
| | | 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) |
| | | }, |
| | |
| | | url: { |
| | | add: '/tms/baseTools/add', |
| | | edit: '/tms/baseTools/edit', |
| | | queryParaByToolCode: '/tms/baseTools/queryByToolCode', |
| | | }, |
| | | locationCodeOptions:[], |
| | | chineseNameChange1:'', |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | //通过id查询管理参数和参数数据 |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | | paraTypeFlag: record.paraTypeFlag, |
| | | }).then((res) => { |
| | | if (res.success) { |
| | | this.model = Object.assign({}, res.result) |
| | | } |
| | | }) |
| | | this.visible = true |
| | | }, |
| | | close() { |
| | |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="shortCalled" label="工具简称"> |
| | | <a-input |
| | | :placeholder="'请输入工具简称'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="groupCompanyCode" label="集团公司编码"> |
| | | <a-input |
| | | :placeholder="'请输入集团公司编码'" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="standardLevel" label="标准级别"> |
| | | <a-input :placeholder="'请输入标准级别'" v-model="model.standardLevel" /> |
| | | </a-form-model-item> |
| | |
| | | name: 'ParaHoleToolsSearchModal', |
| | | data() { |
| | | return { |
| | | title: '工具信息-高级搜索', |
| | | title: '工具信息-高级查询', |
| | | visible: false, |
| | | confirmLoading: false, |
| | | model: {}, |
| | |
| | | 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) |
| | | }, |
| | |
| | | url: { |
| | | add: '/tms/baseTools/add', |
| | | edit: '/tms/baseTools/edit', |
| | | queryParaByToolCode: '/tms/baseTools/queryByToolCode', |
| | | }, |
| | | locationCodeOptions:[], |
| | | chineseNameChange1:'', |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | //通过id查询管理参数和参数数据 |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | | paraTypeFlag: record.paraTypeFlag, |
| | | }).then((res) => { |
| | | if (res.success) { |
| | | this.model = Object.assign({}, res.result) |
| | | } |
| | | }) |
| | | this.visible = true |
| | | }, |
| | | close() { |
| | |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="shortCalled" label="工具简称"> |
| | | <a-input |
| | | :placeholder="'请输入工具简称'" |
| | | v-model="model.shortCalled" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="groupCompanyCode" label="集团公司编码"> |
| | | <a-input |
| | | :placeholder="'请输入集团公司编码'" |
| | | v-model="model.groupCompanyCode" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="standardLevel" label="标准级别"> |
| | | <a-input |
| | | :placeholder="'请输入标准级别'" |
| | |
| | | name: 'ParaHoleToolsSearchModal', |
| | | data() { |
| | | return { |
| | | title: '工具信息-高级搜索', |
| | | title: '工具信息-高级查询', |
| | | visible: false, |
| | | confirmLoading: false, |
| | | model: {}, |
| | |
| | | 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) |
| | | }, |
| | |
| | | </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.chineseName"></a-input> |
| | | <a-form-item label="标记"> |
| | | <a-input placeholder="请输入标记,支持模糊查询" v-model="queryParam.groupCompanySign"></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.toolModel"></a-input> |
| | | <a-form-item label="工具简称"> |
| | | <a-input placeholder="请输入工具简称" v-model="queryParam.shortCalled"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | |
| | | dataIndex: 'chineseName', |
| | | }, |
| | | { |
| | | title: '工具简称', |
| | | align: 'center', |
| | | dataIndex: 'shortCalled', |
| | | }, |
| | | { |
| | | title: '标记', |
| | | align: 'center', |
| | | dataIndex: 'groupCompanySign', |
| | | }, |
| | | { |
| | | title: '库位号', |
| | | align: 'center', |
| | | dataIndex: 'positionCode', |
| | |
| | | loading: false, |
| | | url: { |
| | | // list: '/base/tooling/list', |
| | | list: '/tms/baseTools/paraCommonToolList', |
| | | list: '/tms/baseTools/selectToolList', |
| | | }, |
| | | } |
| | | }, |
| | |
| | | <a-input placeholder="请输入工具编码,支持模糊查询" v-model="queryParam.toolCode"></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.groupCompanySign"></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.shortCalled"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button> |
| | | </a-row> |
| | |
| | | dataIndex: 'toolId' |
| | | }, |
| | | { |
| | | title:'可用库存数量', |
| | | title:'型号/图号', |
| | | align:"center", |
| | | dataIndex: 'quantity' |
| | | dataIndex: 'toolModel' |
| | | }, |
| | | { |
| | | title:'所在仓库', |
| | | title:'工具简称', |
| | | align:"center", |
| | | dataIndex: 'warehouseName' |
| | | dataIndex: 'shortCalled' |
| | | }, |
| | | { |
| | | title:'标记', |
| | | align:"center", |
| | | dataIndex: 'groupCompanySign' |
| | | }, |
| | | |
| | | // { |
| | | // title:'可用库存数量', |
| | | // align:"center", |
| | | // dataIndex: 'quantity' |
| | | // }, |
| | | // { |
| | | // title:'所在仓库', |
| | | // align:"center", |
| | | // dataIndex: 'warehouseName' |
| | | // }, |
| | | { |
| | | title:'所在库位号', |
| | | align:"center", |
| | |
| | | loading: false, |
| | | prepareKnifeDetailList:[], |
| | | url: { |
| | | list: '/tms/outboundOrder/selectBorrowOutboundToolPageList' |
| | | list: '/tms/outboundOrder/selectBorrowToolPageList' |
| | | }, |
| | | } |
| | | }, |
| | |
| | | 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 |
| | | this.loadData(1) |
| | | }, |
| | | paraBladeOk(data) { |
| | |
| | | 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 |
| | | this.loadData(1) |
| | | }, |
| | | paraThreadingToolOk(data) { |
| | |
| | | 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 |
| | | this.loadData(1) |
| | | }, |
| | | paraMillToolOk(data) { |
| | |
| | | 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 |
| | | this.loadData(1) |
| | | }, |
| | | paraTurningToolsOk(data) { |
| | |
| | | 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 |
| | | this.loadData(1) |
| | | }, |
| | | }, |