shawenguan 2 жил өмнө
parent
commit
1268e30521

+ 2 - 2
BoxJsSub/gandart.json

@@ -853,10 +853,10 @@
                 },
                 {
                     "id": "lkGandartSearchCollectionRecordId",
-                    "name": "产品铸造某一记录ID",
+                    "name": "产品铸造记录ID",
                     "val": "",
                     "type": "text",
-                    "desc": "产品铸造某一记录ID"
+                    "desc": "产品铸造记录ID"
                 },
                 {
                     "id": "lkGandartSearchCollectionCastingName",

+ 4 - 2
Scripts/gandart/gandartCheck.js

@@ -92,6 +92,8 @@ async function all() {
             }
         }
     }
+    lk.msg(``);
+    lk.done();
 }
 
 async function getCollectionDetailsByCastingId(castingId) {
@@ -166,11 +168,11 @@ async function getCollectionDetailsByTranRecordId(transactionRecordId) {
                         lk.appendNotifyInfo(`❌请求产品信息发生错误,请稍后再试`);
                     } else {
                         let info = JSON.parse(data);
-                        if (info.code == 0) {
+                        if (info.success) {
                             let obj = info.obj;
                             let msgTips = `[${obj.collectionName}]发行量:${obj.collectionAmount},流通量:${obj.collectionCirculation}`;
                             lk.appendNotifyInfo(`🎉${msgTips}`);
-                            retData = info;
+                            retData = obj;
                         } else {
                             lk.appendNotifyInfo(`❌请求产品信息失败,请稍后再试`);
                         }