123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289 |
- <!DOCTYPE html>
- <!-- saved from url=(0060)https://www.jsform.com/web/formview/5c08e52875a03c4ad63599af -->
- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta content="always" name="referrer">
- <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
- <meta name="keywords" content="表单名称">
- <meta name="description" content="">
- <title>表单名称</title>
- <link type="text/css" rel="stylesheet" href="./supply_files/formviewm.css">
- <link type="text/css" rel="stylesheet" href="./supply_files/table.css">
- <link type="text/css" rel="stylesheet" href="./supply_files/jquery-ui-1.9.2.custom.css">
- <style type="text/css">
- #tipimg{
- z-index:999;
- position:fixed;
- top: 0px;
- background-color: #000000;
- opacity: 0.6;
- }
- #tipimg img{
- width:100%;
- margin-left: 10%;
- margin-top: 3%;
- }
- #tip {
- background-color: #38adff;
- color: #fff;
- font-weight: 600;
- width: 150px;
- padding: 8px;
- text-align: center;
- border-radius: 6px;
- line-height: 30px;
- position: absolute;
- top: 15px;
- right: 10px;
- }
- #tip:after {
- content:'';
- display: inline-block;
- position: absolute;
- width: 20px;
- height: 20px;
- background: #38adff;
- transform: rotate(45deg);
- margin-left: -10px;
- margin-top: -48px;
- z-index: 999;
- }
- </style>
- <link type="text/css" rel="stylesheet" href="./supply_files/default.css">
- <script src="./supply_files/hm.js"></script>
- <script type="text/javascript" src="./supply_files/js/jquery-1.7.2.min.js"></script>
- <script type="text/javascript" src="./supply_files/js/lang-cn.js"></script>
- <script type="text/javascript" src="./supply_files/js/utils.js"></script>
- <script type="text/javascript" src="./supply_files/js/qingjs.js"></script>
- <script type="text/javascript" src="./supply_files/js/dingtalk.js"></script>
- <script type="text/javascript" src="./supply_files/js/decimal.min.js"></script>
- <script type="text/javascript" src="./supply_files/js/formview.js"></script>
- <script type="text/javascript" src="./supply_files/js/jweixin-1.0.0.js"></script>
- </head>
- <body class="wallpaper">
- <div id="container" class="container" mobile="1">
- <div><h1 id="logo" class="logo"><a></a></h1></div>
- <div class="ui-content">
- <form id="form1" class="form" action="https://www.jsform.com/web/formview/5c08e52875a03c4ad63599af" method="post">
- <input type="hidden" id="INITTIME" name="INITTIME" value="1544087426118">
- <input type="hidden" id="FRMID" name="FRMID" autofill="" value="5c08e52875a03c4ad63599af">
- <input type="hidden" id="TMOUT" name="TMOUT_number" value="1544087430340">
- <input type="hidden" id="secKey" name="SECKEY" value="">
- <input type="hidden" id="dynamicDateType" name="DYNAMICDATETYPE" value="">
- <div class="info" id="formHeader"><h2>表单名称</h2><div></div></div>
- <ul id="fields" class="fields">
- <li id="5c0a1efa75a03c462fc661b0" class="clearfix" typ="text"><label class="desc">采购单编码</label><div class="content textcontent"><input id="tmpid" type="text" maxlength="256" name="F8" readonly="readonly" class="ui-input-text input fld xxl"></div></li>
- <li id="5c08e5f275a03c4ad6359c1e" class="clearfix " typ="text"><label class="desc">供货品名</label><div class="content textcontent"><input id="tmpid" type="text" maxlength="256" name="F3" readonly="readonly" class="ui-input-text input fld xxl"></div></li>
- <li id="5c08e52875a03c4ad63599b0" class="clearfix " typ="text"><label class="desc">供货品类</label><div class="content textcontent"><input id="tmpid" type="text" maxlength="256" name="F1" readonly="readonly" class="ui-input-text input fld xxl"></div></li><li id="5c08e52875a03c4ad63599b1" class="clearfix " typ="number"><label class="desc">供货价格</label><div class="content"><input type="number" maxlength="16" name="F2_number" class="ui-input-text number input fld xxl"></div></li><li id="5c08e66c75a03c4ad6359d60" class="clearfix " typ="number"><label class="desc">供货数量</label><div class="content"><input type="number" maxlength="16" name="F4_number" class="ui-input-text number input fld xxl"></div></li><li id="5c08e66c75a03c4ad6359d61" class="clearfix " typ="date"><label class="desc">预计可到货日期</label><div class="content oneline"><input type="date" class="ui-input-text input val" name="F5_date"></div></li><li id="5c08e66c75a03c4ad6359d62" class="clearfix " typ="time"><label class="desc">预计可到货时间</label><div class="content oneline"><span><select class="hh input fld timeField"><option value="">时</option><option value="00">00</option><option value="01">01</option><option value="02">02</option><option value="03">03</option><option value="04">04</option><option value="05">05</option><option value="06">06</option><option value="07">07</option><option value="08">08</option><option value="09">09</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option></select></span><span class="splitm"> : </span><span><select class="mi input fld timeField"><option value="">分</option><option value="00">00</option><option value="01">01</option><option value="02">02</option><option value="03">03</option><option value="04">04</option><option value="05">05</option><option value="06">06</option><option value="07">07</option><option value="08">08</option><option value="09">09</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option><option value="32">32</option><option value="33">33</option><option value="34">34</option><option value="35">35</option><option value="36">36</option><option value="37">37</option><option value="38">38</option><option value="39">39</option><option value="40">40</option><option value="41">41</option><option value="42">42</option><option value="43">43</option><option value="44">44</option><option value="45">45</option><option value="46">46</option><option value="47">47</option><option value="48">48</option><option value="49">49</option><option value="50">50</option><option value="51">51</option><option value="52">52</option><option value="53">53</option><option value="54">54</option><option value="55">55</option><option value="56">56</option><option value="57">57</option><option value="58">58</option><option value="59">59</option></select></span><input type="hidden" class="val" name="F6_time"></div></li><li id="5c08e66c75a03c4ad6359d63" class="clearfix " typ="phone"><label class="desc">供货联系人电话</label><div class="content"><input type="tel" fmt="mobile" maxlength="11" class="ui-input-text number input fld" name="F7"></div></li><li class="pc-submit"><input id="btnSubmit" type="submit" class="btn-submit" onclick="return false;" value="提交"></li></ul>
- </form>
- <div style="display:block !important;width:100% !important;font-size:100% !important;overflow: visible !important;color:#222 !important; position: relative !important;" class="powerby">由<a href="https://www.jsform.com/">表单大师</a>提供技术支持</div>
- </div>
- <div id="status" class="mobile hide"></div>
- <script type="text/javascript" src="./supply_files/head.load.min.js"></script>
- <script type="text/javascript">
- var isEmbed=false,F={"DISSHARE":""};
- var RULE={FIELDSRULE:[]};
- var DYNAMICDATETYPE = parsToJspUse("");
- var countLmtInfo = parsToJspUse();
- var ADVPERM=parsToJspUse({});
- var FLDS=parsToJspUse([{"LBL":"供货品名","TYP":"text","FLDSZ":"m","REQD":"0","UNIQ":"0","SCU":"pub","FLDID":"5c08e5f275a03c4ad6359c1e","NM":"F3","UNEDIT":"1"},{"LBL":"供货品类","TYP":"text","FLDSZ":"m","REQD":"0","UNIQ":"0","SCU":"pub","FLDID":"5c08e52875a03c4ad63599b0","NM":"F1","UNEDIT":"1"},{"LBL":"供货价格","TYP":"number","FLDSZ":"s","REQD":"0","UNIQ":"0","SCU":"pub","FLDID":"5c08e52875a03c4ad63599b1","NM":"F2"},{"LBL":"供货数量","TYP":"number","FLDSZ":"s","REQD":"0","UNIQ":"0","SCU":"pub","FLDID":"5c08e66c75a03c4ad6359d60","NM":"F4"},{"LBL":"预计可到货日期","TYP":"date","REQD":"0","UNIQ":"0","SCU":"pub","FMT":"ymd","DEF":"","INSTR":"","CSS":"","DTMIN":"","DTMAX":"","FLDID":"5c08e66c75a03c4ad6359d61","NM":"F5"},{"LBL":"预计可到货时间","TYP":"time","REQD":"0","UNIQ":"0","SCU":"pub","DEF":"","INSTR":"","CSS":"","FLDID":"5c08e66c75a03c4ad6359d62","NM":"F6"},{"LBL":"供货联系人电话","TYP":"phone","REQD":"0","UNIQ":"0","SCU":"pub","FMT":"mobile","DEF":"","INSTR":"","CSS":"","FLDID":"5c08e66c75a03c4ad6359d63","NM":"F7"}]);
- var TIPTEXT=parsToJspUse();
- var DTLMT=parsToJspUse({"DTLMT":""});
- var LVL=parsToJspUse(0);
- var sid = '5c08e3eb75a03c4ad6359267';
- var isForMobile=true;
- var IMAGEURL="http://jsformfiles.hodoop.com/",FILEIMAGEEDITSTYLE="";
- head.js("/web/supply/supply_files/js/jquery-1.7.2.min.js",'/web/supply_files/js/lang-cn.js?v=20181122',
- "/web/supply/supply_files/js/utils.js?v=20181122",
- "//do.yunzhijia.com/pub/js/qingjs.js",
- "//g.alicdn.com/dingding/open-develop/0.8.4/dingtalk.js",
- "/web/supply/supply_files/js/decimal.min.js?v=20181122",
- "/web/supply/supply_files/js/formview.js?v=20181122",
- "//res.wx.qq.com/open/js/jweixin-1.0.0.js");
- var _hmt = _hmt || [];
- (function() {
- var hm = document.createElement("script");
- hm.src = "//hm.baidu.com/hm.js?4e93cf0b43bbb28b7446cd782a148db3";
- var s = document.getElementsByTagName("script")[0];
- s.parentNode.insertBefore(hm, s);
- //sso统计
- /*if (LVL>=2) {
- var hmm = document.createElement("script");
- hmm.src = "https://tongji.bangboss.com/tongji/start.js?pid=5c08e52875a03c4ad63599af";
- var ss = document.getElementsByTagName("script")[0];
- ss.parentNode.insertBefore(hmm, ss);
- }*/
- })();
- var CURPOS = {};
- head.ready(function(){
- $(function() {
- if (!$.isWeixin()) {
- return;
- }
- //微信分享自动带图片和说明
- //微信jssdk接口签名数据
- var title =$("#formHeader div:eq(0)").text();
- var urlImg= $(".logo a").css("backgroundImage");
- var url = window.location.href;
- //url可能为微信返回的带有code地址,分享时应该去掉code 参数。
- var queryStr = url.split("?")[1];
- if (queryStr) {
- var reg=new RegExp("^code=");
- var newQuery = "";
- var params = queryStr.split("&");
- for (var i=0; i<params.length; i++) {
- if (!reg.test(params[i])) {
- newQuery += params[i] + "&";
- }
- }
- if (newQuery) {
- newQuery = newQuery.substr(0, newQuery.length - 1);
- }
- url = url.split("?")[0] + "?" + newQuery;
- }
- if("none"==urlImg){
- var img = $(".logo a img")[0];
- if(typeof(img) == "undefined"){
- img = $(".image-img:eq(0)")[0];
- }
- if(typeof(img) != "undefined"){
- urlImg =img.src;
- }
- }else{
- //urlImg="url("htpp://xxxx")";
- var reg = new RegExp("[a-zA-z]+://[^\\s^\"\\)]*");
- var result = urlImg.match(reg);
- if (result) {
- urlImg = result[0];
- }
- }
- //是否基于微信。如果是基于微信需要处理分享时显示的图片和链接。
- //如果是基于微信,需要处理扫码
- if(!window.wxsignature){
- return;
- }else{
- if (window.wxscan) {
- $("i.icon-qrinput").removeClass("hide");
- }
- }
-
- wx.config({
- debug: false,
- appId:wxsignature.appId,
- timestamp:parseInt(wxsignature.timestamp),
- nonceStr: wxsignature.nonceStr,
- signature:wxsignature.signature,
- jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo','onMenuShareQZone','scanQRCode','checkJsApi',
- 'openLocation', 'getLocation']
- });
- wx.ready(function(){
- wx.onMenuShareTimeline({
- title:title,
- link: url,
- imgUrl:urlImg,
- success: function () {
- // 用户确认分享后执行的回调函数
- },
- cancel: function () {
- // 用户取消分享后执行的回调函数
- }
- });
- wx.onMenuShareAppMessage({
- title:'', // 分享标题
- desc: title, // 分享描述
- link: url, // 分享链接
- imgUrl:urlImg, // 分享图标
- type: '', // 分享类型,music、video或link,不填默认为link
- dataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空
- success: function () {
- // 用户确认分享后执行的回调函数
- },
- cancel: function () {
- // 用户取消分享后执行的回调函数
- }
- });
- //通过微信JSAPI
- if ($("#fields").find("div.map").length > 0) {
- wx.getLocation({
- success: function (res) {
- CURPOS["latitude"] = res.latitude; // 纬度,浮点数,范围为90 ~ -90
- CURPOS["longitude"] = res.longitude; // 经度,浮点数,范围为180 ~ -180。
- CURPOS["speed"] = res.speed; // 速度,以米/每秒计
- CURPOS["accuracy"] = res.accuracy; // 位置精度
- },
- cancel: function (res) {
- console.log('用户拒绝授权获取地理位置');
- }
- });
- }
- });
- //扫码输入 20160821 by xiangjuntao
- $("i.icon-qrinput").click(function(){
- var txt=$(this).parent().find("input");
- wx.scanQRCode({
- needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
- scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码,默认二者都有
- success: function (res) {
- var resultStr = res.resultStr;
- var qrCodePrefix = ["EAN_13", "EAN_8", "CODE_128", "CODE_39", "UPC_A", "UPC_E", "ITF_14", "CODE_25","DATA_MATRIX"];
- if (resultStr.indexOf(",") > 0 ) {
- var ean = resultStr.split(",")[0];
- if (qrCodePrefix.indexOf(ean) >= 0) {
- resultStr = resultStr.split(",")[1];
- }
- }
- txt.val(resultStr); // 当needResult 为 1 时,扫码返回的结果
- txt.trigger("change");
- //如果设置了关联,自动带出被关联的其它值 20160821 by xiangjuntao
- if(txt.attr("matfrm") && txt.attr("matfld")){
- FieldRelation.fillAutoCompValue(txt);
- }
- }
- });
- });
- });
- });
- </script>
- </div>
- <div id="stage" class="clearfix hide">
- <div style="margin-top: 10px; text-align: center;">
- <a class="btn sbtn" id="btnConfirm1" title="连续新增" href="https://www.jsform.com/web/formview/5c08e52875a03c4ad63599af#">连续新增</a>
- <a class="btn sbtn" id="btnConfirm2" title="新增" href="https://www.jsform.com/web/formview/5c08e52875a03c4ad63599af#">新增</a>
- <a class="btn sbtn" id="btnCancel" title="取消">取消</a>
- </div>
- </div>
- <div id="divtmp" class="hide"></div>
- <div id="overlay" class="overlay hide"></div>
- <div id="lightBox" class="lightbox hide" style="font-size: 14px;">
- <div id="lbContent" class="lbcontent clearfix"></div>
- </div>
- </body></html>
|