Commit 7418ff58 authored by 吴春's avatar 吴春

删除查询出来的调拨单信息

parent 590bfcd5
......@@ -54,6 +54,12 @@
<!-- <span>{{ scope.row.SurplusMoney }}</span> -->
</template>
</el-table-column>
<el-table-column label="操作" v-if="dataList&&dataList.length==1">
<template slot-scope="scope">
<span style="cursor:pointer;" @click="DelSelectList(scope.row)">删除</span>
</template>
</el-table-column>
</el-table>
</div>
......@@ -274,6 +280,16 @@
}
},
methods: {
DelSelectList(row){
let i=0;
this.selectDataList.forEach((item,index) => {
if (row.FrID==item.FrID) {
i=index;
return;
}
});
this.selectDataList.splice(i, 1);
},
clicksubmit(){
//先判断selectDataList里面是否有,没有再去调用接口
this.selectDataList.forEach(item => {
......
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 to comment