Commit ff58bf5b by wangzhihui

```

feat(transferShipment): 新增关联采购单号搜索功能并优化界面显示

新增关联采购单号字段和搜索条件,便于用户查询相关数据;
统一将产品名称、产品编码改为商品名称、商品编码,保持术语一致性;
修复发货按钮条件判断中的空格问题,提升代码可读性。
```
1 parent a15b3cd1
......@@ -50,7 +50,7 @@
<div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button :data="scope.scope" type="text" size="small" @click="handleDetail(scope.scope)">查看</el-button>
<el-button v-if="scope.scope.deliveryStatus != 2&&scope.scope.billStatus != 7" :data="scope.scope" type="text" size="small" @click="handleShipment(scope.scope)">发货</el-button>
<el-button v-if="scope.scope.deliveryStatus != 2 && scope.scope.billStatus != 7" :data="scope.scope" type="text" size="small" @click="handleShipment(scope.scope)">发货</el-button>
<el-button v-if="scope.scope.billStatus != 7 && scope.scope.deliveryStatus == 1" :data="scope.scope" type="text" size="small" @click="handleReject(scope.scope)">驳回</el-button>
</div>
......@@ -85,7 +85,8 @@ export default {
callInName: '',
deliveryStatus: '',
goodsName: '',
productCode: ''
productCode: '',
purchaseOrderCode: ''
},
tableSearchForm: {},
tableData: [],
......@@ -98,6 +99,12 @@ export default {
isClear: true
},
{
label: '关联采购单号',
name: 'purchaseOrderCode',
type: 'input',
isClear: true
},
{
label: '调入方',
name: 'callInName',
type: 'input',
......@@ -113,16 +120,22 @@ export default {
optionsName: 'deliveryStatusOptions'
},
{
label: '产品名称',
label: '商品名称',
name: 'goodsName',
type: 'input',
isClear: true
},
{
label: '产品编码',
label: '商品编码',
name: 'productCode',
type: 'input',
isClear: true
},
{
label: '采购单号',
name: 'purchaseOrderCode',
type: 'input',
isClear: true
}
],
getListApi: this.$apis.stockManage.getTransferShipmentList,
......@@ -143,11 +156,11 @@ export default {
width: 150
},
{
label: '产品名称',
label: '商品名称',
prop: 'goodsName'
},
{
label: '产品编码',
label: '商品编码',
prop: 'productCode'
},
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!