diff --git a/src/views/inm/mioitemlist.vue b/src/views/inm/mioitemlist.vue
index f8765435..b7117d49 100644
--- a/src/views/inm/mioitemlist.vue
+++ b/src/views/inm/mioitemlist.vue
@@ -43,7 +43,12 @@
show-summary
>
-
+
+
+ {{typeDict[scope.row.mio_.type] }}
+
+
+
{{ scope.row.material_.model }}
-
@@ -125,6 +130,20 @@
+
+
+ 撤消
+
+
@@ -199,6 +218,7 @@ export default {
getList(val){
let that = this;
that.params.page = val?val:1;
+ that.params.with_mio = 'yes';
that.params.search = that.query.search;
that.params.mio__inout_date__gte = that.query.mio__inout_date__gte;
that.params.mio__inout_date__lte = that.query.mio__inout_date__lte;
@@ -339,7 +359,7 @@ export default {
sums[index] = "合计";
return;
}
- if (index == 8|| index == 10) {
+ if (index == 9|| index == 11) {
const values = data.map((item) =>
Number(item[column.property])
);
@@ -387,6 +407,19 @@ export default {
filterName9(value, row) {
return row. 入库凭证号 === value;
},
+ revertAndDel(row){
+ let that = this;
+ that.$confirm('此操作将撤回并删除该记录, 是否继续?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(res=>{
+ that.$API.inm.mioitem.revertDel.req(row.id).then(res=>{
+ that.$message.success("撤回并删除成功");
+ that.getList(1);
+ })
+ })
+ },
},
};