Commit 55808231eab5125f30019733a2408e0f7f4d5bcc

Authored by 谭毅彬
1 parent cbe19d70

操作查询页/入库单下发页展示优化

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/src/views/system/monitor/OperationLog.vue
... ... @@ -6,7 +6,7 @@
6 6 <a-row :gutter="24">
7 7 <a-col :xl="6" :lg="7" :md="8" :sm="24">
8 8 <a-form-item label="业务ID">
9   - <a-input placeholder="请输入业务ID" v-model="queryParam.bizId"></a-input>
  9 + <j-input placeholder="请输入业务ID" v-model="queryParam.bizId"></j-input>
10 10 </a-form-item>
11 11 </a-col>
12 12 <a-col :xl="6" :lg="7" :md="8" :sm="24">
... ... @@ -19,22 +19,30 @@
19 19 <j-multi-select-tag placeholder="请选择业务标签" v-model="queryParam.bizTag" dictCode="operation_log_tag"/>
20 20 </a-form-item>
21 21 </a-col>
22   - <template v-if="toggleSearchStatus">
23 22 <a-col :xl="6" :lg="7" :md="8" :sm="24">
24 23 <a-form-item label="操作内容">
25 24 <j-input placeholder="请输入操作内容" v-model="queryParam.operationMsg"></j-input>
26 25 </a-form-item>
27 26 </a-col>
28   - </template>
  27 + <a-col :xl="10" :lg="11" :md="12" :sm="24">
  28 + <a-form-item label="创建日期">
  29 + <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择开始时间"
  30 + class="query-group-cust" v-model="queryParam.operationTime_begin"></j-date>
  31 + <span class="query-group-split-cust"></span>
  32 + <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择结束时间"
  33 + class="query-group-cust" v-model="queryParam.operationTime_end"></j-date>
  34 + </a-form-item>
  35 + </a-col>
  36 + <a-col :xl="6" :lg="7" :md="8" :sm="24">
  37 + <a-form-item label="操作结果状态">
  38 + <a-input placeholder="请输入操作结果状态容" v-model="queryParam.operationStatus"></a-input>
  39 + </a-form-item>
  40 + </a-col>
29 41 <a-col :xl="6" :lg="7" :md="8" :sm="24">
30 42 <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
31 43 <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
32 44 <a-button type="primary" @click="handleExportXls('操作记录')" icon="download" style="margin-left: 8px">导出</a-button>
33 45 <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
34   - <a @click="handleToggleSearch" style="margin-left: 8px">
35   - {{ toggleSearchStatus ? '收起' : '展开' }}
36   - <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
37   - </a>
38 46 </span>
39 47 </a-col>
40 48 </a-row>
... ...
ant-design-vue-jeecg/src/views/system/receipt/ReceiptContainerHeaderList.vue
... ... @@ -14,13 +14,13 @@
14 14 <j-dict-select-tag placeholder="请选择任务类型" v-model="queryParam.taskType" dictCode="receipt_task_type"/>
15 15 </a-form-item>
16 16 </a-col>
  17 + <a-col :xl="6" :lg="7" :md="8" :sm="24">
  18 + <a-form-item label="状态">
  19 + <j-dict-select-tag placeholder="请选择状态" v-model="queryParam.status" dictCode="receipt_container_status"/>
  20 + </a-form-item>
  21 + </a-col>
17 22 <template v-if="toggleSearchStatus">
18 23 <a-col :xl="6" :lg="7" :md="8" :sm="24">
19   - <a-form-item label="状态">
20   - <j-dict-select-tag placeholder="请选择状态" v-model="queryParam.status" dictCode="receipt_container_status"/>
21   - </a-form-item>
22   - </a-col>
23   - <a-col :xl="6" :lg="7" :md="8" :sm="24">
24 24 <a-form-item label="起始库位">
25 25 <a-input placeholder="请输入起始库位" v-model="queryParam.fromLocationCode"></a-input>
26 26 </a-form-item>
... ... @@ -64,9 +64,8 @@
64 64 <div class="table-operator">
65 65 <a-button v-has="'receiptContainerHeader:add'" @click="handleAdd" type="primary" icon="plus">新增</a-button>
66 66 <a-button type="primary" icon="download" @click="handleExportXls('入库组盘')">导出</a-button>
67   - <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl"
68   - @change="handleImportExcel">
69   - <a-button type="primary" icon="import">导入</a-button>
  67 + <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
  68 + <a-button type="primary" icon="import">导入</a-button>
70 69 </a-upload>
71 70 <!-- 高级查询区域 -->
72 71 <!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal"-->
... ... @@ -75,12 +74,6 @@
75 74  
76 75 <!-- table区域-begin -->
77 76 <div>
78   - <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
79   - <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a
80   - style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
81   - <a style="margin-left: 24px" @click="onClearSelected">清空</a>
82   - </div>
83   -
84 77 <a-table
85 78 ref="table"
86 79 size="middle"
... ... @@ -112,28 +105,19 @@
112 105 type="primary"
113 106 icon="download"
114 107 size="small"
115   - @click="downloadFile(text)">
116   - 下载
  108 + @click="downloadFile(text)">下载
117 109 </a-button>
118 110 </template>
119 111  
120 112 <span slot="action" slot-scope="text, record">
121   - <a-divider type="vertical"/>
122 113 <a v-if="record.status == 0 && record.taskType == 200" @click="selectPort(record)">生成任务</a>
123 114 <a v-else-if="record.status == 0" @click="createTask(record)">生成任务</a>
124 115 <a-divider type="vertical"/>
125 116 <a-popconfirm v-if="record.status == 0" v-has="'receiptContainerHeader:delete'" title="确定取消配盘吗?" @confirm="() => handleDelete(record.id)">
126   - <a>取消配盘</a>
  117 + <a>取消配盘</a>
127 118 </a-popconfirm>
128 119 <a-divider type="vertical"/>
129   - <a-dropdown>
130   - <a class="ant-dropdown-link">更多 <a-icon type="down"/></a>
131   - <a-menu slot="overlay">
132   - <a-menu-item>
133   - <a v-has="'receiptContainerHeader:edit'" @click="handleEdit(record)">编辑</a>
134   - </a-menu-item>
135   - </a-menu>
136   - </a-dropdown>
  120 + <a v-has="'receiptContainerHeader:edit'" @click="handleEdit(record)">编辑</a>
137 121 </span>
138 122  
139 123 </a-table>
... ...