{"id":6458,"date":"2024-08-08T07:01:01","date_gmt":"2024-08-07T23:01:01","guid":{"rendered":""},"modified":"2024-08-08T07:01:01","modified_gmt":"2024-08-07T23:01:01","slug":"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39","status":"publish","type":"post","link":"https:\/\/mushiming.com\/6458.html","title":{"rendered":"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39"},"content":{"rendered":"

\n <\/path> \n<\/svg> <\/p>\n

\u5e73\u65f6\u6211\u4eec\u5728\u7f51\u4e0a\u5e73\u53f0\u8d2d\u7269\uff0c\u6bcf\u4e00\u8ba2\u5355\u5404\u79cd\u5355\u53f7\u90fd\u6709\uff0c\u4f8b\u5982\uff1a\u7269\u6d41\u5355\u53f7\uff0c\u4e1a\u52a1\u5355\u53f7\uff0c\u7b49\u7b49\uff0c
\u5982\u679c\u5728\u6dd8\u5b9d\u4e0b\u5355\u65f6\u4f7f\u7528\u4e86\u82b1\u5457\u652f\u4ed8\uff0c\u8fd8\u8981\u6709\u4e2a\u82b1\u5457\u5355\u3002
\u8fd9\u4e9b\u5355\u53f7\uff0c\u751f\u6210\u90fd\u662f\u6709\u4e00\u5b9a\u89c4\u5219\u7684\uff0c\u81f3\u4e8e\u89c4\u5219\u90a3\u662f\u4eba\u5bb6\u516c\u53f8\u5b9a\u7684\u4e0e\u6211\u4eec\u65e0\u5173\uff0c\u4f46\u662f\u8fd9\u4e9b\u5355\u53f7\u90fd\u662f\u552f\u4e00\u7684\u3002
\u76ee\u524d\u6211\u5728\u9879\u76ee\u5b9e\u8bad\u4e2d\uff0c\u4e5f\u6709\u751f\u6210\u7c7b\u4f3c\u5355\u53f7\u7684\u60c5\u51b5\uff1b
\u6211\u662f\u901a\u8fc7\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\u7684{yyyy}{MM}{DD}{HH}{mm}{ss}\u5e74\u6708\u65e5\u65f6\u5206\u79d2\u62fc\u63a5\u67d0\u683c\u5f0f\u5b9e\u73b0\u7684
\u81f3\u4e8e\u83b7\u53d6\u7684\u65b9\u6cd5\u548c\u5c5e\u6027\u5c31\u4e0d\u8bf4\u4e86\uff0c\u524d\u9762\u6709\uff0cCSDN\u7684\u535a\u5ba2\u4e0a\u4e00\u641c\u4e5f\u6709\u5927\u5806\uff1b
\u6ce8\u610f\u4e0b\u9762\u7684\u65b9\u6cd5\u662f\u5b58\u5728\u95ee\u9898\u7684\u3002
\"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39
\/\/\u83b7\u53d6\u65e5\u671f\u65f6\u95f4\u62fc\u63a5\u6210\u7279\u5b9a\u683c\u5f0f
function SetDateNumder() {
\n
var date = new Date();
var strmonth = date.getMonth() + 1;\/\/\u83b7\u53d6\u6708\u4efd
var strDate = date.getDate();\/\/\u83b7\u53d6\u65e5\u671f
var strMinute = date.getMinutes();\/\/\u83b7\u53d6\u5206
var strSeconde = date.getSeconds();\/\/\u83b7\u53d6\u79d2
if (strmonth >= 1 && strmonth <= 9) {
\n
strmonth = \u201c0\u201d + strmonth;
}
if (strDate >= 1 && strDate <= 9) {
\n
strDate = \u201c0\u201d + strDate;
}
if (strMinute >= 1 && strMinute <= 9) {
\n
strMinute = \u201c0\u201d + strMinute;
}
if (strSeconde >= 1 && strSeconde <= 9) {
\n
strSeconde = \u201c0\u201d + strSeconde;
}
\/\/\u62fc\u63a5\u6210{yyyy}{MM}{dd}{HH}{mm}{ss}\u683c\u5f0f
var NewDate = date.getFullYear() + strmonth + strDate + date.getHours() +
strMinute + strSeconde;
\/\/\u8fd4\u56de\u62fc\u63a5\u7684\u5b57\u7b26\u4e32
return NewDate;
};<\/p>\n

 \/\/\u9875\u9762\u8f7d\u5165\u4e8b\u4ef6\uff08\u8d4b\u503c\u6587\u672c\u6846\u663e\u793a\u5728\u9875\u9762\uff09 $(function () { console.log(SetDateNumder()); \/\/\u9500\u552e\u5355\u7f16\u53f7 var DateNumber = \"XSD\" + SetDateNumder(); \/\/\u8d4b\u503c document.getElementById(\"txbBusiNo\").value = DateNumber; }); \/\/\u9875\u9762\u8f7d\u5165\u4e8b\u4ef6\uff08\u8d4b\u503c\u6587\u672c\u6846\u663e\u793a\u5728\u9875\u9762\uff09 $(function () { console.log(SetDateNumder()); \/\/\u9500\u552e\u5355\u7f16\u53f7 var DateNumber = \"XSD\" + SetDateNumder(); \/\/\u8d4b\u503c document.getElementById(\"txbBusiNo\").value = DateNumber; }); <\/code><\/pre>\n

\u4e24\u4e2a\u9875\u9762\u8f7d\u5165\u4e8b\u4ef6\uff0c\u662f\u5c5e\u4e8e\u4e0d\u540c\u9875\u9762\u7684\uff0c\u53ea\u662f\u9875\u9762\u4ee3\u7801\u4f53\u57fa\u672c\u76f8\u540c\u3002
\"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39\"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39<\/p>\n

\"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39\"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39<\/p>\n

\u4f46\u662f\u8fd9\u79cd\u65b9\u6cd5\u751f\u6210\u7684\u5355\u53f7\uff0c\u662f\u5b58\u5728\u95ee\u9898\u7684\uff0c\u4ec0\u4e48\u95ee\u9898\u5462\uff0c\u4e3a\u533a\u522b\u4e0d\u540c\u7c7b\u578b\u7684\u5355\u53f7\uff0c\u662f\u6211\u5728\u65b9\u6cd5\u6216\u8005\u5728\u9875\u9762\u8f7d\u5165\u4e8b\u4ef6\u4e2d\u5c31\u7ed9\u4ed6\u8d4b\u503c\uff08\u5b9a\u4e49\uff09\u4e86\uff0c\u4f8b\u5982\uff1a\u4e0a\u9762\u7684\u201cXDD\u201d\u548c\u201cXSD\u201d\u3002
\u90a3\u8fd9\u5c31\u662f\u7a0b\u5e8f\u5458\u5728\u5185\u90e8\u4e2d\u7ed9\u5176\u5b9a\u4e49\u7684\u89c4\u5219\uff0c\u65e0\u6cd5\u8fdb\u884c\u89c4\u5219\u7684\u66f4\u6539\uff0c\u5982\u8981\u66f4\u6539\u5219\u9700\u8981\u7a0b\u5e8f\u5458\u5728\u5185\u90e8\u8fdb\u884c\u66f4\u6539\uff0c\u4f46\u662f\uff0c\u5982\u679c\u4e0d\u540c\u5546\u5bb6\u7528\u7684\u89c4\u5219\u4e0d\u540c\uff0c\u5219\u65e0\u6cd5\u5bf9\u5176\u8fdb\u884c\u66f4\u6539\u4e86\uff0c<\/p>\n

\u4e5f\u5c31\u662f\u8bf4\u8fd9\u4e2a\u65b9\u6cd5\u751f\u6210\u7684\u662f\u8be5\u7a0b\u5e8f\u5185\u90e8\u81ea\u5b9a\u4e49\u7684\u5355\u53f7\u751f\u6210\u89c4\u5219\uff0c\u800c\u4e14\u5fc5\u987b\u8981\u5728\u5bf9\u5e94\u7684\u9875\u9762\u8fdb\u884c\u65b9\u6cd5\u7684\u5f15\u7528\u7684\uff0c\u8be5\u9875\u9762\u7684\u5355\u53f7\u89c4\u5219\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n

\u4e5f\u5c31\u662f\u8bf4\u8be5\u65b9\u6cd5\u65e0\u6cd5\u4e0e\u6570\u636e\u5e93\u8fdb\u884c\u5bf9\u63a5\uff0c\u5982\u679c\u662f\u5546\u5bb6\u4f7f\u7528\u7684\u8bdd\uff0c\u5546\u5bb6\u4e5f\u65e0\u6cd5\u6309\u7167\u81ea\u5df1\u7684\u89c4\u5219\u751f\u6210\u5355\u53f7\u3002
\u5fc5\u987b\u4f7f\u7528\u7a0b\u5e8f\u5185\u90e8\u7f16\u53f7\uff0c\u540c\u6837\u4f60\u7684\u6570\u636e\u50a8\u5b58\u7684\u89c4\u5219\u4e5f\u4e0e\u5176\u65e0\u5173\uff0c\u56e0\u4e3a\u65e0\u6cd5\u5bf9\u63a5\u3002<\/p>\n

\u8fd8\u6709\u4e00\u4e2a\u5f88\u597d\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e5f\u5c31\u662f\u8fd9\u65b9\u6cd5\u751f\u6210\u7684\u5355\u53f7\u662f\u53ef\u5728\u9875\u9762\u4fee\u6539\u7684\uff0c
\"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39
\u524d\uff1a
\"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39
\u540e\uff1a
\"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39
\u662f\u5168\u90e8\u53ef\u6539\u3002<\/p>\n

\u90a3\u8bf7\u95ee\u8981\u600e\u6837\u624d\u80fd\u4f7f\u5176\u65e0\u6cd5\u8fdb\u884c\u4fee\u6539\uff0c\u90a3\u662f\u4e0d\u662f\u5728\u60a8\u5b58\u653e\u6216\u5355\u53f7\u8d4b\u503c\u7684\u5143\u7d20\uff0c\u628a\u5176\u5c5e\u6027\u6539\u6210\u53ea\u8bfb\uff0c\u8ba9\u4ed6\u53ea\u80fd\u8bfb\u65e0\u6cd5\u5199\u5c31\u53ef\u4ee5\u4e86\u5462\u3002\u4e0d\u77e5\u9053\uff0c\u8981\u8bd5\u9a8c\u3002<\/p>\n

\u52a0\u6cb9\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"\u5047\u5355\u53f7\u751f\u6210\u5668\u624b\u673a\u7248_\u5047\u5355\u53f7\u751f\u6210\u5668\u514d\u8d39\u5e73\u65f6\u6211\u4eec\u5728\u7f51\u4e0a\u5e73\u53f0\u8d2d\u7269\uff0c\u6bcf\u4e00\u8ba2\u5355\u5404\u79cd\u5355\u53f7\u90fd\u6709\uff0c\u4f8b\u5982\uff1a\u7269\u6d41\u5355\u53f7\uff0c\u4e1a\u52a1\u5355\u53f7\uff0c\u7b49\u7b49\uff0c\u5982\u679c...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/6458"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=6458"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/6458\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=6458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=6458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=6458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}