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

+ 2 - 2
ghsApp/src/admin/item/sendStock.vue

@@ -41,7 +41,7 @@
 				<button class="admin-button-com big blue" @click="toSend()" 
 				<button class="admin-button-com big blue" @click="toSend()" 
 				style="margin-left:58upx;padding:30upx 65upx; 30upx 65upx;" >分配</button>
 				style="margin-left:58upx;padding:30upx 65upx; 30upx 65upx;" >分配</button>
 			</div>
 			</div>
-			<view v-if="remain>=0" style="width:200upx;position:fixed;bottom:40upx;left:15upx;z-index:99999;font-size:32upx;">
+			<view v-if="remain>=0" style="width:200upx;position:fixed;bottom:40upx;left:20upx;z-index:99999;font-size:32upx;">
 				还剩{{ remain }}
 				还剩{{ remain }}
 			</view>
 			</view>
 		</view>
 		</view>
@@ -185,7 +185,7 @@
 
 
 							let jsonStock = JSON.stringify(stockList);
 							let jsonStock = JSON.stringify(stockList);
 							let name = this.option.name ? this.option.name : ''
 							let name = this.option.name ? this.option.name : ''
-							checkOrderApi({pdType:'',itemInfo:jsonStock,remark:name+'分配增加库存'}).then(res => {
+							checkOrderApi({changeType:'add',pdType:'',itemInfo:jsonStock,remark:name+'分配增加库存'}).then(res => {
 								if(res.code == 1){
 								if(res.code == 1){
 									this.$msg(res.msg)
 									this.$msg(res.msg)
 									setTimeout(function(){
 									setTimeout(function(){