shish 1 год назад
Родитель
Сommit
4ecd34e3a4
2 измененных файлов с 6 добавлено и 2 удалено
  1. 3 1
      ghsPad/src/pages/home/components/console.vue
  2. 3 1
      hdPad/src/pages/home/components/console.vue

+ 3 - 1
ghsPad/src/pages/home/components/console.vue

@@ -6,7 +6,7 @@
 	<view class="active2" :class="[fastAction==1 ? 'hand-fast' : 'hand']" @click="handOrder()" v-if="globalHasHand == 0">挂单</view>
 	<view class="active2" :class="[fastAction==1 ? 'hand-fast' : 'hand']" @click="handOrder()" v-if="globalHasHand == 0">挂单</view>
 	<view class="active2" :class="[fastAction==1 ? 'out-fast' : 'out']" @click="getHandOrder()" v-else>取单</view>
 	<view class="active2" :class="[fastAction==1 ? 'out-fast' : 'out']" @click="getHandOrder()" v-else>取单</view>
 	<view class="active" @click="showCustomPop" style="background-color:#3385FF;color:white;">选客</view>
 	<view class="active" @click="showCustomPop" style="background-color:#3385FF;color:white;">选客</view>
-	<view class="active" @click="part" style="border:1upx solid #1680b3;color:#1680b3">拆散</view>
+	<view class="active" @click="part()" style="border:1upx solid black;color:black">拆散</view>
 	<view class="active" @click="fastCreate" style="font-size:8upx;">快捷开单</view>
 	<view class="active" @click="fastCreate" style="font-size:8upx;">快捷开单</view>
     <view class="active" @click="clearItemFn" style="border:1upx solid #636161;color:#636161;">清空</view>
     <view class="active" @click="clearItemFn" style="border:1upx solid #636161;color:#636161;">清空</view>
 
 
@@ -181,6 +181,7 @@ export default {
 					this.removeFromSaveDirect()
 					this.removeFromSaveDirect()
 					this.$refs.myPartRef.close()
 					this.$refs.myPartRef.close()
 					this.$msg("拆散成功")
 					this.$msg("拆散成功")
+					this.$emit('updateRightItem')
 				}
 				}
 			})
 			})
 		},
 		},
@@ -209,6 +210,7 @@ export default {
 					this.removeFromSaveDirect()
 					this.removeFromSaveDirect()
 					this.$refs.wastageRef.close()
 					this.$refs.wastageRef.close()
 					this.$msg("报损成功")
 					this.$msg("报损成功")
+					this.$emit('updateRightItem')
 				}
 				}
 			})
 			})
 		},
 		},

+ 3 - 1
hdPad/src/pages/home/components/console.vue

@@ -8,7 +8,7 @@
 	<view class="active2" :class="[fastAction==1 ? 'out-fast' : 'out']" @click="getHandOrder()" v-else>取单</view>
 	<view class="active2" :class="[fastAction==1 ? 'out-fast' : 'out']" @click="getHandOrder()" v-else>取单</view>
     <view class="active" @click="toWastage" style="color:#f1a313;border:1upx solid #f1a313;">报损</view>
     <view class="active" @click="toWastage" style="color:#f1a313;border:1upx solid #f1a313;">报损</view>
 	<view class="active" @click="showCustomPop()" style="background-color: #09C567;border:1upx sold #09C567;color:white;">选客</view>
 	<view class="active" @click="showCustomPop()" style="background-color: #09C567;border:1upx sold #09C567;color:white;">选客</view>
-	<view class="active" @click="part()" style="border:1upx solid #1680b3;color:#1680b3">拆散</view>
+	<view class="active" @click="part()" style="border:1upx solid black;color:black">拆散</view>
 	<view class="active" @click="fastCreate()" style="font-size:9upx;">快捷开单</view>
 	<view class="active" @click="fastCreate()" style="font-size:9upx;">快捷开单</view>
 	<view class="active" @click="gatheringFn()" style="color:#3385FF;border:1upx solid #3385FF;">收款</view>
 	<view class="active" @click="gatheringFn()" style="color:#3385FF;border:1upx solid #3385FF;">收款</view>
     <view class="active" @click="clearItemFn" style="color:#636161;border:1upx solid #636161;">清空</view>
     <view class="active" @click="clearItemFn" style="color:#636161;border:1upx solid #636161;">清空</view>
@@ -194,6 +194,7 @@ export default {
 					this.removeFromSaveDirect()
 					this.removeFromSaveDirect()
 					this.$refs.myPartRef.close()
 					this.$refs.myPartRef.close()
 					this.$msg("拆散成功")
 					this.$msg("拆散成功")
+					this.$emit('updateRightItem')
 				}
 				}
 			})
 			})
 		},
 		},
@@ -355,6 +356,7 @@ export default {
 						this.removeFromSaveDirect()
 						this.removeFromSaveDirect()
 						this.$refs.wastageRef.close()
 						this.$refs.wastageRef.close()
 						this.$msg("报损成功")
 						this.$msg("报损成功")
+						this.$emit('updateRightItem')
 					}
 					}
 				})
 				})
 			}else{
 			}else{