Commit 0c1c8ad6 by LJM

寄售申请单详情“删除”校验状态错误

parent ccceb7a9
......@@ -3,8 +3,8 @@
<div class="section-page">
<!--搜索区-->
<el-form :inline="true" :model="formParam" ref="formParam" label-width="96px">
<el-form-item label="寄售召回单号" prop="consignment_sn">
<el-input v-model="formParam.consignment_sn" placeholder="请输入寄售召回单号" @keyup.enter.native="submit" clearable></el-input>
<el-form-item label="寄售申请单号" prop="consignment_sn">
<el-input v-model="formParam.consignment_sn" placeholder="请输入寄售申请单号" @keyup.enter.native="submit" clearable></el-input>
</el-form-item>
<el-form-item label="型号" prop="goods_name">
<el-autocomplete v-model="formParam.goods_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsync" placeholder="请输入型号" clearable></el-autocomplete>
......
......@@ -116,8 +116,7 @@ export default {
return;
}
// 提交审核:校验待提审状态
const invalidVerify = this.multipleSelection.filter(item => item.consignment_status !== '0');
if (invalidVerify.length) {
if (this.detailData.consignment_status != 0) {
this.$message.warning('只能选择待提审状态的数据');
return;
}
......
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