|
@@ -114,13 +114,15 @@ export default {
|
|
|
selectCurrent(item,scanEnv=0){
|
|
selectCurrent(item,scanEnv=0){
|
|
|
let style = this.option.style ? this.option.style : 1
|
|
let style = this.option.style ? this.option.style : 1
|
|
|
let book = this.option.book ? this.option.book : 0
|
|
let book = this.option.book ? this.option.book : 0
|
|
|
|
|
+ //显示所有花材,包括没库存的花材
|
|
|
|
|
+ let getAll = this.option.getAll ? this.option.getAll : 0
|
|
|
this.selectStyle = style
|
|
this.selectStyle = style
|
|
|
if(style == 1){
|
|
if(style == 1){
|
|
|
//选择客户并开单情况
|
|
//选择客户并开单情况
|
|
|
if(this.$util.isScanEnv() || scanEnv == 1){
|
|
if(this.$util.isScanEnv() || scanEnv == 1){
|
|
|
this.$util.pageTo({url: '/admin/billing/affirm='+item.id+'&customName='+item.name,type:2})
|
|
this.$util.pageTo({url: '/admin/billing/affirm='+item.id+'&customName='+item.name,type:2})
|
|
|
}else{
|
|
}else{
|
|
|
- this.$util.pageTo({url: '/admin/billing/index2?customId='+item.id+'&customName='+item.name+'&book='+book,type:2})
|
|
|
|
|
|
|
+ this.$util.pageTo({url: '/admin/billing/index2?customId='+item.id+'&customName='+item.name+'&book='+book+'&getAll='+getAll,type:2})
|
|
|
}
|
|
}
|
|
|
}else if(style == 2){
|
|
}else if(style == 2){
|
|
|
//用于选择客户并且需要返回的情况
|
|
//用于选择客户并且需要返回的情况
|