Commit a060b428 authored by 沈良进's avatar 沈良进
parents aee9ebd2 c0a13686
...@@ -769,6 +769,14 @@ ...@@ -769,6 +769,14 @@
<i v-loading="msg.OrderId==item.OrderId&&loading2"></i> <i v-loading="msg.OrderId==item.OrderId&&loading2"></i>
<span class="c20C997">收损</span> <span class="c20C997">收损</span>
</div> </div>
<div
v-if="item.OrderStatus >1 && item.OrderStatus != 3
&&pagesTitle=='OP'&&is_correlationOP"
class="row-c cursor-pointer radius5 change py5"
@click="clickCorrelation(item)"
>
<span class="c059FF6">关联OP</span>
</div>
</div> </div>
<!-- <div v-if="item.OrderStatus==2" class="column-jac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997"> <!-- <div v-if="item.OrderStatus==2" class="column-jac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997">
<div class="mb5">已支付</div> <div class="mb5">已支付</div>
...@@ -885,13 +893,17 @@ ...@@ -885,13 +893,17 @@
</div> </div>
</el-dialog> </el-dialog>
<offset :isShow="cdState" :obj="queryObj" @close="cdState=false"></offset> <offset :isShow="cdState" :obj="queryObj" @close="cdState=false"></offset>
<correlationOP :isShowCorrelation="isShowCorrelation" :CorrelationObj="CorrelationObj"
@close="isShowCorrelation=false"
@success="success"></correlationOP>
</div> </div>
</template> </template>
<script> <script>
import offset from '../../public/offset.vue'; import offset from '../../public/offset.vue';
import more from '../../public/more.vue'; import more from '../../public/more.vue';
import correlationOP from './correlationOP.vue';
export default { export default {
components: { offset, more }, components: { offset, more, correlationOP },
props: ["OrderList","pagesTitle"], props: ["OrderList","pagesTitle"],
data() { data() {
return { return {
...@@ -933,6 +945,9 @@ export default { ...@@ -933,6 +945,9 @@ export default {
loading: false, loading: false,
fileList:[], fileList:[],
GuestFile: '', GuestFile: '',
isShowCorrelation: false,
CorrelationObj:{},
is_correlationOP: false
}; };
}, },
watch: { watch: {
...@@ -946,6 +961,18 @@ export default { ...@@ -946,6 +961,18 @@ export default {
} }
}, },
methods: { methods: {
close(){
this.isShowCorrelation = false
},
success(){
this.close()
this.$emit('success')
},
clickCorrelation(item){
this.CorrelationObj = item
this.CorrelationObj.TypeNum = 1
this.isShowCorrelation = true
},
isOffset(row, index, num,name){ isOffset(row, index, num,name){
this.makeAdocument(row, index, num, name, 'Offset') this.makeAdocument(row, index, num, name, 'Offset')
setTimeout(()=>{ setTimeout(()=>{
...@@ -1308,6 +1335,10 @@ export default { ...@@ -1308,6 +1335,10 @@ export default {
}, },
mounted() { mounted() {
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
let ActionMenuCode = this.userInfo.ActionMenuCode;
if (ActionMenuCode.indexOf('is_correlationOP') != -1 ){
this.is_correlationOP = true
}
//自适应高度调节 //自适应高度调节
this.com_onresize(); this.com_onresize();
window.onresize = () => { window.onresize = () => {
......
...@@ -722,6 +722,14 @@ ...@@ -722,6 +722,14 @@
<i v-loading="msg.OrderId==item.OrderId&&loading2"></i> <i v-loading="msg.OrderId==item.OrderId&&loading2"></i>
<span class="c20C997">收损</span> <span class="c20C997">收损</span>
</div> </div>
<div
v-if="item.OrderStatus >1 && item.OrderStatus != 3
&&pagesTitle!='销售'&&is_correlationOP"
class="row-c cursor-pointer radius5 change py5"
@click="clickCorrelation(item)"
>
<span class="c059FF6">关联OP</span>
</div>
</div> </div>
</div> </div>
<div class="mt mb20 bgf5 pa15 row-c" v-if="item.CancelRemark"> <div class="mt mb20 bgf5 pa15 row-c" v-if="item.CancelRemark">
...@@ -820,12 +828,16 @@ ...@@ -820,12 +828,16 @@
</div> </div>
</el-dialog> </el-dialog>
<offset :isShow="cdState" :obj="queryObj" @close="cdState=false"></offset> <offset :isShow="cdState" :obj="queryObj" @close="cdState=false"></offset>
<correlationOP :isShowCorrelation="isShowCorrelation" :CorrelationObj="CorrelationObj"
@close="isShowCorrelation=false"
@success="success"></correlationOP>
</div> </div>
</template> </template>
<script> <script>
import offset from '../../../public/offset.vue'; import offset from '../../../public/offset.vue';
import correlationOP from '../../../Hotel/reservation/correlationOP.vue';
export default { export default {
components: { offset }, components: { offset,correlationOP },
props: ["OrderList","pagesTitle"], props: ["OrderList","pagesTitle"],
data() { data() {
return { return {
...@@ -934,7 +946,10 @@ ...@@ -934,7 +946,10 @@
], ],
items: null, items: null,
typeState: '', typeState: '',
Title: '' Title: '',
isShowCorrelation: false,
CorrelationObj:{},
is_correlationOP: false
}; };
}, },
watch: { watch: {
...@@ -948,6 +963,18 @@ ...@@ -948,6 +963,18 @@
} }
}, },
methods: { methods: {
close(){
this.isShowCorrelation = false
},
success(){
this.close()
this.$emit('success')
},
clickCorrelation(item){
this.CorrelationObj = item
this.CorrelationObj.TypeNum = 3
this.isShowCorrelation = true
},
isOffset(row, index, num){ isOffset(row, index, num){
this.makeAdocument(row, index, num,'Offset') this.makeAdocument(row, index, num,'Offset')
setTimeout(()=>{ setTimeout(()=>{
...@@ -1361,6 +1388,10 @@ ...@@ -1361,6 +1388,10 @@
}, },
mounted() { mounted() {
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
let ActionMenuCode = this.userInfo.ActionMenuCode;
if (ActionMenuCode.indexOf('is_correlationOP') != -1 ){
this.is_correlationOP = true
}
//自适应高度调节 //自适应高度调节
this.com_onresize(); this.com_onresize();
window.onresize = () => { window.onresize = () => {
......
...@@ -812,6 +812,14 @@ ...@@ -812,6 +812,14 @@
<i v-loading="msg.OrderId == item.OrderId && loading2"></i> <i v-loading="msg.OrderId == item.OrderId && loading2"></i>
<span class="c20C997">收损</span> <span class="c20C997">收损</span>
</div> </div>
<div
v-if="item.OrderStatus >1 && item.OrderStatus != 3
&&pagesTitle=='OP'&&is_correlationOP"
class="row-c cursor-pointer radius5 change py5"
@click="clickCorrelation(item)"
>
<span class="c059FF6">关联OP</span>
</div>
<!-- <template v-if="item.OrderStatus==2"> <!-- <template v-if="item.OrderStatus==2">
<div class="column-jac fz12 flex-s c20C997"> <div class="column-jac fz12 flex-s c20C997">
<div class="mb5">已支付</div> <div class="mb5">已支付</div>
...@@ -969,13 +977,17 @@ ...@@ -969,13 +977,17 @@
</div> </div>
</el-dialog> </el-dialog>
<offset :isShow="cdState" :obj="queryObj" @close="cdState=false"></offset> <offset :isShow="cdState" :obj="queryObj" @close="cdState=false"></offset>
<correlationOP :isShowCorrelation="isShowCorrelation" :CorrelationObj="CorrelationObj"
@close="isShowCorrelation=false"
@success="success"></correlationOP>
</div> </div>
</template> </template>
<script> <script>
import offset from '../../public/offset.vue'; import offset from '../../public/offset.vue';
import correlationOP from '../../Hotel/reservation/correlationOP.vue';
export default { export default {
components: { components: {
offset offset,correlationOP
}, },
props: ["OrderList", "pagesTitle"], props: ["OrderList", "pagesTitle"],
data() { data() {
...@@ -1086,7 +1098,10 @@ export default { ...@@ -1086,7 +1098,10 @@ export default {
typeState: '', typeState: '',
loadingDZP: false, loadingDZP: false,
uploadOrderId: 0, uploadOrderId: 0,
GuestFile: '' GuestFile: '',
isShowCorrelation: false,
CorrelationObj:{},
is_correlationOP: false
}; };
}, },
watch: { watch: {
...@@ -1100,6 +1115,18 @@ export default { ...@@ -1100,6 +1115,18 @@ export default {
} }
}, },
methods: { methods: {
close(){
this.isShowCorrelation = false
},
success(){
this.close()
this.$emit('success')
},
clickCorrelation(item){
this.CorrelationObj = item
this.CorrelationObj.TypeNum = 2
this.isShowCorrelation = true
},
isOffset(row, index, num){ isOffset(row, index, num){
this.makeAdocument(row, index, num,'Offset') this.makeAdocument(row, index, num,'Offset')
setTimeout(()=>{ setTimeout(()=>{
...@@ -1525,6 +1552,10 @@ export default { ...@@ -1525,6 +1552,10 @@ export default {
}, },
mounted() { mounted() {
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
let ActionMenuCode = this.userInfo.ActionMenuCode;
if (ActionMenuCode.indexOf('is_correlationOP') != -1 ){
this.is_correlationOP = true
}
//自适应高度调节 //自适应高度调节
this.com_onresize(); this.com_onresize();
window.onresize = () => { window.onresize = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment