shish 3 سال پیش
والد
کامیت
4d0ae9e168
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      ghsApp/src/admin/item/sendStock.vue

+ 4 - 1
ghsApp/src/admin/item/sendStock.vue

@@ -44,6 +44,9 @@
 			<view v-if="remain>=0" style="width:200upx;position:fixed;bottom:40upx;left:20upx;z-index:99999;font-size:32upx;">
 				还剩{{ remain }}
 			</view>
+			<view v-else style="width:200upx;position:fixed;bottom:40upx;left:20upx;z-index:99999;font-size:32upx;color:red;">
+				已超{{ abs(remain) }}
+			</view>
 		</view>
 	</view>
 	</template>
@@ -189,7 +192,7 @@
 							let jsonStock = JSON.stringify(stockList);
 							let name = this.option.name ? this.option.name : ''
 							let motherId = this.option.id ? this.option.id : 0
-							sendItemStock({pdType:'',itemInfo:jsonStock,motherId:motherId,remark:name+'分配库存'}).then(res => {
+							sendItemStock({pdType:'',itemInfo:jsonStock,motherId:motherId,remark:name+' 分配库存'}).then(res => {
 								if(res.code == 1){
 									this.$msg(res.msg)
 									setTimeout(function(){