|
|
@ -85,6 +85,7 @@ |
|
|
width="100" |
|
|
width="100" |
|
|
:label="buttons.operating"> |
|
|
:label="buttons.operating"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<a @click="closeReceive(scope.row)">{{'关闭'}}</a> |
|
|
<a @click="initBannersFlag(scope.row)">{{buttons.receive}}</a> |
|
|
<a @click="initBannersFlag(scope.row)">{{buttons.receive}}</a> |
|
|
<a @click="initFileModel(scope.row)">{{buttons.appendixInfo}}</a> |
|
|
<a @click="initFileModel(scope.row)">{{buttons.appendixInfo}}</a> |
|
|
</template> |
|
|
</template> |
|
|
@ -324,7 +325,8 @@ |
|
|
getFileList, |
|
|
getFileList, |
|
|
printTool, |
|
|
printTool, |
|
|
saveFileAssociate, |
|
|
saveFileAssociate, |
|
|
printToolData |
|
|
|
|
|
|
|
|
printToolData, |
|
|
|
|
|
closeReceiveStatus |
|
|
} from "@/api/knifemold/receive.js" |
|
|
} from "@/api/knifemold/receive.js" |
|
|
import { |
|
|
import { |
|
|
getToolDetailList, |
|
|
getToolDetailList, |
|
|
@ -1416,6 +1418,23 @@ |
|
|
// this.initLocationFlag(queryLocation) |
|
|
// this.initLocationFlag(queryLocation) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 关闭接收 |
|
|
|
|
|
closeReceive(row){ |
|
|
|
|
|
this.$confirm(`确定进行关闭接收操作?`, '提示', { |
|
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
|
type: 'warning' |
|
|
|
|
|
}).then(() => { |
|
|
|
|
|
row.closeFlag = 'Y' |
|
|
|
|
|
closeReceiveStatus(row).then(({data}) =>{ |
|
|
|
|
|
if (data.code == 0){ |
|
|
|
|
|
this.$message.success(data.msg) |
|
|
|
|
|
this.initViewIfsTable('Y') |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
//保存接收信息 |
|
|
//保存接收信息 |
|
|
saveToolInstanceId() { |
|
|
saveToolInstanceId() { |
|
|
let status; |
|
|
let status; |
|
|
|