|
|
|
@ -78,7 +78,7 @@
|
|
|
|
|
<div class="avue-crud__left"> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleAdd">新 增</el-button> |
|
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="handleDelete" plain>删 除</el-button>--> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleBillAdd">创建自提</el-button> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleBillAdd">创建自提</el-button>--> |
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleSign(null,2)">自提签收</el-button> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
@ -914,6 +914,10 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
//签收 |
|
|
|
|
handleSign(row,num){ |
|
|
|
|
if(this.selectionList.length == 0){ |
|
|
|
|
this.$message.warning("至少选择一条数据!!"); |
|
|
|
|
return ; |
|
|
|
|
} |
|
|
|
|
let a = this.selectionList.find( i => i.conditions > 6); |
|
|
|
|
if(!!a){ |
|
|
|
|
this.$message.warning("有已签收的数据,请勿重复签收!!"); |
|
|
|
|