shish 11 months ago
parent
commit
75cc5ededf

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

@@ -661,7 +661,7 @@ export default {
       let orderId = this.option.orderId  ? this.option.orderId : 0
 			let book = this.option.book ? this.option.book : 0
 			let reduceStock = this.option.reduceStock?this.option.reduceStock:0
-      params = {...params,orderId:orderId,book:book,reduceStock:reduceStock,version:2}
+      params = {...params,orderId:orderId,book:book,reduceStock:reduceStock,version:3}
 
       uni.showLoading({mask:true})
       createOrder(params).then((res) => {

+ 1 - 1
hdApp/src/admin/order/workOrder.vue

@@ -222,7 +222,7 @@ export default {
       that.$util.confirmModal({content:'确认提交?'},() => {
           uni.showLoading({mask:true})
           let name = that.kindSelectedData.name ? that.kindSelectedData.name : ''
-          createOrder({...that.form,unitGoodsPrice:this.goodsPrice,modifyPrice:modifyPrice,name:name,kindName:name,customId:customId}).then((res) => {
+          createOrder({...that.form,unitGoodsPrice:this.goodsPrice,modifyPrice:modifyPrice,name:name,kindName:name,customId:customId,needWork:1,version:3}).then((res) => {
             uni.hideLoading()
             that.pageTo({url: '/admin/order/workOrderResult',type:2,query:{id:res.data.id}})
           })

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

@@ -299,7 +299,7 @@ export default {
 			uni.showLoading({mask:false})
 			let product = this.selectList.map(i=>({ productId:i.id, unitType: i.unitType||0, num: i.currentNum, property: i.property, unitPrice: i.unitPrice }))
 			//isCashier=1时收银台播放 总金额139元,请扫码付款
-			createOrder({...params,product:JSON.stringify(product),isCashier:1,customId:this.customId,version:2}).then(res=>{
+			createOrder({...params,product:JSON.stringify(product),isCashier:1,customId:this.customId,version:3}).then(res=>{
 				uni.hideLoading()
 				if(res.code == 1){
 					if(res.data.diff && !this.$util.isEmpty(res.data.diff)){