| | |
| | | <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="工单号(任务号)"> |
| | | <j-input placeholder="请输入工单号(任务号)" v-model="queryParam.workOrderCode"></j-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="物料编号"> |
| | | <j-input placeholder="请输入物料编号" v-model="queryParam.materialNumber"></j-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="工单状态"> |
| | | <j-dict-select-tag dictCode="work_order_status" placeholder="请输入工单状态" v-model="queryParam.workOrderStatus"></j-dict-select-tag> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="重发布人"> |
| | | <j-select-user-by-dep placeholder="请输入重发布人" v-model="queryParam.republisher"></j-select-user-by-dep> |
| | | </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> |
| | | <!-- 查询区域-END --> |
| | | |
| | | <!-- 操作按钮区域 --> |
| | | <div class="table-operator"> |
| | | <a-button @click="handleAdd" type="primary" icon="plus">新增</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> |
| | | <!-- 高级查询区域 --> |
| | | <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item> |
| | |
| | | <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button> |
| | | </a-dropdown> |
| | | </div> |
| | | |
| | | <!-- table区域-begin --> |
| | | <div> |
| | | <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> |
| | | <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 |
| | |
| | | } |
| | | }, |
| | | { |
| | | title:'删除标记', |
| | | align:"center", |
| | | dataIndex: 'delFlag' |
| | | }, |
| | | { |
| | | title:'工单号(任务号)', |
| | | align:"center", |
| | | dataIndex: 'workOrderCode' |
| | |
| | | dataIndex: 'planQuantity' |
| | | }, |
| | | { |
| | | title:'产线ID(冗余)', |
| | | title:'产线(冗余)', |
| | | align:"center", |
| | | dataIndex: 'factoryId' |
| | | dataIndex: 'factoryId_dictText' |
| | | }, |
| | | { |
| | | title:'班组ID', |
| | | title:'班组', |
| | | align:"center", |
| | | dataIndex: 'groupId' |
| | | dataIndex: 'groupId_dictText' |
| | | }, |
| | | { |
| | | title:'班次ID(冗余)', |
| | | title:'班次(冗余)', |
| | | align:"center", |
| | | dataIndex: 'shiftId' |
| | | dataIndex: 'shiftId_dictText' |
| | | }, |
| | | { |
| | | title:'排产日期', |
| | |
| | | deleteBatch: "/mesproductionworkorder/mesProductionWorkOrder/deleteBatch", |
| | | exportXlsUrl: "/mesproductionworkorder/mesProductionWorkOrder/exportXls", |
| | | importExcelUrl: "mesproductionworkorder/mesProductionWorkOrder/importExcel", |
| | | |
| | | |
| | | }, |
| | | dictOptions:{}, |
| | | superFieldList:[], |