Bläddra i källkod

210920 單品新增修改fix

yukyo0821 3 år sedan
förälder
incheckning
752571b8c4
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      backstage/static/js/yo.js

+ 6 - 0
backstage/static/js/yo.js

@@ -460,11 +460,17 @@ function ParseProductSection(inContent) {
     });
 
     //敘述
+    $("#swfDesc").val("");
     if ($("[class='description']", aa).length > 0) {
         $("#swfDesc").val($(".description", aa)[0].innerHTML.trim().replaceAll('<b>', '').replaceAll('</b>', ''));
     }
     //alert(editorBlocks);
     //其他
+    $("#swfPrice").val("");
+    $("#swfColor").val("");
+    $("#swfSize").val("");
+    $("#swfMat").val("");
+    $("#swfMemo").val("");
     if ($("[class='detail']", aa).length > 0) {
         onodes = $("[class='detail']", aa)[0].childNodes;
         for (i = 0; i < onodes.length; i++) {