Commit 6fe4595f by chenwq

```

feat(stockManage): 库存交易记录页面优化

- 移除按钮ID属性,修复查询按钮样式问题
- 新增商品编码字段用于搜索过滤
- 添加表格唯一性配置支持
- 扩展搜索表单字段包括商户名称和商品编码
```
1 parent 0761d186
Pipeline #265 for 6fe4595f failed in 0 seconds
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
:search-form="searchForm"> :search-form="searchForm">
</d2-search> </d2-search>
<div class="up-btns"> <div class="up-btns">
<el-button :id="tableParams.btnId" <el-button size="small"
size="small"
type="primary" type="primary"
@click="handleSearch"> @click="handleSearch">
查询 查询
...@@ -61,6 +60,7 @@ export default { ...@@ -61,6 +60,7 @@ export default {
yqMerchantNameStr: "", yqMerchantNameStr: "",
orderMerchantName: "", orderMerchantName: "",
inventoryType: "", inventoryType: "",
commodityCode: "",
}, },
tableSearchForm: {}, tableSearchForm: {},
tableData: [], tableData: [],
...@@ -139,6 +139,8 @@ export default { ...@@ -139,6 +139,8 @@ export default {
getListApi: getInventoryTransactionRecordsPage, getListApi: getInventoryTransactionRecordsPage,
// 表格参数 // 表格参数
tableParams: { tableParams: {
needUnique: true,
mutiSelectUniqueKey: "uniqueVal",
btnId: new Date().getTime() + Number.parseInt(Math.random() * 1000), btnId: new Date().getTime() + Number.parseInt(Math.random() * 1000),
listName: "list", listName: "list",
tableColumns: [ tableColumns: [
...@@ -384,7 +386,10 @@ export default { ...@@ -384,7 +386,10 @@ export default {
productCode: "", productCode: "",
businessCode: "", businessCode: "",
queryFlowTypes: [], queryFlowTypes: [],
yqMerchantNameStr: "",
orderMerchantName: "",
inventoryType: "", inventoryType: "",
commodityCode: "",
}; };
this.$refs.purchasementReviewTable.refreshTable(true); this.$refs.purchasementReviewTable.refreshTable(true);
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!