|
@@ -7,8 +7,8 @@
|
|
<div class="print-type-title">打印凭证</div>
|
|
<div class="print-type-title">打印凭证</div>
|
|
<div class="print-type-checkbox">
|
|
<div class="print-type-checkbox">
|
|
<el-checkbox-group v-model="ruleForm.type">
|
|
<el-checkbox-group v-model="ruleForm.type">
|
|
- <el-checkbox label="打印身份证(正反面)" name="type" class="label-width" @change="selectType"></el-checkbox>
|
|
|
|
- <el-checkbox label="打印银行卡(正反面)" name="type" class="label-width" @change="selectType"></el-checkbox>
|
|
|
|
|
|
+ <el-checkbox label="打印身份证" name="type" class="label-width" @change="selectType"></el-checkbox>
|
|
|
|
+ <el-checkbox label="打印银行卡" name="type" class="label-width" @change="selectType"></el-checkbox>
|
|
<el-checkbox label="打印结算凭证" name="type" class="label-width" @change="selectType($event)"></el-checkbox>
|
|
<el-checkbox label="打印结算凭证" name="type" class="label-width" @change="selectType($event)"></el-checkbox>
|
|
<el-checkbox label="打印检斤单" name="type" class="label-width" @change="selectType($event)"></el-checkbox>
|
|
<el-checkbox label="打印检斤单" name="type" class="label-width" @change="selectType($event)"></el-checkbox>
|
|
<el-checkbox label="打印回执单" name="type" class="label-width" @change="selectType($event)"></el-checkbox>
|
|
<el-checkbox label="打印回执单" name="type" class="label-width" @change="selectType($event)"></el-checkbox>
|
|
@@ -389,8 +389,8 @@
|
|
|
|
|
|
ruleForm: {
|
|
ruleForm: {
|
|
type: [
|
|
type: [
|
|
- '打印身份证(正反面)',
|
|
|
|
- '打印银行卡(正反面)',
|
|
|
|
|
|
+ '打印身份证',
|
|
|
|
+ '打印银行卡',
|
|
'打印结算凭证',
|
|
'打印结算凭证',
|
|
'打印检斤单',
|
|
'打印检斤单',
|
|
'打印回执单'
|
|
'打印回执单'
|
|
@@ -702,7 +702,7 @@
|
|
} = param
|
|
} = param
|
|
const sums = []
|
|
const sums = []
|
|
var _number = []
|
|
var _number = []
|
|
- if (this.warehouseName == "鲅鱼圈金信库") {
|
|
|
|
|
|
+ if (this.warehouseName == '鲅鱼圈金信库') {
|
|
_number = [11, 12, 16, 17, 18]
|
|
_number = [11, 12, 16, 17, 18]
|
|
} else {
|
|
} else {
|
|
_number = [10, 11, 15, 16, 17]
|
|
_number = [10, 11, 15, 16, 17]
|
|
@@ -764,10 +764,10 @@
|
|
selectType(val) {
|
|
selectType(val) {
|
|
for (let i = 0; i < this.ruleForm.type.length; i++) {
|
|
for (let i = 0; i < this.ruleForm.type.length; i++) {
|
|
switch (this.ruleForm.type[i]) {
|
|
switch (this.ruleForm.type[i]) {
|
|
- case '打印身份证(正反面)':
|
|
|
|
|
|
+ case '打印身份证':
|
|
this.isShowPrintType1 = !this.isShowPrintType1
|
|
this.isShowPrintType1 = !this.isShowPrintType1
|
|
break
|
|
break
|
|
- case '打印银行卡(正反面)':
|
|
|
|
|
|
+ case '打印银行卡':
|
|
this.isShowPrintType2 = !this.isShowPrintType2
|
|
this.isShowPrintType2 = !this.isShowPrintType2
|
|
break
|
|
break
|
|
case '打印结算凭证':
|
|
case '打印结算凭证':
|
|
@@ -775,13 +775,16 @@
|
|
case '打印检斤单':
|
|
case '打印检斤单':
|
|
this.isShowPrintType4 = !this.isShowPrintType4
|
|
this.isShowPrintType4 = !this.isShowPrintType4
|
|
break
|
|
break
|
|
|
|
+ case '打印回执单':
|
|
|
|
+ this.isShowPrintType5 = !this.isShowPrintType5
|
|
|
|
+ break
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
typePrintCannelClick() {
|
|
typePrintCannelClick() {
|
|
this.isShowPrintType = false
|
|
this.isShowPrintType = false
|
|
},
|
|
},
|
|
- typePrintClick(type) {
|
|
|
|
|
|
+ async typePrintClick(type) {
|
|
// type 1批量打印 0单个打印
|
|
// type 1批量打印 0单个打印
|
|
// this.isShowPrint = true
|
|
// this.isShowPrint = true
|
|
this.selectCustomerList = []
|
|
this.selectCustomerList = []
|
|
@@ -790,7 +793,7 @@
|
|
let index1 = 0
|
|
let index1 = 0
|
|
let index2 = 0
|
|
let index2 = 0
|
|
for (let i = 0; i < this.modification.length; i++) {
|
|
for (let i = 0; i < this.modification.length; i++) {
|
|
- getCustomerLook({
|
|
|
|
|
|
+ await getCustomerLook({
|
|
id: this.modification[i].identityId,
|
|
id: this.modification[i].identityId,
|
|
authenticationStatusKey: 7,
|
|
authenticationStatusKey: 7,
|
|
})
|
|
})
|
|
@@ -806,7 +809,7 @@
|
|
// this.isShowPrint = true
|
|
// this.isShowPrint = true
|
|
this.printBig()
|
|
this.printBig()
|
|
}
|
|
}
|
|
- getpaymentexamine({
|
|
|
|
|
|
+ getpaymentexamine({
|
|
id: this.modification[i].id,
|
|
id: this.modification[i].id,
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|