|
|
@@ -253,6 +253,18 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ this.customData = copyObject(info)
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ if(this.currentJobType == 'bill'){
|
|
|
+ if(info.action && info.action == 'update'){
|
|
|
+ //已选列表修改花材
|
|
|
+ this.customData.unitPrice = this.customData.unitPrice;
|
|
|
+ }else{
|
|
|
+ this.customData.unitPrice = this.customData.bigPrice;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
//多颜色选项
|
|
|
if(info.variety == 1){
|
|
|
getSjXj({itemId:info.id}).then(res=>{
|
|
|
@@ -265,21 +277,9 @@ export default {
|
|
|
this.$refs.selectFlowerGridRef.open('center')
|
|
|
}
|
|
|
})
|
|
|
- return true
|
|
|
+ }else{
|
|
|
+ this.$refs.selectNumPriceRef.open('center')
|
|
|
}
|
|
|
-
|
|
|
- this.$refs.selectNumPriceRef.open('center')
|
|
|
- this.customData = copyObject(info)
|
|
|
- this.$nextTick(()=>{
|
|
|
- if(this.currentJobType == 'bill'){
|
|
|
- if(info.action && info.action == 'update'){
|
|
|
- //已选列表修改花材
|
|
|
- this.customData.unitPrice = this.customData.unitPrice;
|
|
|
- }else{
|
|
|
- this.customData.unitPrice = this.customData.bigPrice;
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
},
|
|
|
confirmAddItemModel(item) {
|
|
|
if (item.index === 0) {
|