diff --git a/src/views/biz/orderUploadLog/index.vue b/src/views/biz/orderUploadLog/index.vue index 878e9cae..90676f80 100644 --- a/src/views/biz/orderUploadLog/index.vue +++ b/src/views/biz/orderUploadLog/index.vue @@ -434,13 +434,18 @@ export default { /** 删除按钮操作 */ handleDelete(row) { const ids = row.id || this.ids; - this.$modal.confirm('是否确认删除biz编号为"' + ids + '"的数据项?').then(() => { + this.$modal.confirm('是否确认删除?').then(() => { this.loading = true; return delOrderUploadLog(ids); - }).then(() => { - this.loading = false; - this.getList(); - this.$modal.msgSuccess("删除成功"); + }).then((res) => { + if (res.code == 20000) { + this.loading = false; + this.getList(); + this.$modal.msgSuccess("删除成功"); + } else { + this.$modal.msgError(res.message); + } + }).catch(() => { }).finally(() => { this.loading = false; diff --git a/src/views/inout/IoAuditedOrder.vue b/src/views/inout/IoAuditedOrder.vue index dbb38b1e..5d851ca4 100644 --- a/src/views/inout/IoAuditedOrder.vue +++ b/src/views/inout/IoAuditedOrder.vue @@ -164,6 +164,15 @@ >撤回 + + 复制 + + + @@ -355,6 +364,22 @@ + + + + + @@ -371,6 +396,7 @@ import {getResultDetailList} from "@/api/inout/orderDetailResult"; import {getCodeDetailList} from "@/api/inout/orderDetailCode"; import {getCodeList} from "@/api/inout/code"; import {inspectionOrderPDFFromTemplateFile, orderPDFFromTemplateFile} from "@/api/itextpdf/orderPrint" +import DialogcChangeNewOrder from "@/views/inout/DialogcChangeNewOrder"; const formJson = { @@ -499,9 +525,11 @@ export default { resultTotal: 0, resultDetailLoading: false, resultDetailList: [], + stockChangeVisible: false, + curRow: null, }; }, - components: {}, + components: {DialogcChangeNewOrder}, methods: { onReset() { this.$router.push({ @@ -833,6 +861,21 @@ export default { // this.$message.info('回退失败'); }); }, + + generOrder(row) { + this.stockChangeVisible = true; + this.curRow = row; + }, + + closeDialog(type) { + this.stockChangeVisible = false; + this.getList(); + if (this.$isNotBlank(type)) { + this.detailList = []; + } + }, + + statusFilterType(status) { const statusMap = { 5: "warning", diff --git a/src/views/inout/IoEditOrder.vue b/src/views/inout/IoEditOrder.vue index 2cebdbc0..3cae6b20 100644 --- a/src/views/inout/IoEditOrder.vue +++ b/src/views/inout/IoEditOrder.vue @@ -694,7 +694,7 @@ export default { page: 1, limit: 10 }; - if(!isBlank(this.currentRow.billNo)) { + if (!isBlank(this.currentRow.billNo)) { this.getBizDetailList(); } }, @@ -733,7 +733,7 @@ export default { limit: 10 }; - if(!isBlank(this.currentRow.billNo)) { + if (!isBlank(this.currentRow.billNo)) { this.getCodeDetailList(); } }, @@ -774,7 +774,7 @@ export default { limit: 10 }; - if(!isBlank(this.currentRow.billNo)) { + if (!isBlank(this.currentRow.billNo)) { this.getResultDetailList(); } }, @@ -838,8 +838,7 @@ export default { }, }, - filters: { - }, + filters: {}, mounted() { document.body.ondrop = function (event) { event.preventDefault(); diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 84469f9d..d503e209 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -16,6 +16,7 @@ placeholder="请选择角色状态" clearable > + @@ -58,6 +59,7 @@ +