|
@@ -192,15 +192,15 @@ export default {
|
|
|
currentArray[currentIndex].bigPrice = this.globalItemList[currentId].bigPrice
|
|
currentArray[currentIndex].bigPrice = this.globalItemList[currentId].bigPrice
|
|
|
currentArray[currentIndex].smallPrice = this.globalItemList[currentId].smallPrice
|
|
currentArray[currentIndex].smallPrice = this.globalItemList[currentId].smallPrice
|
|
|
//已经记住的花材,价格修改之后,被记住的价格也要同步修改(除了采购模块)
|
|
//已经记住的花材,价格修改之后,被记住的价格也要同步修改(除了采购模块)
|
|
|
- if(this.selectJobType != 'purchase'){
|
|
|
|
|
- if(!this.$util.isEmpty(currentArray[currentIndex].userPrice)){
|
|
|
|
|
- if(currentArray[currentIndex].bigCount && Number(currentArray[currentIndex].bigCount)>0){
|
|
|
|
|
- currentArray[currentIndex].userPrice = this.globalItemList[currentId].bigPrice
|
|
|
|
|
- }else{
|
|
|
|
|
- currentArray[currentIndex].userPrice = this.globalItemList[currentId].smallPrice
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if(this.selectJobType != 'purchase'){
|
|
|
|
|
+ // if(!this.$util.isEmpty(currentArray[currentIndex].userPrice)){
|
|
|
|
|
+ // if(currentArray[currentIndex].bigCount && Number(currentArray[currentIndex].bigCount)>0){
|
|
|
|
|
+ // currentArray[currentIndex].userPrice = this.globalItemList[currentId].bigPrice
|
|
|
|
|
+ // }else{
|
|
|
|
|
+ // currentArray[currentIndex].userPrice = this.globalItemList[currentId].smallPrice
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
this.setSelectInfo({ selectJobType: this.selectJobType, info: currentInfo,selectJobId:this.selectJobId })
|
|
this.setSelectInfo({ selectJobType: this.selectJobType, info: currentInfo,selectJobId:this.selectJobId })
|
|
@@ -313,6 +313,12 @@ export default {
|
|
|
if(this.py.indexOf('白色') == 0 && this.py.length <= 2){
|
|
if(this.py.indexOf('白色') == 0 && this.py.length <= 2){
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
+ if(this.py.indexOf('cs') == 0 && this.py.length <= 2){
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if(this.py.indexOf('橙色') == 0 && this.py.length <= 2){
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
if(this.py.indexOf('yj') == 0 && this.py.length <= 2){
|
|
if(this.py.indexOf('yj') == 0 && this.py.length <= 2){
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|