Commit 83f25947 by wangzhihui

```

feat(allocation): 添加调拨页面下拉选择框筛选功能

为调出仓库、调出门店、调入仓库、调入门店的下拉选择框添加filterable属性,
方便用户快速筛选选项;同时在搜索表单中添加queryOtherMerchant字段。

fix(transferShipment): 修复发货按钮显示逻辑错误

在发货按钮的显示条件中增加billStatus != 7的判断,避免已关闭的调拨单
仍然显示发货按钮。

style(appropriate): 优化调拨页面标签页样式

调整标签页激活状态下的边框样式,改善页面视觉效果。
```
1 parent efb5dac9
......@@ -5,24 +5,24 @@
<el-form :inline="true" size="small" :model="editAllocationForm" ref="editAllocationFormRef" :rules="formRules" class="demo-form-inline">
<el-form-item>调出方:</el-form-item>
<el-form-item label="调出仓库:" prop="callOutYqMerchantId">
<el-select v-model="editAllocationForm.callOutYqMerchantId" style="width: 300px">
<el-select v-model="editAllocationForm.callOutYqMerchantId" style="width: 300px" filterable>
<el-option v-for="item in callOutYqMerchantList" :key="item.merchantNo" :label="item.merchantName" :value="item.merchantNo" />
</el-select>
</el-form-item>
<el-form-item label="调出门店:" prop="callOutMerchantId">
<el-select v-model="editAllocationForm.callOutMerchantId" style="width: 300px">
<el-select v-model="editAllocationForm.callOutMerchantId" filterable style="width: 300px">
<el-option v-for="item in callOutMerchantList" :key="item.merchantId" :label="item.merchantName" :value="item.merchantId" />
</el-select>
</el-form-item>
<br />
<el-form-item>调入方:</el-form-item>
<el-form-item label="调入仓库:" prop="callInYqMerchantId">
<el-select v-model="editAllocationForm.callInYqMerchantId" @change="changeCallInYqMerchant(editAllocationForm.callInYqMerchantId)" style="width: 300px">
<el-select v-model="editAllocationForm.callInYqMerchantId" filterable @change="changeCallInYqMerchant(editAllocationForm.callInYqMerchantId)" style="width: 300px">
<el-option v-for="item in callInYqMerchantList" :key="item.merchantNo" :label="item.merchantName" :value="item.merchantNo" />
</el-select>
</el-form-item>
<el-form-item label="调入门店:" prop="callInMerchantId">
<el-select v-model="editAllocationForm.callInMerchantId" style="width: 300px">
<el-select v-model="editAllocationForm.callInMerchantId" filterable style="width: 300px">
<el-option v-for="item in callInMerchantList" :key="item.merchantId" :label="item.merchantName" :value="item.merchantId" />
</el-select>
</el-form-item>
......@@ -99,6 +99,7 @@ export default {
callInMerchantList: [],
// membraneTypeList: membraneTypeList,
searchForm: {
queryOtherMerchant: true,
upgradeGoodsNameOrSeries: '',
stockFlag: true
},
......@@ -421,7 +422,7 @@ export default {
}
})
//调出仓库
this.$apis.stockManage.getyqMerchantPageList({ currentPage:1,pageSize: 10000 }).then(res => {
this.$apis.stockManage.getyqMerchantPageList({ currentPage: 1, pageSize: 10000 }).then(res => {
this.callOutYqMerchantList = this.$common.utils.deepClone(res.list)
if (this.callOutYqMerchantList && this.callOutYqMerchantList.length == 1 && this.oprType == 'add') {
this.editAllocationForm.callOutYqMerchantId = this.callOutYqMerchantList[0].merchantNo
......
......@@ -4,7 +4,7 @@
<el-tab-pane label="我发起的调拨" name="alloctList"></el-tab-pane>
<el-tab-pane label="我收到的调拨" name="transferShipmentList"></el-tab-pane>
</el-tabs>
<component :is="activeName" :ref="activeName"/>
<component :is="activeName" :ref="activeName" />
</div>
</template>
......@@ -32,4 +32,19 @@ export default {
}
</script>
<style></style>
<style lang="scss" scoped>
.appropriate {
::v-deep .el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
border-bottom: 1px solid #5850ff !important;
}
::v-deep .el-tabs--card > .el-tabs__header .el-tabs__nav {
border: 1px solid transparent !important;
}
// ::v-deep .el-tabs__nav .el-tabs__item:nth-child(1) {
// border-right: 1px solid transparent !important;
// }
::v-deep .el-tabs__nav .el-tabs__item:nth-child(2) {
border-left: 1px solid transparent !important;
}
}
</style>
......@@ -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" :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>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!