瀏覽代碼

新增参数

JXDS18FUJT 2 月之前
父節點
當前提交
3f80ccf228
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/yeNing/index.vue

+ 3 - 1
src/views/yeNing/index.vue

@@ -21,7 +21,7 @@ const baseUrl =
 const myPhone = new Phone();
 const myPhone = new Phone();
 const request = axios.create();
 const request = axios.create();
 //@ts-ignore
 //@ts-ignore
-window.iosOrder = (dictCode: string, userInfoStr: string) => {
+window.iosOrder = (dictCode: string, userInfoStr: string,goodsType:string) => {
   let userInfoObj: iosOrderUserInfo = JSON.parse(userInfoStr);
   let userInfoObj: iosOrderUserInfo = JSON.parse(userInfoStr);
   //这是没审核的时候
   //这是没审核的时候
   if (Number(userInfoObj.apsw) == 0) {
   if (Number(userInfoObj.apsw) == 0) {
@@ -40,6 +40,7 @@ window.iosOrder = (dictCode: string, userInfoStr: string) => {
             dictCode,
             dictCode,
             userId: userInfoObj.id,
             userId: userInfoObj.id,
             phoneType: myPhone.isIos() ? 1 : 2,
             phoneType: myPhone.isIos() ? 1 : 2,
+            goodsType:goodsType
           },
           },
         }).then((res: any) => {
         }).then((res: any) => {
           if (res.data.code == 200) {
           if (res.data.code == 200) {
@@ -71,6 +72,7 @@ window.iosOrder = (dictCode: string, userInfoStr: string) => {
             dictCode: dictCode,
             dictCode: dictCode,
             phoneType: myPhone.isIos() ? 1 : 2,
             phoneType: myPhone.isIos() ? 1 : 2,
             userId: userInfoObj.id,
             userId: userInfoObj.id,
+            goodsType:goodsType
           },
           },
         }).then((res: any) => {
         }).then((res: any) => {
           if (res.data.code == 200) {
           if (res.data.code == 200) {