Commit ff58bf5b by wangzhihui

```

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

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