@@ -1,7 +1,7 @@
const dev = {
// baseUrl: 'http://192.168.1.120:8090/',
baseUrl: 'https://www.zthymaoyi.com',
- baseUrlNew: 'http://192.168.1.120:8090/',
+ baseUrlNew: 'http://192.168.1.110:8090/',
h5Appid: 'wxb66b599f7f61b46f',
debug: false
}
@@ -314,10 +314,26 @@
if (res.confirm) {
that.$api.doRequest('post','/purchaseOrder/api/insertPurchaseOrder', that.purchaseOrder).then(res => {
if(res.data.code==200){
- uni.showToast({
- title: '提交成功,等待买方回复',
- icon: 'none',
- duration: 2000
+ that.$api.doRequest('post','/purchaseOrder/api/submitPurchaseOrder', {id:res.data.data}).then(res1 => {
+ if(res1.data.code==200){
+ uni.showToast({
+ title: '提交成功,等待买方回复',
+ icon: 'none',
+ duration: 2000
+ })
+ }else{
+ title: res.data.message,
+ }
+ }).catch(res => {
})
// uni.navigateBack();
}else{
@@ -283,13 +283,13 @@
success: (res) => {
this.$api.doRequest('post', '/searchRecordsInfo/api/deleteSearchRecordsInfo',{commonId:this.userInfo.id}).then(res => {
- that.oldKeywordList=[]
uni.showToast({
title: '清除历史搜索成功',
icon:'none',
duration: 2000
+ that.oldKeywordList.records=[]
.catch(res => {