单据回退修改

featFunction
anthonywj 3 years ago
parent 9c074c8431
commit b047933eab

@ -80,6 +80,7 @@
</el-button> </el-button>
<el-button type="text" size="small" <el-button type="text" size="small"
:disabled="scope.row.status==2"
@click="checDialog(scope.row)" @click="checDialog(scope.row)"
>审核 >审核
</el-button> </el-button>

@ -230,6 +230,7 @@ import store from "../../../store/index";
import {findConfig} from "@/api/thrsys/spsSyncStatus"; import {findConfig} from "@/api/thrsys/spsSyncStatus";
import {isBlank} from "@/utils/strUtil"; import {isBlank} from "@/utils/strUtil";
import {filterDepts} from "@/api/auth/authDept"; import {filterDepts} from "@/api/auth/authDept";
import {authRoleList} from "@/api/auth/authRole";
const formJson = { const formJson = {
id: "", id: "",
@ -361,7 +362,14 @@ export default {
}); });
}, },
getRoleList() { getRoleList() {
roleCustomers(this.query) let query = {
page:1,
limit:1000,
status: 1,
isCustomer: 0,
}
authRoleList(query)
.then(response => { .then(response => {
this.roles = response.data.list || []; this.roles = response.data.list || [];
}) })

@ -908,7 +908,7 @@ export default {
}); });
}, },
rollback(row) { rollback(row) {
this.$confirm('此操作将撤回单据到未验收, 是否继续?', '提示', { this.$confirm('此操作将撤回单据, 是否继续?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'

@ -1044,7 +1044,7 @@ export default {
}); });
}, },
rollback(row) { rollback(row) {
this.$confirm('此操作将撤回单据到等待校验, 是否继续?', '提示', { this.$confirm('此操作将撤回单据, 是否继续?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'

Loading…
Cancel
Save