|
|
|
@ -57,7 +57,7 @@
|
|
|
|
|
<!-- <i class="el-icon-s-order"></i>-->
|
|
|
|
|
<!-- <span>单据管理</span>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<div v-if=" busType != 1">
|
|
|
|
|
<div v-if=" productType != 1">
|
|
|
|
|
<el-menu-item :index=0 @click="clickMenuItem(0)" v-if="workPlaceClass == 1" >
|
|
|
|
|
<!-- <i class="el-icon-edit-outline"></i>-->
|
|
|
|
|
<span slot="title">处理单据</span>
|
|
|
|
@ -90,7 +90,7 @@
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-if=" busType == 1">
|
|
|
|
|
<div v-if=" productType == 1">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-menu-item :index=15 @click="clickMenuItem(1000)" v-if="workPlaceClass == 1">
|
|
|
|
@ -343,11 +343,11 @@ import {
|
|
|
|
|
import { EventBus } from '@/eventBus'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import DevicesDealOrder from '@/views/collect/DevicesDealOrder.vue'
|
|
|
|
|
import DevicesIocCollectOrderCheckCode from '@/views/collect/DevicesIocCollectOrderCheckCode.vue'
|
|
|
|
|
import DevicesCollectOrderAllot from '@/views/collect/DevicesCollectOrderAllot.vue'
|
|
|
|
|
import DevicesCollectOrderEnd from '@/views/collect/DevicesCollectOrderEnd.vue'
|
|
|
|
|
import DevicesCollectOrderUpload from '@/views/collect/DevicesCollectOrderUpload.vue'
|
|
|
|
|
import DevicesDealOrder from '@/views/collect/device/DevicesDealOrder.vue'
|
|
|
|
|
import DevicesIocCollectOrderCheckCode from '@/views/collect/device/DevicesIocCollectOrderCheckCode.vue'
|
|
|
|
|
import DevicesCollectOrderAllot from '@/views/collect/device/DevicesCollectOrderAllot.vue'
|
|
|
|
|
import DevicesCollectOrderEnd from '@/views/collect/device/DevicesCollectOrderEnd.vue'
|
|
|
|
|
import DevicesCollectOrderUpload from '@/views/collect/device/DevicesCollectOrderUpload.vue'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
@ -605,8 +605,8 @@ export default {
|
|
|
|
|
workPlaceClass: 1,
|
|
|
|
|
resetKeys: {},
|
|
|
|
|
sendData: '',
|
|
|
|
|
//默认业务类型 为药品 sys_workplace_document busType
|
|
|
|
|
busType:2
|
|
|
|
|
//默认业务类型 为药品 sys_workplace_document
|
|
|
|
|
productType:2
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
@ -663,7 +663,7 @@ export default {
|
|
|
|
|
let newQuery = {...this.$route.query};
|
|
|
|
|
delete newQuery.billNo;
|
|
|
|
|
newQuery.busType = val
|
|
|
|
|
this.busType = info.busType
|
|
|
|
|
this.productType = info.productType
|
|
|
|
|
this.$router.push({query: newQuery, path: this.$route.path});
|
|
|
|
|
this.formData.busName = info.busName;
|
|
|
|
|
this.autoTag = info.autoTag;
|
|
|
|
@ -820,7 +820,7 @@ export default {
|
|
|
|
|
this.formData.busName = busType.busName;
|
|
|
|
|
this.autoTag = busType.autoTag;
|
|
|
|
|
this.inAndOutType = busType.inAndOutType;
|
|
|
|
|
this.busType = busType.busType
|
|
|
|
|
this.productType = busType.productType
|
|
|
|
|
} else if (this.busTypeList.length == 1) {
|
|
|
|
|
this.formData.busType = this.busTypeList[0].documentTypeCode
|
|
|
|
|
this.autoTag = this.busTypeList[0].autoTag;
|
|
|
|
@ -828,7 +828,7 @@ export default {
|
|
|
|
|
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;
|
|
|
|
|
this.busType = this.busTypeList[0].busType
|
|
|
|
|
this.productType = this.busTypeList[0].productType
|
|
|
|
|
} else {
|
|
|
|
|
this.selectBusTypeDisabled = true
|
|
|
|
|
this.formData.busType = null
|
|
|
|
|