fix: 修复兑换码
This commit is contained in:
parent
89f2d1742d
commit
2cfc473d23
|
@ -8,11 +8,11 @@
|
|||
"static/js/3.b6ba4435.chunk.js": "/static/js/3.b6ba4435.chunk.js",
|
||||
"main.css": "/static/css/main.b0e33980.chunk.css",
|
||||
"main.js": "/static/js/main.a6a3f833.chunk.js",
|
||||
"runtime-main.js": "/static/js/runtime-main.b40bd61e.js",
|
||||
"runtime-main.js": "/static/js/runtime-main.4df0f1db.js",
|
||||
"static/css/6.8a4097be.chunk.css": "/static/css/6.8a4097be.chunk.css",
|
||||
"static/js/6.b72c30fd.chunk.js": "/static/js/6.b72c30fd.chunk.js",
|
||||
"static/js/6.d7821b44.chunk.js": "/static/js/6.d7821b44.chunk.js",
|
||||
"static/css/7.fb12e974.chunk.css": "/static/css/7.fb12e974.chunk.css",
|
||||
"static/js/7.223b0f58.chunk.js": "/static/js/7.223b0f58.chunk.js",
|
||||
"static/js/7.47d89612.chunk.js": "/static/js/7.47d89612.chunk.js",
|
||||
"static/css/8.9a9b6f5c.chunk.css": "/static/css/8.9a9b6f5c.chunk.css",
|
||||
"static/js/8.c0e52fb6.chunk.js": "/static/js/8.c0e52fb6.chunk.js",
|
||||
"static/css/9.4e156c5f.chunk.css": "/static/css/9.4e156c5f.chunk.css",
|
||||
|
@ -26,13 +26,13 @@
|
|||
"static/js/1.6c7742a4.chunk.js.LICENSE.txt": "/static/js/1.6c7742a4.chunk.js.LICENSE.txt",
|
||||
"static/js/10.8bdf2807.chunk.js.LICENSE.txt": "/static/js/10.8bdf2807.chunk.js.LICENSE.txt",
|
||||
"static/js/3.b6ba4435.chunk.js.LICENSE.txt": "/static/js/3.b6ba4435.chunk.js.LICENSE.txt",
|
||||
"static/js/6.b72c30fd.chunk.js.LICENSE.txt": "/static/js/6.b72c30fd.chunk.js.LICENSE.txt",
|
||||
"static/js/7.223b0f58.chunk.js.LICENSE.txt": "/static/js/7.223b0f58.chunk.js.LICENSE.txt",
|
||||
"static/js/6.d7821b44.chunk.js.LICENSE.txt": "/static/js/6.d7821b44.chunk.js.LICENSE.txt",
|
||||
"static/js/7.47d89612.chunk.js.LICENSE.txt": "/static/js/7.47d89612.chunk.js.LICENSE.txt",
|
||||
"static/js/8.c0e52fb6.chunk.js.LICENSE.txt": "/static/js/8.c0e52fb6.chunk.js.LICENSE.txt",
|
||||
"static/js/9.a20dfbec.chunk.js.LICENSE.txt": "/static/js/9.a20dfbec.chunk.js.LICENSE.txt"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/js/runtime-main.b40bd61e.js",
|
||||
"static/js/runtime-main.4df0f1db.js",
|
||||
"static/css/8.9a9b6f5c.chunk.css",
|
||||
"static/js/8.c0e52fb6.chunk.js",
|
||||
"static/css/main.b0e33980.chunk.css",
|
||||
|
|
|
@ -1 +1 @@
|
|||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/goods_new_v3.js?v3"></script><title>营销管理系统</title><style>#root,body,html{width:100%;height:100%;padding:0;margin:0;font-size:14px;overflow:hidden}</style><link href="/static/css/8.9a9b6f5c.chunk.css" rel="stylesheet"><link href="/static/css/main.b0e33980.chunk.css" rel="stylesheet"></head><body><script type="text/javascript">window.goods=product</script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],s=0,d=[];s<c.length;s++)o=c[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={5:0},a={5:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{2:1,3:1,6:1,7:1,9:1,11:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"74e9175c",3:"75be5fa1",6:"8a4097be",7:"fb12e974",9:"4e156c5f",10:"31d6cfe0",11:"b1da7569",12:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(l=u[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var s=document.getElementsByTagName("style");for(i=0;i<s.length;i++){var l;if((f=(l=s[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"98b3c685",1:"6c7742a4",2:"5a161325",3:"b6ba4435",6:"b72c30fd",7:"223b0f58",9:"a20dfbec",10:"8bdf2807",11:"dd434657",12:"45051ed1"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(s);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw e};var i=this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var l=f;r()}([])</script><script src="/static/js/8.c0e52fb6.chunk.js"></script><script src="/static/js/main.a6a3f833.chunk.js"></script></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/commonproductlogo/goods_new_v3.js?v3"></script><title>营销管理系统</title><style>#root,body,html{width:100%;height:100%;padding:0;margin:0;font-size:14px;overflow:hidden}</style><link href="/static/css/8.9a9b6f5c.chunk.css" rel="stylesheet"><link href="/static/css/main.b0e33980.chunk.css" rel="stylesheet"></head><body><script type="text/javascript">window.goods=product</script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,i=t[0],c=t[1],f=t[2],s=0,d=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(l&&l(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var c=r[o];0!==a[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={5:0},a={5:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{2:1,3:1,6:1,7:1,9:1,11:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"74e9175c",3:"75be5fa1",6:"8a4097be",7:"fb12e974",9:"4e156c5f",10:"31d6cfe0",11:"b1da7569",12:"31d6cfe0"}[e]+".chunk.css",a=i.p+n,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){var f=(l=u[c]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var s=document.getElementsByTagName("style");for(c=0;c<s.length;c++){var l;if((f=(l=s[c]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{0:"98b3c685",1:"6c7742a4",2:"5a161325",3:"b6ba4435",6:"d7821b44",7:"47d89612",9:"a20dfbec",10:"8bdf2807",11:"dd434657",12:"45051ed1"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(s);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i.oe=function(e){throw e};var c=this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[],f=c.push.bind(c);c.push=t,c=c.slice();for(var s=0;s<c.length;s++)t(c[s]);var l=f;r()}([])</script><script src="/static/js/8.c0e52fb6.chunk.js"></script><script src="/static/js/main.a6a3f833.chunk.js"></script></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
!function(e){function t(t){for(var n,o,i=t[0],c=t[1],f=t[2],s=0,d=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(l&&l(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var c=r[o];0!==a[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={5:0},a={5:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{2:1,3:1,6:1,7:1,9:1,11:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"74e9175c",3:"75be5fa1",6:"8a4097be",7:"fb12e974",9:"4e156c5f",10:"31d6cfe0",11:"b1da7569",12:"31d6cfe0"}[e]+".chunk.css",a=i.p+n,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){var f=(l=u[c]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var s=document.getElementsByTagName("style");for(c=0;c<s.length;c++){var l;if((f=(l=s[c]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{0:"98b3c685",1:"6c7742a4",2:"5a161325",3:"b6ba4435",6:"d7821b44",7:"47d89612",9:"a20dfbec",10:"8bdf2807",11:"dd434657",12:"45051ed1"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(s);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i.oe=function(e){throw e};var c=this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[],f=c.push.bind(c);c.push=t,c=c.slice();for(var s=0;s<c.length;s++)t(c[s]);var l=f;r()}([]);
|
|
@ -1 +0,0 @@
|
|||
!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],s=0,d=[];s<c.length;s++)o=c[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={5:0},a={5:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{2:1,3:1,6:1,7:1,9:1,11:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"74e9175c",3:"75be5fa1",6:"8a4097be",7:"fb12e974",9:"4e156c5f",10:"31d6cfe0",11:"b1da7569",12:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(l=u[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var s=document.getElementsByTagName("style");for(i=0;i<s.length;i++){var l;if((f=(l=s[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"98b3c685",1:"6c7742a4",2:"5a161325",3:"b6ba4435",6:"b72c30fd",7:"223b0f58",9:"a20dfbec",10:"8bdf2807",11:"dd434657",12:"45051ed1"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(s);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var s=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw e};var i=this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var l=f;r()}([]);
|
|
@ -11,7 +11,7 @@ import {
|
|||
terminateApprovals
|
||||
} from "@/assets/api.js"
|
||||
import Bus from "@/assets/eventBus.js"
|
||||
import ProductForm from "@/components/UseProductPop"
|
||||
import UseProductPop from "@/components/UseProductPop"
|
||||
import FormItem from "@/components/form-item/main"
|
||||
import Form from "@/components/form/main"
|
||||
import Grid from "@/components/gird/main.js"
|
||||
|
@ -205,7 +205,10 @@ export default class exchangeAdd extends React.Component {
|
|||
plan_time: [reqCopy.plan.begin_time, reqCopy.plan.end_time],
|
||||
rank: checkedArray,
|
||||
rankoptions: arr,
|
||||
settlement_type: reqCopy.plan.settlement_type
|
||||
settlement_type: reqCopy.plan.settlement_type,
|
||||
isSettlement: reqCopy.plan.settlement_type > 0 ? 1 : 2,
|
||||
settlementData:
|
||||
reqCopy.plan.settlement_type > 0 ? { key: reqCopy.plan.settlement_type } : null
|
||||
})
|
||||
},
|
||||
(err) => {}
|
||||
|
@ -738,18 +741,21 @@ export default class exchangeAdd extends React.Component {
|
|||
/* 商品默认类型 */
|
||||
const type = productData ? productData.product_type : 1
|
||||
return (
|
||||
<ProductForm
|
||||
<UseProductPop
|
||||
ref="product"
|
||||
checkedProduct={alreadyProduct}
|
||||
productData={productData}
|
||||
directResellerId={direct_reseller_id}
|
||||
productType={type}
|
||||
isSettlement={this.state.isSettlement}
|
||||
settlementData={this.state.settlementData}
|
||||
/>
|
||||
)
|
||||
case 2:
|
||||
return <KnockGold ref="knockGold" data={this.state.productData} />
|
||||
case 3:
|
||||
return <RedPackets ref="redPackets" data={this.state.productData} />
|
||||
default:
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1104,6 +1110,11 @@ export default class exchangeAdd extends React.Component {
|
|||
onClick={() => {
|
||||
this.addProduct(1)
|
||||
}}
|
||||
disabled={
|
||||
this.state.isSettlement === 1 &&
|
||||
this.state.settlementData &&
|
||||
(this.state.settlementData.key === 8 || this.state.settlementData.key === 9)
|
||||
}
|
||||
>
|
||||
新建商品
|
||||
</Button>
|
||||
|
@ -1113,7 +1124,12 @@ export default class exchangeAdd extends React.Component {
|
|||
onClick={() => {
|
||||
this.addProduct(2)
|
||||
}}
|
||||
disabled={!JSON.parse(sessionStorage.getItem("isEarlyWarningMan"))}
|
||||
disabled={
|
||||
!JSON.parse(sessionStorage.getItem("isEarlyWarningMan")) ||
|
||||
(this.state.isSettlement === 1 &&
|
||||
this.state.settlementData &&
|
||||
this.state.settlementData.key === 7)
|
||||
}
|
||||
>
|
||||
新建立减金
|
||||
</Button>
|
||||
|
@ -1123,7 +1139,13 @@ export default class exchangeAdd extends React.Component {
|
|||
onClick={() => {
|
||||
this.addProduct(3)
|
||||
}}
|
||||
disabled={!JSON.parse(sessionStorage.getItem("isEarlyWarningMan"))}
|
||||
disabled={
|
||||
!JSON.parse(sessionStorage.getItem("isEarlyWarningMan")) ||
|
||||
(this.state.isSettlement === 1 &&
|
||||
this.state.settlementData &&
|
||||
(this.state.settlementData.key === 7 ||
|
||||
this.state.settlementData.key === 8))
|
||||
}
|
||||
>
|
||||
新建红包
|
||||
</Button>
|
||||
|
|
|
@ -184,7 +184,9 @@ export const init = () => {
|
|||
keyBatchSelectData: [] /* 归属key数据 */,
|
||||
codeStatus: "" /* 兑换码状态 */,
|
||||
productData: null,
|
||||
settlement_type: 0 // 大于0是包码
|
||||
settlement_type: 0,
|
||||
isSettlement: 2,
|
||||
settlementData: null
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -602,6 +602,11 @@ export default class acclist extends React.Component {
|
|||
if (validator) {
|
||||
let param = this.refs.addEditExchangeEl.getModel()
|
||||
|
||||
// 锁定绑定数
|
||||
if (this.props.isSettlement === 1) {
|
||||
param.restrict = "1"
|
||||
}
|
||||
|
||||
// 第三步:包码只能选一个
|
||||
if (this.props.isSettlement === 1 && this.state.exchangeType !== 2) {
|
||||
// 合并数组
|
||||
|
@ -692,7 +697,6 @@ export default class acclist extends React.Component {
|
|||
}
|
||||
|
||||
edit(data) {
|
||||
console.log("data =>", data)
|
||||
let model = {
|
||||
//数据模型不可少
|
||||
batch_name: data.batch_name,
|
||||
|
|
|
@ -236,7 +236,9 @@ const UseKeyAddEdit = () => {
|
|||
reseller_id: "",
|
||||
white_visible: false,
|
||||
keyCodeId: "",
|
||||
settlement_type: 0,
|
||||
settlement_type: sessionStorage.getItem("plan_list_settlement")
|
||||
? JSON.parse(sessionStorage.getItem("plan_list_settlement")).key
|
||||
: 0,
|
||||
isSettlement: sessionStorage.getItem("isSettlement") ? 1 : 2,
|
||||
settlementData: sessionStorage.getItem("plan_list_settlement")
|
||||
? JSON.parse(sessionStorage.getItem("plan_list_settlement"))
|
||||
|
@ -322,17 +324,6 @@ const UseKeyAddEdit = () => {
|
|||
pageTitle: "复制key"
|
||||
})
|
||||
}
|
||||
|
||||
/**包码TODO: 包码结算方式 0不是*/
|
||||
// let plan_list_settlement_type = sessionStorage.getItem("plan_list_settlement_type")
|
||||
// if (plan_list_settlement_type) {
|
||||
// let settlement_type = Number(plan_list_settlement_type)
|
||||
// setState({
|
||||
// // isSettlement: settlement_type > 0 ? 1 : 0,
|
||||
// settlementData: settlement_type > 0 ? { key: settlement_type } : null,
|
||||
// settlement_type
|
||||
// })
|
||||
// }
|
||||
}
|
||||
//#endRegion init ***************************/
|
||||
|
||||
|
@ -683,6 +674,12 @@ const UseKeyAddEdit = () => {
|
|||
let validator = addEditExchangeEl.current.submit()
|
||||
if (validator) {
|
||||
let param = addEditExchangeEl.current.getModel()
|
||||
|
||||
// 锁定绑定数
|
||||
if (state.isSettlement === 1) {
|
||||
param.restrict = "1"
|
||||
}
|
||||
|
||||
if (state.isSettlement === 1 && state.exchangeType !== 2) {
|
||||
// 包码 合并数组
|
||||
let all_arr = [...param.product.legal, ...param.product.reduce, ...param.product.cash]
|
||||
|
@ -705,8 +702,6 @@ const UseKeyAddEdit = () => {
|
|||
setState({
|
||||
drawerVisible: false
|
||||
})
|
||||
|
||||
console.log(tempData)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue