Browse Source

客户编码获取 2022-06-22 sxm

master
[li_she] 4 years ago
parent
commit
54582973aa
  1. 5
      src/views/modules/labelPrint/roll-label.vue
  2. 2
      src/views/modules/yieldReport/otherReport/fqc_produce_report_normal.vue

5
src/views/modules/labelPrint/roll-label.vue

@ -291,7 +291,7 @@ export default {
orderInfo: {
userName: this.$store.state.user.name,
rollNo: '',
customerId: '',
customerId: '0000',
totalQty: 0,
perBoxQty: 0,
boxQty: 0,
@ -470,6 +470,7 @@ export default {
if (data.code === 0) {
getRollCustomer(rollNoList[0]).then(({data}) => {
if (data.code === 0){
this.orderInfo.customerId = data.data.customerId ? data.data.customerId : '*'
let query = {
customerId: data.data.customerId ? data.data.customerId : '*',
reportFamily: '卷标签'
@ -509,7 +510,7 @@ export default {
reportId: val.reportid,
defaultFlag: val.DefaultFlag,
reportFile: val.Reportfile,
reportFamily: '外箱标签',
reportFamily: '标签',
customerId: this.orderInfo.customerId,
}
this.selectReportFileList.push(query)

2
src/views/modules/yieldReport/otherReport/fqc_produce_report_normal.vue

@ -263,7 +263,7 @@
width="115"
:label="'操作'">
<template slot-scope="scope">
<a class="customer-a"
<a v-if="scope.row.virtualRollFlag=='N'" class="customer-a"
@click="rollPrintLabel(scope.row)"
>打印</a>
<a class="customer-a" v-if="operatorData.operatorName != '' && scope.row.finishedFlag != 'N'"

Loading…
Cancel
Save