代码备份

20240912_adapter_z
yewj 10 months ago
parent 35552beacd
commit 5bd837cf26

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<el-row :gutter="0" v-if="isLinkDisabled" style="margin-top: 15px"> <el-row :gutter="0" v-if="isLinkDisabled" style="margin-top: 15px">
<el-col :span="24" align="right"> <el-col :span="24" align="right">
<div class="inv-hos-title"> <div class="inv-hos-title">
<span <span
@ -9,9 +9,9 @@
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp
<!-- {{--> <!-- {{-->
<!-- this.userInfo.companyName--> <!-- this.userInfo.companyName-->
<!-- }}--> <!-- }}-->
</span> </span>
<span <span
style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px" style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px"
@ -23,20 +23,19 @@
</el-row> </el-row>
<el-tabs type="border-card" style="margin: 15px"> <el-tabs type="border-card" style="margin: 15px">
<el-tab-pane label="待处理单据">
<CollectOrderAllotCardComponents style="margin: -15px"
:tagStatus="'1'"
></CollectOrderAllotCardComponents>
</el-tab-pane>
<el-tab-pane label="未分配工位单据"> <el-tab-pane label="未分配工位单据">
<CollectOrderAllotComponents <CollectOrderAllotComponents
style="margin: -15px" style="margin: -15px"
:tagStatus="'0'" :tagStatus="'0'"
></CollectOrderAllotComponents> :viewType="1"
</el-tab-pane>
<el-tab-pane label="已分配工位单据">
<CollectOrderAllotComponents style="margin: -15px"
:tagStatus="'1'"
></CollectOrderAllotComponents> ></CollectOrderAllotComponents>
</el-tab-pane> </el-tab-pane>
@ -48,6 +47,7 @@
<script> <script>
import CollectOrderAllotComponents from "./CollectOrderAllotComponents.vue"; import CollectOrderAllotComponents from "./CollectOrderAllotComponents.vue";
import CollectOrderAllotCardComponents from "./CollectOrderAllotCardComponents.vue";
/** /**
@ -56,7 +56,7 @@ import CollectOrderAllotComponents from "./CollectOrderAllotComponents.vue";
export default { export default {
name: "PrescribeTagCode", name: "PrescribeTagCode",
components: { components: {
CollectOrderAllotComponents CollectOrderAllotComponents, CollectOrderAllotCardComponents
}, },
data() { data() {
return { return {
@ -70,7 +70,7 @@ export default {
} }
}, },
created() { created() {
if (this.$route.query.workplaceId != null){ if (this.$route.query.workplaceId != null) {
this.isLinkDisabled = true this.isLinkDisabled = true
} }
} }

@ -470,13 +470,13 @@ export default {
this.changeViewDisabled = !this.changeViewDisabled this.changeViewDisabled = !this.changeViewDisabled
}, },
handleClick(index) { handleClick(index) {
let url = window.location.origin + `#/tagCodeBlank?workplaceId=` + this.list[index].workPlaceCode + "&billNo=" + this.list[index].billNo let url = window.location.origin + `/UDI_WMS_NEW#/tagCodeBlank?workplaceId=` + this.list[index].workPlaceCode + "&billNo=" + this.list[index].billNo
// this.$router.push( workplaceId) // this.$router.push( workplaceId)
window.open(url, '_blank'); window.open(url, '_blank');
}, },
linkPage(_this, row) { linkPage(_this, row) {
let url = window.location.origin + `#/tagCodeBlank?workplaceId=` + row.workPlaceCode + "&billNo=" + row.billNo let url = window.location.origin + `/UDI_WMS_NEW#/tagCodeBlank?workplaceId=` + row.workPlaceCode + "&billNo=" + row.billNo
window.open(url, '_blank'); window.open(url, '_blank');
}, },
//------------ //------------

@ -347,7 +347,7 @@ export default {
methods: { methods: {
linkPage(_this, row) { linkPage(_this, row) {
let url = window.location.origin + `#/tagCodeBlank?workplaceId=` + row.workPlaceCode+"&billNo="+row.billNo let url = window.location.origin + `/UDI_WMS_NEW#/tagCodeBlank?workplaceId=` + row.workPlaceCode+"&billNo="+row.billNo
window.open(url, '_blank'); window.open(url, '_blank');
}, },
//------------ //------------

@ -106,7 +106,7 @@ export default {
}, },
methods: { methods: {
handleClick(index) { handleClick(index) {
let url = window.location.origin + `#/tagCodeBlank?workplaceId=` + this.stationList[index].workplaceId let url = window.location.origin + `/UDI_WMS_NEW#/tagCodeBlank?workplaceId=` + this.stationList[index].workplaceId
// this.$router.push( workplaceId) // this.$router.push( workplaceId)
window.open(url, '_blank'); window.open(url, '_blank');
}, },

@ -16,9 +16,9 @@
>部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span> >部门&nbsp:&nbsp{{ this.userInfo.deptName }}</span>
<span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户&nbsp:&nbsp
<!-- {{--> <!-- {{-->
<!-- this.userInfo.companyName--> <!-- this.userInfo.companyName-->
<!-- }}--> <!-- }}-->
</span> </span>
<span <span
style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px" style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px"

@ -610,7 +610,7 @@ export default {
this.orderFormData.invWarehouseCode == null this.orderFormData.invWarehouseCode == null
) { ) {
//this.orderFormData.invCode = this.curInvOptions[0].code; //this.orderFormData.invCode = this.curInvOptions[0].code;
this.getBusTypeByInv(); // this.getBusTypeByInv();
this.findCurSpaceList(this.orderFormData.invCode); this.findCurSpaceList(this.orderFormData.invCode);
this.findCurWorkPlaces(); this.findCurWorkPlaces();
} }

@ -334,7 +334,7 @@ export default {
// clearInterval(this.timer) // clearInterval(this.timer)
}, },
linkPage(_this, row) { linkPage(_this, row) {
let url = window.location.origin + `#/tagCodeBlank?workplaceId=` + row.workPlaceCode let url = window.location.origin + `/UDI_WMS_NEW#/tagCodeBlank?workplaceId=` + row.workPlaceCode
window.open(url, '_blank'); window.open(url, '_blank');
}, },
//------------ //------------

@ -89,7 +89,7 @@ export default {
}); });
}, },
handleClick(index) { handleClick(index) {
let url = window.location.origin + `#/tagCodeBlank?workplaceId=` + this.stationList[index].workplaceId let url = window.location.origin + `/UDI_WMS_NEW#/tagCodeBlank?workplaceId=` + this.stationList[index].workplaceId
// this.$router.push( workplaceId) // this.$router.push( workplaceId)
window.open(url, '_blank'); window.open(url, '_blank');
}, },

Loading…
Cancel
Save