Commit 73477c06 by 无尘

fix: 修复起始字段禁用

parent 998c4b26
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-集团后台</title><link href=./static/css/app.cc017fa2988e30dbdd3119b24f557e75.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.6aed5b31ed5948afe552.js></script><script type=text/javascript src=./static/js/vendor.f0ca6f0ea0633aa2249d.js></script><script type=text/javascript src=./static/js/app.6489a1d0fa21e86e7d7a.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>GIC-集团后台</title><link href=./static/css/app.fab3a2ce88b3db7709b9c9ef3a7a6bbb.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.ad2b0620c5fe6d7f2ab0.js></script><script type=text/javascript src=./static/js/vendor.f0ca6f0ea0633aa2249d.js></script><script type=text/javascript src=./static/js/app.6489a1d0fa21e86e7d7a.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,t,f){for(var d,o,b,i=0,u=[];i<c.length;i++)o=c[i],n[o]&&u.push(n[o][0]),n[o]=0;for(d in t)Object.prototype.hasOwnProperty.call(t,d)&&(e[d]=t[d]);for(a&&a(c,t,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)b=r(r.s=f[i]);return b};var c={},n={33:0};function r(a){if(c[a])return c[a].exports;var n=c[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var a=n[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,r){a=n[e]=[c,r]});a[2]=c;var t=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,r.nc&&f.setAttribute("nonce",r.nc),f.src=r.p+"static/js/"+e+"."+{0:"941b7928ac3ec125dffe",1:"d84116ddb7da8d636dae",2:"898e902c03247d4950cd",3:"c2dbaee2092c89d6bb92",4:"b4dcc6aadf91150f66db",5:"5b1afe039b0196c0894f",6:"2a27b6ee8413b8c3f627",7:"f356c8f6136a4f23a8aa",8:"e098e85a0326ac5e10f6",9:"4aedd9d9f32e5bd5b794",10:"3b6408b1d99252eda551",11:"f0b71dac5722ed6c4628",12:"b8af2fcb45c72480bdb0",13:"6cb641c54efc65fa2852",14:"b3cb63d509fb1a06a935",15:"d4d84253d926c74f4aa9",16:"0deb7014f6e949104733",17:"3b9e1540c21a66e580d6",18:"a007799596487757e1ca",19:"ae6a42bb58a2bff32ae2",20:"5ca1dc2a926da3f19f62",21:"2d9d159547fd48b0ad9c",22:"f68b7dbd357d65f46fca",23:"c3d64d2c7ba03967c4a8",24:"56f2057036ab22585e0e",25:"2133fdde82de7785cbc4",26:"30fb9f14c41e89141c15",27:"b9fd5f8677a43cab4a3f",28:"44deebcea6ccd096081f",29:"9339e8311b77c469e738",30:"ebb71c6a502890f047f8"}[e]+".js";var d=setTimeout(o,12e4);function o(){f.onerror=f.onload=null,clearTimeout(d);var a=n[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return f.onerror=f.onload=o,t.appendChild(f),c},r.m=e,r.c=c,r.d=function(e,a,c){r.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.6aed5b31ed5948afe552.js.map
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,t,d){for(var f,o,b,i=0,u=[];i<a.length;i++)o=a[i],n[o]&&u.push(n[o][0]),n[o]=0;for(f in t)Object.prototype.hasOwnProperty.call(t,f)&&(e[f]=t[f]);for(c&&c(a,t,d);u.length;)u.shift()();if(d)for(i=0;i<d.length;i++)b=r(r.s=d[i]);return b};var a={},n={33:0};function r(c){if(a[c])return a[c].exports;var n=a[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var c=n[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,r){c=n[e]=[a,r]});c[2]=a;var t=document.getElementsByTagName("head")[0],d=document.createElement("script");d.type="text/javascript",d.charset="utf-8",d.async=!0,d.timeout=12e4,r.nc&&d.setAttribute("nonce",r.nc),d.src=r.p+"static/js/"+e+"."+{0:"941b7928ac3ec125dffe",1:"d84116ddb7da8d636dae",2:"898e902c03247d4950cd",3:"c2dbaee2092c89d6bb92",4:"b4dcc6aadf91150f66db",5:"5b1afe039b0196c0894f",6:"dd1ba3bf8c1fcd642ecd",7:"f356c8f6136a4f23a8aa",8:"e098e85a0326ac5e10f6",9:"4aedd9d9f32e5bd5b794",10:"3b6408b1d99252eda551",11:"f0b71dac5722ed6c4628",12:"b8af2fcb45c72480bdb0",13:"6cb641c54efc65fa2852",14:"b3cb63d509fb1a06a935",15:"d4d84253d926c74f4aa9",16:"0deb7014f6e949104733",17:"3b9e1540c21a66e580d6",18:"a007799596487757e1ca",19:"ae6a42bb58a2bff32ae2",20:"5ca1dc2a926da3f19f62",21:"2d9d159547fd48b0ad9c",22:"f68b7dbd357d65f46fca",23:"c3d64d2c7ba03967c4a8",24:"56f2057036ab22585e0e",25:"2133fdde82de7785cbc4",26:"30fb9f14c41e89141c15",27:"b9fd5f8677a43cab4a3f",28:"44deebcea6ccd096081f",29:"9339e8311b77c469e738",30:"ebb71c6a502890f047f8"}[e]+".js";var f=setTimeout(o,12e4);function o(){d.onerror=d.onload=null,clearTimeout(f);var c=n[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return d.onerror=d.onload=o,t.appendChild(d),a},r.m=e,r.c=a,r.d=function(e,c,a){r.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},r.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(c,"a",c),c},r.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},r.p="./",r.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.ad2b0620c5fe6d7f2ab0.js.map
\ No newline at end of file
......@@ -13,7 +13,7 @@
</el-form-item>
<el-form-item label="自定义号段设置" prop="cardBegin" v-if="ruleForm.cardNoStatus!=1">
<label class="start-num">起始号段</label><!-- :disabled="ruleForm.cardBegin==''?false:true" @blur="cardBeginCheck($event)"-->
<el-input v-model="ruleForm.cardBegin" :disabled="ruleForm.cardBegin==''?false:true" @focus="inputFocus('cardBegin')" @keyup.native="(value) => cardBeginCheck(value)"></el-input><label class="label-title">注意: 除首位外,其余号段逢4必进,即若号段数值到4,则默认+1进到5</label>
<el-input v-model="ruleForm.cardBegin" :disabled="cardBeginFlag" @focus="inputFocus('cardBegin')" @keyup.native="(value) => cardBeginCheck(value)"></el-input><label class="label-title">注意: 除首位外,其余号段逢4必进,即若号段数值到4,则默认+1进到5</label>
</el-form-item>
<el-form-item label=" " prop="prefixKey" >
......@@ -139,7 +139,7 @@ export default {
],
beginLength: 11, // 起始号段 长度
cardBeginFlag: false, //是否禁用起始号段
keyLenth: 5, // 前缀长度
ruleForm: {
cardCreateType: '',
......@@ -283,7 +283,7 @@ export default {
console.log(res.data.result)
var resData = res.data
if (resData.errorCode == 0) {
that.cardBeginFlag= !!form.cardBegin? true:false;
showMsg.showmsg('保存成功','success')
return;
}
......@@ -335,6 +335,7 @@ export default {
var that = this;
console.log("新数据:",newData)
that.ruleForm = newData;
that.cardBeginFlag = !!that.ruleForm.cardBegin? true: false;
},
deep:true
},
......@@ -347,6 +348,7 @@ export default {
console.log("开卡策略:",that.cardCateInfo)
if (Object.keys(that.cardCateInfo).length) {
that.ruleForm = that.cardCateInfo;
that.cardBeginFlag = !!that.ruleForm.cardBegin? true: false;
}
console.log(that.ruleForm)
// window.onwheel = that.scroll;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment