diff --git a/.env.production b/.env.production index e6bd6304..545c6698 100644 --- a/.env.production +++ b/.env.production @@ -16,7 +16,7 @@ ENV = 'production' # 诏安总医院 # VUE_APP_BASE_API = 'http://192.168.8.58:9150/UDI_WMS_MC/' -VUE_APP_BASE_API = 'http://dm.xmglxp.com:81/UDI_WMS_MC/' +# VUE_APP_BASE_API = 'http://dm.xmglxp.com:81/UDI_WMS_MC/' # 平潭正式 # VUE_APP_BASE_API = 'http://55.55.0.62:9150/UDI_WMS_MC/' @@ -54,7 +54,7 @@ VUE_APP_BASE_API = 'http://dm.xmglxp.com:81/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://192.168.0.207:9160/UDI_WMS_MC/' # 云霄妇幼保健 -# VUE_APP_BASE_API = 'http://192.168.0.11:9150/UDI_WMS_MC/' +# VUE_APP_BASE_API = 'http://192.168.0.11:9160/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://192.168.0.67:9150/UDI_WMS_MC/' # 东山 diff --git a/src/api/collect/splitCreateOrder.js b/src/api/collect/splitCreateOrder.js index 88188368..c8ac93b0 100644 --- a/src/api/collect/splitCreateOrder.js +++ b/src/api/collect/splitCreateOrder.js @@ -46,6 +46,15 @@ export function draftOrder(query) { }); } +export function cancelOrder(query) { + return axios({ + url: "/udiwms/basic/collect/order/cancel", + method: "post", + data: query + }); +} + + export function updateOrder(query) { return axios({ url: "/udiwms/basic/collect/order/update", diff --git a/src/views/basic/workplace/workplaceManage.vue b/src/views/basic/workplace/workplaceManage.vue index 0f242552..4581771b 100644 --- a/src/views/basic/workplace/workplaceManage.vue +++ b/src/views/basic/workplace/workplaceManage.vue @@ -136,7 +136,7 @@ type="text" size="small" @click.native.stop="printLabel(scope.row)" - >打印 + >工位标签 - executeFuc(row,'0',tableObj.handleChangeFuc)" ref="multipleTable" - :default-sort="defaultSort" - :row-style="{ height: '32px' }" - @sort-change="handleSortChange"> - - - - - - - - - - - + + + + executeFuc(row,'0',tableObj.handleChangeFuc)" ref="multipleTable" + :default-sort="defaultSort" + :row-style="{ height: '32px' }" + @sort-change="handleSortChange"> + + + + + + + + + + + {{ item.lableRuleObj[scope.row[item.columnName]] }} - - - - - + + + + + {{ item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName] }} - - - - - - {{ buttonItem.name }} - + + + + + + {{ buttonItem.name }} + + + + + + {{ + scope.row[item.columnName] + }} + + - - - + + + + + + + + + executeFuc(row,'0',tableObj1.handleChangeFuc)" ref="multipleTable" + :default-sort="defaultSort" + :row-style="{ height: '32px' }" + @sort-change="handleSortChange"> + + + + + + + + + + + + {{ + item.lableRuleObj[scope.row[item.columnName]] + }} + + + + + + {{ + item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName] + }} + + + + + + {{ buttonItem.name }} + + + + + {{ scope.row[item.columnName] }} + + - - - - + + + + + + + + @@ -250,7 +372,7 @@ import {convertDate} from "@/utils/date"; import {detail} from "@/api/basic/sicker/prescribeApi"; import prescribeDownloadDialog from "@/views/collect/prescribe/prescribeDownloadDialog"; import prescribeOriginPanel from "./PannelOrderBiz"; -import PannelOriginOrderDetail from "./PannelOriginOrderDetail" +import PannelOriginOrderDetail from "./PannelOriginOrderDetail" import { clearAllOrder, deleteByOrder, @@ -281,36 +403,36 @@ export default { return { actDateRange: [], pickerOptions: { - shortcuts: [ - { - text: "最近一周", - onClick(picker) { - const end = new Date(); - const start = new Date(); - start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); - picker.$emit("pick", [start, end]); + shortcuts: [ + { + text: "最近一周", + onClick(picker) { + const end = new Date(); + const start = new Date(); + start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); + picker.$emit("pick", [start, end]); + }, }, - }, - { - text: "最近一个月", - onClick(picker) { - const end = new Date(); - const start = new Date(); - start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); - picker.$emit("pick", [start, end]); + { + text: "最近一个月", + onClick(picker) { + const end = new Date(); + const start = new Date(); + start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); + picker.$emit("pick", [start, end]); + }, }, - }, - { - text: "最近三个月", - onClick(picker) { - const end = new Date(); - const start = new Date(); - start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); - picker.$emit("pick", [start, end]); + { + text: "最近三个月", + onClick(picker) { + const end = new Date(); + const start = new Date(); + start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); + picker.$emit("pick", [start, end]); + }, }, - }, - ], - }, + ], + }, //界面配置相关 //患者处方 tableHeader: [], @@ -337,6 +459,11 @@ export default { page: 1, limit: 10, }, + + errQuery: { + page: 1, + limit: 10, + }, DataQuery: { busType: null, page: 1, @@ -346,6 +473,10 @@ export default { loading: false, list: [], total: 0, + + + errList: [], + errTotal: 0, downloadPrescriptionVisible: false, deleteData: { billNo: null, @@ -375,7 +506,7 @@ export default { }, components: { - addOrder, errOrder, prescribeDownloadDialog, prescribeOriginPanel,PannelOriginOrderDetail + addOrder, errOrder, prescribeDownloadDialog, prescribeOriginPanel, PannelOriginOrderDetail }, methods: { @@ -498,8 +629,30 @@ export default { this.list = [] this.total = 0 }) - } - , + }, + + getErrorList(_this) { + _this.loading = true; + if (_this.actDateRange !== null) { + _this.errQuery.startTime = _this.actDateRange[0]; + _this.errQuery.endTime = _this.actDateRange[1]; + } else { + _this.errQuery.startTime = null; + _this.errQuery.endTime = null; + } + _this.errQuery.tagStatus = 4; + orderPage(_this.errQuery).then(res => { + _this.loading = false + _this.errList = res.data.list || [] + _this.errTotal = res.data.total || 0 + }).catch(() => { + _this.loading = false + _this.errList = [] + _this.errTotal = 0 + }) + }, + + getList2(_this) { _this.loading = true; if (_this.actDateRange !== null) { @@ -622,8 +775,14 @@ export default { return }) }, + + + submitDialog() { + + }, + errorHandle(_this, row) { - _this.$confirm("此操作将重新下载该订单, 是否处理?", "提示", { + _this.$confirm("此操作将重新下载该订单, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", @@ -667,6 +826,16 @@ export default { this.fromList = re.data.fromList; this.getList(); }); + getHead("prescribeDownloadError", "1").then((re) => { + // 处理返回的数据 + this.tableObj1 = re.data; + this.tableHeader1 = re.data.tableList; + // this.queryList1 = re.data.queryList; + this.fromList1 = re.data.fromList; + this.getErrorList(this); + }); + + this.filterQuery.tagStatus = this.tagStatus this.filterQuery.tagStatusList = this.tagStatusList this.findWorkPlace(this, '') diff --git a/src/views/collect/CollectOrderNewParent.vue b/src/views/collect/CollectOrderNewParent.vue index e70603e5..25de4835 100644 --- a/src/views/collect/CollectOrderNewParent.vue +++ b/src/views/collect/CollectOrderNewParent.vue @@ -1,23 +1,23 @@ + - + - - - + + + - - - + + + + + - + diff --git a/src/views/collect/DealOrder.vue b/src/views/collect/DealOrder.vue index a77685b0..75150298 100644 --- a/src/views/collect/DealOrder.vue +++ b/src/views/collect/DealOrder.vue @@ -17,25 +17,31 @@ type="primary" :disabled="formData.billNo" @click.native="nextCollectOrder()" - >下一单据 + >下一单 选入单据 + >选单 单据挂起 + >挂起 + + 放弃 处理完成 + >完成 @@ -164,10 +170,10 @@ 添加 + > { + cancelOrder(this.formData).then(res => { + this.loading = false + if (res.code == 20000) { + this.resetWork() + } + }).catch(() => { + this.loading = false + }) + }).catch(() => { + }); + }, + + confirmFinishOrder() { this.$confirm('是否确定完成此单据?', '提示', { confirmButtonText: '确定', diff --git a/src/views/collect/PannelOriginOrderDetail.vue b/src/views/collect/PannelOriginOrderDetail.vue index 893fa4e0..dfca4144 100644 --- a/src/views/collect/PannelOriginOrderDetail.vue +++ b/src/views/collect/PannelOriginOrderDetail.vue @@ -1,6 +1,8 @@ - + { + getHead("PannelOriginOrderDetail", "1").then((re) => { // 处理返回的数据 this.tableObj1 = re.data; this.tableHeader1 = re.data.tableList;