Przeglądaj źródła

零售 解决 零售店花材开单没有选择客户也能开单

wangn 5 lat temu
rodzic
commit
82bcb5ceda
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      hdApp/src/admin/billing/affirm.vue

+ 2 - 2
hdApp/src/admin/billing/affirm.vue

@@ -73,7 +73,7 @@
 					<tui-list-cell class="line-cell" :hover="false" :arrow="false">
 					<tui-list-cell class="line-cell" :hover="false" :arrow="false">
 						<view class="tui-title ">结算方式</view>
 						<view class="tui-title ">结算方式</view>
 						<button class="admin-button-com mini-btn" :class="payType==res.id?'blue':'default'" style="margin-right: 10rpx"
 						<button class="admin-button-com mini-btn" :class="payType==res.id?'blue':'default'" style="margin-right: 10rpx"
-														@tap="payType=res.id"  v-for="(res,i) in getDictionariesInfo.htPayWayOption">
+														@tap="payType=res.id"  v-for="(res,i) in getDictionariesInfo.htPayWayOption" :key="i">
 							{{ res.name }}
 							{{ res.name }}
 						</button>
 						</button>
 					</tui-list-cell>
 					</tui-list-cell>
@@ -163,7 +163,7 @@ export default {
 		},
 		},
 		//确定开单
 		//确定开单
 		affirmFormSubmit(){
 		affirmFormSubmit(){
-			if(this.clientInfo==''){uni.showToast({title:'请选择客户!',icon:'none'});return;}
+			// if(this.clientInfo==''){uni.showToast({title:'请选择客户!',icon:'none'});return;}
 			if(this.packingMoney==''){uni.showToast({title:'请输入包装费!',icon:'none'});return;}
 			if(this.packingMoney==''){uni.showToast({title:'请输入包装费!',icon:'none'});return;}
 			if(this.payType==null){uni.showToast({title:'请选择结算方式!',icon:'none'});return;}
 			if(this.payType==null){uni.showToast({title:'请选择结算方式!',icon:'none'});return;}
 			const product = this.selectList.map(ele => {
 			const product = this.selectList.map(ele => {