JXDS18FUJT 2 сар өмнө
parent
commit
3f80ccf228

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

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