|
@@ -1965,10 +1965,18 @@ export default {
|
|
|
background: 'rgba(255,255,255,0.7)'
|
|
|
});
|
|
|
billsCopyBills({ id }).then(res => {
|
|
|
- if (type == '复制费用' || type == '') {
|
|
|
+ let types = typeof type == "string" ? type.split(",") : []
|
|
|
+ // if (type == '复制费用' || type == '') {
|
|
|
+ // res.data.data.preContainersList = []
|
|
|
+ // }
|
|
|
+ // if (type == '复制箱型箱量' || type == '') {
|
|
|
+ // res.data.data.feeCenterListD = []
|
|
|
+ // res.data.data.feeCenterListC = []
|
|
|
+ // }
|
|
|
+ if(types.indexOf("复制箱型箱量")<0){
|
|
|
res.data.data.preContainersList = []
|
|
|
}
|
|
|
- if (type == '复制箱型箱量' || type == '') {
|
|
|
+ if(types.indexOf("复制费用")<0){
|
|
|
res.data.data.feeCenterListD = []
|
|
|
res.data.data.feeCenterListC = []
|
|
|
}
|