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 {
optionLabel: "confValue",
optionsName: "inventoryTypeList",
},
{
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
},
],
getListApi: getInventoryTransactionRecordsPage,
// 表格参数
......@@ -145,6 +152,11 @@ export default {
prop: "upgradeGoodsName",
},
{
label: "产品ID",
prop: "commodityCode",
width: 100,
},
{
label: "产品编码",
prop: "productCode",
},
......
......@@ -208,6 +208,12 @@ export default {
optionId: "confId",
optionLabel: "confValue",
optionsName: "inventoryTypeList",
}, {
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
}],
getListApi: getMerchantGoodsStockReduceRecord,
tableParams: {
......@@ -226,6 +232,10 @@ export default {
prop: "upgradeGoodsName",
width: "160px",
}, {
label: "产品ID",
prop: "commodityCode",
width: 100,
}, {
label: "规格",
prop: "specificationData",
width: "160px",
......
......@@ -12,9 +12,9 @@
:search-form="searchForm">
<template #filmRollNo>
<el-input v-model.trim="searchForm.filmRollNo"
placeholder="请输入膜卷号"
:clearable="true"
:maxlength="50"
placeholder="请输入膜卷号"
:style="{ width: '100%' }"
@input="filmRollNoInput" />
</template>
......@@ -179,6 +179,12 @@ export default {
}, {
label: "膜卷号",
addHtml: "filmRollNo",
}, {
label: "产品ID",
name: "commodityCode",
type: "input",
isClear: true,
maxlength: 20,
}],
getListApi: getGoodsWarehousingList,
tableParams: {
......@@ -197,6 +203,10 @@ export default {
prop: "upgradeGoodsName",
width: "160px",
}, {
label: "产品ID",
prop: "commodityCode",
width: 100,
}, {
label: "规格",
prop: "specificationData",
width: "160px",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!