Jelajahi Sumber

[bug-2218] 又生成了一个样本编号尾号是00的样本

Li Yuan 1 tahun lalu
induk
melakukan
1d0c9f8acb
1 mengubah file dengan 2 tambahan dan 8 penghapusan
  1. 2 8
      pages/jiance/order.vue

+ 2 - 8
pages/jiance/order.vue

@@ -587,11 +587,8 @@
 			},
 			//获取委托编号
 			getLhwtdh() {
-				let smsParams = {
-					alias: "lhwtdh"
-				};
 				let this_ = this
-				this.$http.post("/ibps/business/v3/jc/sys/getNextIdByAlias", smsParams).then(res => {
+				this.$http.get("/ibps/platform/v3/identity/getNextIdByAlias?alias=lhwtdh").then(res => {
 					if (res.data.state == 200) {
 						const data = res.data.data
 						this_.form.weiTuoBianHao = data
@@ -604,11 +601,8 @@
 					title: '生成样品编号中',
 					mask: true
 				})
-				let smsParams = {
-					alias: "lhypbh"
-				};
 				let this_ = this
-				this.$http.post("/ibps/business/v3/jc/sys/getNextIdByAlias", smsParams).then(res => {
+				this.$http.get("/ibps/platform/v3/identity/getNextIdByAlias?alias=lhypbh").then(res => {
 					if (res.data.state == 200) {
 						const data = res.data.data
 						uni.hideLoading()