Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

肖康 / cloudSystem

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 54d78b04 authored 2 months ago by LJM's avatar LJM
Browse files
Options
  • _('Browse Files')
  • Download
  • Email Patches
  • Plain Diff

add

parent 27e4f01e
Hide whitespace changes
Inline Side-by-side
Showing with 3 additions and 3 deletions
  • src/views/consignmentManagement/consignmentApplication.vue
src/views/consignmentManagement/consignmentApplication.vue
View file @ 54d78b04
......@@ -331,12 +331,12 @@ export default {
this.$message.warning('不支持批量操作');
return;
}
// 填写物流:校验待提审、待审核、进行中状态,以及待入库、部分入库状态
// 填写物流:只能为待提审、待审核、进行中状态,且入库作为为为待入库或部分入库状态的数据填写物流
var invalidShipping = this.multipleSelection.filter(item =>
!([0, 1, 2].includes(item.consignment_status) && ![1, 2].includes(item.stock_in_status))
!([0, 1, 2].includes(item.consignment_status) && [1, 2].includes(item.stock_in_status))
);
if (invalidShipping.length) {
this.$message.warning('只能为待提审、待审核、进行中状态,且为待入库或部分入库状态的数据填写物流');
this.$message.warning('只能为待提审、待审核、进行中状态,且入库状态为待入库或部分入库状态的数据填写物流');
return;
}
this.updateShippingInfoParasm.consignment_ids = this.multipleSelection.map(item => item.consignment_id).join(',');
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment