+ @click="selectBusType(info)">
{{ info.busName }}
@@ -185,10 +142,10 @@
-
+
{{ info.remark }}
开始作业
+ @click="selectBusType(info)">开始作业
@@ -239,7 +196,10 @@ export default {
page: 1,
limit: 100
},
- formData: {},
+ formData: {
+ busName: null,
+ workplaceName: null
+ },
curWorkPlaces: [],
busTypeList: [],
logo: logoImg,
@@ -261,7 +221,7 @@ export default {
component: DealOrder,
// 假设你需要传递的参数
componentProps: {
- title: '这是单据的标题',
+ // title: '这是单据的标题',
}
},
{
@@ -286,7 +246,7 @@ export default {
},
{
number: 3,
- title: '工位存量',
+ title: '工位库存',
name: 'ioSplitFifoCode',
component: ioSplitFifoCode,
// 假设你需要传递的参数
@@ -318,7 +278,7 @@ export default {
},
{
number: 7,
- title: '损耗出库',
+ title: '拆零管理',
name: 'IoDestroyOrder',
component: IoDestroyOrder,
// 假设你需要传递的参数
@@ -331,7 +291,7 @@ export default {
component: DealOrder,
// 假设你需要传递的参数
componentProps: {
- title: '这是单据的标题'
+ // title: '这是单据的标题'
}
}
],
@@ -346,12 +306,14 @@ export default {
// this.$refs.selectHeadEmpId.blur();
this.selectBusTypeDisabled = true
},
- selectBusType(val) {
+ selectBusType(info) {
+ let val = info.documentTypeCode
this.formData.busType = val
let newQuery = {...this.$route.query};
delete newQuery.billNo;
newQuery.busType = val
this.$router.push({query: newQuery, path: this.$route.path});
+ this.formData.busName = info.busName;
this.editableTabs = []
this.clickMenuItem(0)
this.showChild = false;
@@ -439,6 +401,10 @@ export default {
}
listPage(query).then((res) => {
this.curWorkPlaces = res.data.list || [];
+ if (this.$route.query.workplaceId != null){
+ let item = this.curWorkPlaces.find(item => item.workplaceId == this.$route.query.workplaceId);
+ this.formData.workplaceName = item.workplaceName
+ }
})
},
getWorkBindBusTypes(workplaceId) {
@@ -450,10 +416,12 @@ export default {
if (this.$route.query.busType != null) {
this.formData.busType = this.$route.query.busType
+ this.formData.busName = this.busTypeList.find(item => item.documentTypeCode == this.formData.busType).busName;
}else if (this.busTypeList.length == 1) {
this.formData.busType = this.busTypeList[0].documentTypeCode
this.$router.push({query: {...this.$route.query, busType: this.formData.busType}, path: this.$route.path})
this.selectBusTypeDisabled = false
+ this.formData.busName = this.busTypeList.find(item => item.documentTypeCode == this.formData.busType).busName;
} else {
this.selectBusTypeDisabled = true
this.formData.busType = null
@@ -526,7 +494,7 @@ export default {
margin-left: 25px;
}
.context-menu {
- zIndex: 1000;
+ zIndex: 100000;
position: fixed ;
list-style-type: none;
padding: 0;
diff --git a/src/views/collect/IoCreateOrder.vue b/src/views/collect/IoCreateOrder.vue
index 14632587..630ac1a9 100644
--- a/src/views/collect/IoCreateOrder.vue
+++ b/src/views/collect/IoCreateOrder.vue
@@ -4,6 +4,7 @@
:model="orderFormData"
:rules="formRules"
ref="dataForm"
+ @submit.native.prevent
label-width="110px"
>
diff --git a/src/views/collect/PanelOrderAllDetail.vue b/src/views/collect/PanelOrderAllDetail.vue
index 027f9268..fb27f58f 100644
--- a/src/views/collect/PanelOrderAllDetail.vue
+++ b/src/views/collect/PanelOrderAllDetail.vue
@@ -128,6 +128,7 @@ import {convertDate} from "@/utils/date";
import {detail} from "@/api/basic/sicker/prescribeApi";
import {executeFuc, getHead} from "@/utils/customConfig";
import {allDetail,codeRemove} from "@/api/collect/collectOrder";
+import {isBlank} from "@/utils/strUtil";
/**
* 原始处方明细
@@ -266,7 +267,7 @@ export default {
rowStyle({row, rowIndex}) {
let rowBackground = {};
- if (row.count != row.scanActCount) {
+ if (this.$isBlank(row.finishUdiCode)) {
rowBackground.color = '#f60303';
}
diff --git a/src/views/collect/PanelOrderUpload.vue b/src/views/collect/PanelOrderUpload.vue
index b183f1a0..941a6276 100644
--- a/src/views/collect/PanelOrderUpload.vue
+++ b/src/views/collect/PanelOrderUpload.vue
@@ -327,6 +327,7 @@ export default {
curRow: null,
panelALive: false,
+ isLinkDisabled: false,
options: {
findWorkPlace: []
},
@@ -426,6 +427,7 @@ export default {
created() {
this.filterQuery.tagStatus = this.tagStatus
if (this.$route.query.workplaceId != null) {
+ this.isLinkDisabled=true
this.filterQuery.workPlaceCode = this.$route.query.workplaceId
this.showType = 2
}