-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -281,8 +287,10 @@
:show-overflow-tooltip="item.tooltip"
:key="item.columnName"
>
-
- {{ item.lableRuleObj[scope.row[item.columnName]] }}
+
+ {{
+ item.lableRuleObj[scope.row[item.columnName]]
+ }}
-
-
- {{ item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName] }}
+
+
+ {{
+ item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName]
+ }}
@@ -331,7 +342,9 @@
:key="item.columnName"
>
- {{ scope.row[item.columnName] }}
+ {{
+ scope.row[item.columnName]
+ }}
@@ -501,18 +514,17 @@
import {
deleteByOrderId,
submitOrderWeb,
- updateUnit, mergeOrder,
getOrderList
-} from "../../api/inout/order";
-import {getBasicUnitMaintains, getCorrespondence} from "../../api/basic/basicUnitMaintain"
-import addOrder from "@/views/inout/DialogCreateOrder";
-import {getInvListByUser, getInvListByUserOptimize} from "@/api/system/invWarehouse";
-import {getLocalJoinByUser,getLocalJoinByUserOptimize} from "@/api/basic/busType";
+} from "@/api/inout/order";
+import {getCorrespondence} from "@/api/basic/basicUnitMaintain"
+import addOrder from "@/views/inoutDrug/DialogCreateDrugOrder";
+import {getInvListByUserOptimize} from "@/api/system/invWarehouse";
+import {getLocalJoinByUserOptimize} from "@/api/basic/busType";
import {selectSysParamByKey} from "@/api/param/systemParamConfig";
import {isBlank} from "@/utils/strUtil";
-import {getBizDetailList, getCheckDetailList} from "@/api/inout/orderDetailBiz";
+import {getCheckDetailList} from "@/api/inout/orderDetailBiz";
import {
- getHead,executeFuc
+ getHead, executeFuc
} from "@/utils/customConfig";
export default {
@@ -557,13 +569,13 @@ export default {
codeDetailVisible: false,
addOrderVisible: false,
total: 0,
- tableHeader:[],
- queryList:[],
- fromList:[],
+ tableHeader: [],
+ queryList: [],
+ fromList: [],
options: {
- getInvList:[],
- getDeptList:[],
- getBusType:[],
+ getInvList: [],
+ getDeptList: [],
+ getBusType: [],
},
loading: false,
index: null,
@@ -709,7 +721,7 @@ export default {
.catch(() => {
});
},
- addOrders(_this,row) {
+ addOrders(_this, row) {
_this.currentRow = row;
_this.idQuery = {};
_this.idQuery = row;
@@ -779,7 +791,7 @@ export default {
.catch(() => {
});
},
- deleteDialog(_this,rowId) {
+ deleteDialog(_this, rowId) {
_this.$confirm("此操作将永久删除该订单, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
@@ -883,7 +895,7 @@ export default {
this.getBizDetailList();
},
- handleSelectionChange(_this,val) {
+ handleSelectionChange(_this, val) {
_this.currentRow = val;
_this.getBizDetailList();
},
@@ -909,11 +921,11 @@ export default {
this.bizTotal = 0;
})
},
- executeFuc(row,type,clickFuc,value){
- return executeFuc(this,row,type,clickFuc,value);
+ executeFuc(row, type, clickFuc, value) {
+ return executeFuc(this, row, type, clickFuc, value);
},
- executeEval(row,expression,defaultRet){
- if(expression){
+ executeEval(row, expression, defaultRet) {
+ if (expression) {
return eval(expression);
}
return defaultRet;
@@ -928,7 +940,7 @@ export default {
created() {
this.getInvList(this);
this.getBusType(this);
- getHead("DrugIoDealOrder","1").then((re) => {
+ getHead("DrugIoDealOrder", "1").then((re) => {
// 处理返回的数据
this.tableObj = re.data;
this.tableHeader = re.data.tableList;
diff --git a/src/views/inout/PanelCreateOrderDetailDrug.vue b/src/views/inoutDrug/PanelCreateOrderDetailDrug.vue
similarity index 100%
rename from src/views/inout/PanelCreateOrderDetailDrug.vue
rename to src/views/inoutDrug/PanelCreateOrderDetailDrug.vue