Commit 310f6ffd by chenwq

```

feat(stockManage): 新增产品ID搜索和展示功能

- 在库存交易记录页面添加产品ID搜索框和表格列
- 在出库列表页面添加产品ID搜索框和表格列
- 在入库列表页面添加产品ID搜索框和表格列
- 统一设置产品ID字段最大长度为20字符并支持清空
```
1 parent 5304207f
Pipeline #261 for 310f6ffd failed in 0 seconds
...@@ -128,6 +128,13 @@ export default { ...@@ -128,6 +128,13 @@ export default {
optionLabel: "confValue", optionLabel: "confValue",
optionsName: "inventoryTypeList", optionsName: "inventoryTypeList",
}, },
{
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
},
], ],
getListApi: getInventoryTransactionRecordsPage, getListApi: getInventoryTransactionRecordsPage,
// 表格参数 // 表格参数
...@@ -145,6 +152,11 @@ export default { ...@@ -145,6 +152,11 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
}, },
{ {
label: "产品ID",
prop: "commodityCode",
width: 100,
},
{
label: "产品编码", label: "产品编码",
prop: "productCode", prop: "productCode",
}, },
......
...@@ -208,6 +208,12 @@ export default { ...@@ -208,6 +208,12 @@ export default {
optionId: "confId", optionId: "confId",
optionLabel: "confValue", optionLabel: "confValue",
optionsName: "inventoryTypeList", optionsName: "inventoryTypeList",
}, {
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
}], }],
getListApi: getMerchantGoodsStockReduceRecord, getListApi: getMerchantGoodsStockReduceRecord,
tableParams: { tableParams: {
...@@ -226,6 +232,10 @@ export default { ...@@ -226,6 +232,10 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
width: "160px", width: "160px",
}, { }, {
label: "产品ID",
prop: "commodityCode",
width: 100,
}, {
label: "规格", label: "规格",
prop: "specificationData", prop: "specificationData",
width: "160px", width: "160px",
......
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
:search-form="searchForm"> :search-form="searchForm">
<template #filmRollNo> <template #filmRollNo>
<el-input v-model.trim="searchForm.filmRollNo" <el-input v-model.trim="searchForm.filmRollNo"
placeholder="请输入膜卷号"
:clearable="true" :clearable="true"
:maxlength="50" :maxlength="50"
placeholder="请输入膜卷号"
:style="{ width: '100%' }" :style="{ width: '100%' }"
@input="filmRollNoInput" /> @input="filmRollNoInput" />
</template> </template>
...@@ -179,6 +179,12 @@ export default { ...@@ -179,6 +179,12 @@ export default {
}, { }, {
label: "膜卷号", label: "膜卷号",
addHtml: "filmRollNo", addHtml: "filmRollNo",
}, {
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
}], }],
getListApi: getGoodsWarehousingList, getListApi: getGoodsWarehousingList,
tableParams: { tableParams: {
...@@ -197,6 +203,10 @@ export default { ...@@ -197,6 +203,10 @@ export default {
prop: "upgradeGoodsName", prop: "upgradeGoodsName",
width: "160px", width: "160px",
}, { }, {
label: "产品ID",
prop: "commodityCode",
width: 100,
}, {
label: "规格", label: "规格",
prop: "specificationData", prop: "specificationData",
width: "160px", width: "160px",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!