|
|
@@ -117,7 +117,6 @@
|
|
|
<a class="dropdown-item" @click="waybillExport(2)" href="javascript:">导出所有页</a>
|
|
|
</div>
|
|
|
</span>
|
|
|
- @can('运输管理-图片删除')<button type="button" @click="deleteImg()" class="btn btn-sm btn-outline-danger ml-2">删除所选图片</button>@endcan
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
@@ -858,7 +857,7 @@
|
|
|
"<img src=\""+url+'-common.'+suffix+"\" style='position: relative;left:-50px;' >" +
|
|
|
"</a>" +
|
|
|
"</div>"+
|
|
|
- "<button type='button' class='btn btn-sm btn-danger' onclick='vueList.btnDeleteImg(this)' value='"+id+"' style='position: relative;float: right;margin-right: 51px;margin-top: -30px;' >删除</button>" +
|
|
|
+ @can('运输管理-图片删除')"<button type='button' class='btn btn-sm btn-danger' onclick='vueList.btnDeleteImg(this)' value='"+id+"' style='position: relative;float: right;margin-right: 51px;margin-top: -30px;' >删除</button>" +@endcan
|
|
|
"</div>"+
|
|
|
"</div>");
|
|
|
},
|
|
|
@@ -891,14 +890,14 @@
|
|
|
tempTip.show("删除失败");
|
|
|
return;
|
|
|
}
|
|
|
- _this.checkData.forEach(function (id) {
|
|
|
- _this.waybills.some(function (waybill) {
|
|
|
- if (waybill.id===id){
|
|
|
- waybill.url='';
|
|
|
- return true;
|
|
|
- }
|
|
|
- });
|
|
|
- });
|
|
|
+ // _this.checkData.forEach(function (id) {
|
|
|
+ // _this.waybills.some(function (waybill) {
|
|
|
+ // if (waybill.id===id){
|
|
|
+ // waybill.url='';
|
|
|
+ // return true;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // });
|
|
|
id.forEach(function (id) {
|
|
|
_this.waybills.some(function (waybill) {
|
|
|
if (waybill.id===id){
|