单据撤回,耗材字典删除

ywj_dev
anthonywj 2 years ago
parent f44e952e82
commit 699a14f2d8

@ -119,7 +119,7 @@
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button> <el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="submit"></el-button> <el-button type="primary" icon="el-icon-search" @click="submit"></el-button>
<!-- <el-button type="primary" icon="el-icon-plus" @click="editUdiType"></el-button>--> <!-- <el-button type="primary" icon="el-icon-plus" @click="editUdiType"></el-button>-->
<el-button type="primary" icon="el-icon-plus" @click="intentImportUdi">DI</el-button> <el-button type="primary" icon="el-icon-plus" @click="intentImportUdi">DI</el-button>
<el-button type="primary" icon="el-icon-plus" @click="intentImportErp"></el-button> <el-button type="primary" icon="el-icon-plus" @click="intentImportErp"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="intentDetail"></el-button> <el-button type="primary" icon="el-icon-plus" @click="intentDetail"></el-button>
@ -1222,12 +1222,12 @@ export default {
nameCode: null nameCode: null
}, },
groupBuyMap: { groupBuyMap: {
true:"集采", true: "集采",
false:"非集采" false: "非集采"
}, },
dispatchMap: { dispatchMap: {
true:"可配送", true: "可配送",
false:"不可配送" false: "不可配送"
}, },
pId: 0, pId: 0,
productRemarkSet: {}, productRemarkSet: {},
@ -1386,6 +1386,7 @@ export default {
deletetUdiInfos(tquery) deletetUdiInfos(tquery)
.then((response) => { .then((response) => {
this.loading = false;
if (response.code == 20000) { if (response.code == 20000) {
this.getList(); this.getList();
this.$message({ this.$message({

@ -308,6 +308,7 @@ export default {
deletetUdiInfos(tquery) deletetUdiInfos(tquery)
.then((response) => { .then((response) => {
this.loading = false;
if (response.code == 20000) { if (response.code == 20000) {
this.getList(); this.getList();
this.$message({ this.$message({

@ -641,6 +641,7 @@ export default {
deletetUdiInfos(tquery) deletetUdiInfos(tquery)
.then((response) => { .then((response) => {
this.loading = false;
if (response.code == 20000) { if (response.code == 20000) {
this.getList(); this.getList();
this.$message({ this.$message({

@ -526,7 +526,7 @@
<script> <script>
import { import {
deleteByOrderId, deleteByOrderId,
getOrderList, rollUnReceivebackOrder getOrderList, rollbackOrder, rollUnReceivebackOrder
} from "../../api/inout/order"; } from "../../api/inout/order";
import {getLocalJoinByUser} from "@/api/basic/busType"; import {getLocalJoinByUser} from "@/api/basic/busType";
import {getInvListByUser} from "@/api/system/invWarehouse"; import {getInvListByUser} from "@/api/system/invWarehouse";
@ -703,8 +703,8 @@ export default {
endTime: null, endTime: null,
invCode: this.$store.getters.locInvCode, invCode: this.$store.getters.locInvCode,
}; };
this.actDateRange=[]; this.actDateRange = [];
this.auditDateRange=[]; this.auditDateRange = [];
this.getList(); this.getList();
}, },
onSubmit() { onSubmit() {
@ -1009,7 +1009,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let param = {billNo: row.billNo}; let param = {billNo: row.billNo};
rollUnReceivebackOrder(param).then((res) => { rollbackOrder(param).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
this.$message.success("撤回成功"); this.$message.success("撤回成功");
this.getList(); this.getList();

@ -464,6 +464,7 @@ export default {
deletetUdiInfos(tquery) deletetUdiInfos(tquery)
.then((response) => { .then((response) => {
this.loading = false;
if (response.code == 20000) { if (response.code == 20000) {
this.getList(); this.getList();
this.$message({ this.$message({

Loading…
Cancel
Save