Browse Source

no message

linwenxin 7 months ago
parent
commit
d32d481336

+ 3 - 11
src/packageAttachment/pages/applicationParts/applicationPartsForm.vue

@@ -281,17 +281,9 @@ export default {
       this.$api
         .postJson('/app/worker/parts-sales/add', this.form)
         .then(res => {
-          if (res.code === 200) {
-            uni.redirectTo({
-              url: `/packageAttachment/pages/applicationParts/confirmOrder?id=${res.data.id}`
-            })
-          } else {
-            uni.showModal({
-              title: '提示',
-              content: res.message,
-              showCancel: false
-            })
-          }
+          uni.redirectTo({
+            url: `/packageAttachment/pages/orderOfSales/index`
+          })
         })
         .catch(() => {})
     },