Commit 685e5733 by 萱草

update: bug修复

parent 9b08e032
.step-text[data-v-12f6f60a]{color:#000;font-size:14px}.dash-style[data-v-12f6f60a]{border-bottom:1px dashed #2f54eb}.upload-btn[data-v-12f6f60a]{height:40px;border:1px dashed #c0c4cc;display:inline-block;font-size:14px;color:#c0c4cc;cursor:pointer;margin-right:10px;width:250px;border-radius:4px}.upload-btn .el-icon-upload2[data-v-12f6f60a]{font-size:18px;color:#c0c4cc}.upload-btn[data-v-12f6f60a]:hover{border-color:#1890ff}.upload-ele .el-button[data-v-12f6f60a]{border:none;color:#c0c4cc}.upload-ele .el-button--small[data-v-12f6f60a]{padding:0}.w-630[data-v-12f6f60a]{width:630px}.mb56[data-v-12f6f60a]{margin-bottom:56px}.from-content[data-v-12f6f60a]{position:relative}.from-content .demo-ruleForm .form-section[data-v-12f6f60a]{padding:30px 20px}.from-content .demo-ruleForm .form-section h3[data-v-12f6f60a]{color:#303133;font-size:14px;font-weight:700;margin-bottom:31px;margin-left:20px;padding-bottom:9px;border-bottom:1px solid #dfdfdf}.from-content .demo-ruleForm .form-section h3[data-v-12f6f60a]:before{clear:both;content:"";display:inline-block;overflow:hidden;width:3px;height:12px;line-height:14px;margin-right:8px;background:#2f54eb}.from-content .demo-ruleForm .form-section .tip-warm[data-v-12f6f60a]{color:#909399;font-size:12px}.from-content .demo-ruleForm .form-section .tip-warm i[data-v-12f6f60a]{color:#faad14;margin-right:5px}.from-content .demo-ruleForm .fixed-btn[data-v-12f6f60a]{width:100%;height:56px;position:fixed;bottom:0;left:200px;background:#fff;border-top:1px solid #e4e7ed;text-align:center;margin-left:-100px;z-index:2;font-size:0}.from-content .demo-ruleForm .fixed-btn .el-button[data-v-12f6f60a]{margin-top:12px}.from-content .anchor-link[data-v-12f6f60a]{width:120px;position:fixed;right:24px;top:180px;background:#fff}.from-content .anchor-link .link-item[data-v-12f6f60a]{height:24px;line-height:24px;color:#606266;font-size:12px;border-left:2px solid #ebeef5;padding-left:18px;cursor:pointer}.from-content .see-btn[data-v-12f6f60a]{color:#909399;margin-left:15px}.from-content .see-btn[data-v-12f6f60a]:hover{color:#2f54ed}.ml20[data-v-12f6f60a]{margin-left:20px}.mr10[data-v-12f6f60a]{margin-right:10px}.tips-content[data-v-12f6f60a]{position:absolute;left:-4px;top:6px}.store-tips[data-v-12f6f60a]{width:200px;position:absolute;left:-10px}.underline[data-v-12f6f60a]{text-decoration:underline}.pickup-upload[data-v-12f6f60a]{display:inline-block;vertical-align:top;margin-left:10px}.pickup-upload .upload-trigger[data-v-12f6f60a]{border-style:dashed}.pickup-upload .upload-trigger .upload-icon[data-v-12f6f60a]{font-size:14px}.pickup-upload .pickup-list[data-v-12f6f60a]{margin-top:18px}.pickup-upload .pickup-list .pickup-list-name[data-v-12f6f60a]{font-size:14px;font-weight:400;color:#303133;line-height:20px}.pickup-upload .pickup-list .pickup-list-name .file-icon[data-v-12f6f60a]{font-size:14px}.right-border{border-right:1px solid #ebeef5}.step-style .el-step.is-vertical .el-step__line{top:30px;left:8px;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.step-style .el-step__head.is-finish{color:#2f54eb;border-color:#2f54eb}.step-style .el-step__icon.is-text{border:1px solid}.step-style .el-step__icon{width:16px;height:16px}.step-style .el-step__icon-inner{font-size:12px}
\ No newline at end of file
.step-text[data-v-6e68be9d]{color:#000;font-size:14px}.dash-style[data-v-6e68be9d]{border-bottom:1px dashed #2f54eb}.upload-btn[data-v-6e68be9d]{height:40px;border:1px dashed #c0c4cc;display:inline-block;font-size:14px;color:#c0c4cc;cursor:pointer;margin-right:10px;width:250px;border-radius:4px}.upload-btn .el-icon-upload2[data-v-6e68be9d]{font-size:18px;color:#c0c4cc}.upload-btn[data-v-6e68be9d]:hover{border-color:#1890ff}.upload-ele .el-button[data-v-6e68be9d]{border:none;color:#c0c4cc}.upload-ele .el-button--small[data-v-6e68be9d]{padding:0}.w-630[data-v-6e68be9d]{width:630px}.mb56[data-v-6e68be9d]{margin-bottom:56px}.from-content[data-v-6e68be9d]{position:relative}.from-content .demo-ruleForm .form-section[data-v-6e68be9d]{padding:30px 20px}.from-content .demo-ruleForm .form-section h3[data-v-6e68be9d]{color:#303133;font-size:14px;font-weight:700;margin-bottom:31px;margin-left:20px;padding-bottom:9px;border-bottom:1px solid #dfdfdf}.from-content .demo-ruleForm .form-section h3[data-v-6e68be9d]:before{clear:both;content:"";display:inline-block;overflow:hidden;width:3px;height:12px;line-height:14px;margin-right:8px;background:#2f54eb}.from-content .demo-ruleForm .form-section .tip-warm[data-v-6e68be9d]{color:#909399;font-size:12px}.from-content .demo-ruleForm .form-section .tip-warm i[data-v-6e68be9d]{color:#faad14;margin-right:5px}.from-content .demo-ruleForm .fixed-btn[data-v-6e68be9d]{width:100%;height:56px;position:fixed;bottom:0;left:200px;background:#fff;border-top:1px solid #e4e7ed;text-align:center;margin-left:-100px;z-index:2;font-size:0}.from-content .demo-ruleForm .fixed-btn .el-button[data-v-6e68be9d]{margin-top:12px}.from-content .anchor-link[data-v-6e68be9d]{width:120px;position:fixed;right:24px;top:180px;background:#fff}.from-content .anchor-link .link-item[data-v-6e68be9d]{height:24px;line-height:24px;color:#606266;font-size:12px;border-left:2px solid #ebeef5;padding-left:18px;cursor:pointer}.from-content .see-btn[data-v-6e68be9d]{color:#909399;margin-left:15px}.from-content .see-btn[data-v-6e68be9d]:hover{color:#2f54ed}.ml20[data-v-6e68be9d]{margin-left:20px}.mr10[data-v-6e68be9d]{margin-right:10px}.tips-content[data-v-6e68be9d]{position:absolute;left:-4px;top:6px}.store-tips[data-v-6e68be9d]{width:200px;position:absolute;left:-10px}.underline[data-v-6e68be9d]{text-decoration:underline}.pickup-upload[data-v-6e68be9d]{display:inline-block;vertical-align:top;margin-left:10px}.pickup-upload .upload-trigger[data-v-6e68be9d]{border-style:dashed}.pickup-upload .upload-trigger .upload-icon[data-v-6e68be9d]{font-size:14px}.pickup-upload .pickup-list[data-v-6e68be9d]{margin-top:18px}.pickup-upload .pickup-list .pickup-list-name[data-v-6e68be9d]{font-size:14px;font-weight:400;color:#303133;line-height:20px}.pickup-upload .pickup-list .pickup-list-name .file-icon[data-v-6e68be9d]{font-size:14px}.right-border{border-right:1px solid #ebeef5}.step-style .el-step.is-vertical .el-step__line{top:30px;left:8px;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.step-style .el-step__head.is-finish{color:#2f54eb;border-color:#2f54eb}.step-style .el-step__icon.is-text{border:1px solid}.step-style .el-step__icon{width:16px;height:16px}.step-style .el-step__icon-inner{font-size:12px}
\ No newline at end of file
.hidden-limit .dm-input__counter{display:none}.popver-button .el-button:not(.el-button--text){min-width:50px}.right-border{border-right:1px solid #ebeef5}.w360[data-v-6848d0ea]{width:360px}.w-160[data-v-6848d0ea]{width:160px}.w140[data-v-6848d0ea]{width:140px}.w350[data-v-6848d0ea]{width:350px}.tab-top[data-v-6848d0ea]{height:32px;margin:20px 20px 0 20px}.tab-top .fl[data-v-6848d0ea],.tab-top[data-v-6848d0ea]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.table-content[data-v-6848d0ea]{margin:20px;padding-bottom:20px}.table-content .img-text[data-v-6848d0ea]{height:60px}.table-content .img-text img[data-v-6848d0ea]{width:60px;height:60px;border:1px solid #dcdfe6;padding:4px;border-radius:2px}.table-content .img-text .text[data-v-6848d0ea]{display:inline-block;vertical-align:top;width:75%;height:60px;margin-left:3px;font-size:13px;line-height:14px;position:relative}.table-content .img-text .text .goods-descript[data-v-6848d0ea]{display:-webkit-box;display:-ms-flexbox;display:flex;color:#606266;line-height:18px;font-size:14px}.table-content .img-text .text .goods-code[data-v-6848d0ea]{color:#909399;font-size:12px;line-height:16px;margin-bottom:2px;position:absolute;bottom:2px}.table-content .img-text .el-icon-edit-outline[data-v-6848d0ea]{display:none;cursor:pointer}.table-content .img-text :hover .el-icon-edit-outline[data-v-6848d0ea]{display:inline-block;cursor:pointer}.table-content .img-text .el-icon-edit-outline[data-v-6848d0ea]:hover{color:#2f54ed}.table-content .stock-box .el-icon-edit-outline[data-v-6848d0ea]{display:none;cursor:pointer}.table-content .stock-box:hover .el-icon-edit-outline[data-v-6848d0ea]{display:inline-block;cursor:pointer}.el-icon-edit-outline[data-v-6848d0ea]:hover{color:#2f54ed}.undeline-dash[data-v-6848d0ea]{border-bottom:1px dashed #2f54eb;font-weight:500}.spanclass[data-v-6848d0ea]{display:inline-block;line-height:32px}.hidden-data[data-v-6848d0ea]{max-width:180px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.stock-box .el-tooltip__popper{width:150px}
\ No newline at end of file
.right-border{border-right:1px solid #ebeef5}.hidden-limit .dm-input__counter{display:none}.popver-button .el-button:not(.el-button--text){min-width:50px}.file-style:hover .upload-trigger[data-v-16033c0a]{border-color:#1890ff}.upload-ele .el-button[data-v-16033c0a]{border:none;color:#c0c4cc}.upload-ele .el-button--small[data-v-16033c0a]{padding:0}.uploadText p[data-v-16033c0a]{line-height:26px}.pickup-upload[data-v-16033c0a]{display:inline-block;vertical-align:top}.pickup-upload .upload-trigger[data-v-16033c0a]{border-style:dashed;margin-right:10px}.pickup-upload .upload-trigger .upload-icon[data-v-16033c0a]{font-size:14px}.pickup-upload .pickup-list[data-v-16033c0a]{margin-top:18px}.pickup-upload .pickup-list .pickup-list-name[data-v-16033c0a]{font-size:14px;font-weight:400;color:#303133;line-height:20px}.pickup-upload .pickup-list .pickup-list-name .file-icon[data-v-16033c0a]{font-size:14px}.w360[data-v-5fd264d5]{width:360px}.w-160[data-v-5fd264d5]{width:160px}.w140[data-v-5fd264d5]{width:140px}.w350[data-v-5fd264d5]{width:350px}.tab-top[data-v-5fd264d5]{height:32px;margin:20px 20px 0 20px}.tab-top .fl[data-v-5fd264d5],.tab-top[data-v-5fd264d5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.table-content[data-v-5fd264d5]{margin:20px;padding-bottom:20px}.table-content .img-text[data-v-5fd264d5]{height:60px}.table-content .img-text img[data-v-5fd264d5]{width:60px;height:60px;border:1px solid #dcdfe6;padding:4px;border-radius:2px}.table-content .img-text .text[data-v-5fd264d5]{display:inline-block;vertical-align:top;width:75%;height:60px;margin-left:3px;font-size:13px;line-height:14px;position:relative}.table-content .img-text .text .goods-descript[data-v-5fd264d5]{display:-webkit-box;display:-ms-flexbox;display:flex;color:#606266;line-height:18px;font-size:14px}.table-content .img-text .text .goods-code[data-v-5fd264d5]{color:#909399;font-size:12px;line-height:16px;margin-bottom:2px;position:absolute;bottom:2px}.table-content .img-text .el-icon-edit-outline[data-v-5fd264d5]{display:none;cursor:pointer}.table-content .img-text :hover .el-icon-edit-outline[data-v-5fd264d5]{display:inline-block;cursor:pointer}.table-content .img-text .el-icon-edit-outline[data-v-5fd264d5]:hover{color:#2f54ed}.table-content .stock-box .el-icon-edit-outline[data-v-5fd264d5]{display:none;cursor:pointer}.table-content .stock-box:hover .el-icon-edit-outline[data-v-5fd264d5]{display:inline-block;cursor:pointer}.el-icon-edit-outline[data-v-5fd264d5]:hover{color:#2f54ed}.undeline-dash[data-v-5fd264d5]{border-bottom:1px dashed #2f54eb;font-weight:500}.spanclass[data-v-5fd264d5]{display:inline-block;line-height:32px}.hidden-data[data-v-5fd264d5]{max-width:180px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.stock-box .el-tooltip__popper{width:150px}
\ No newline at end of file
.empty_block[data-v-14801ffa]:after{content:"\6682\65E0\7269\6D41\4FE1\606F"}.logistics-info[data-v-14801ffa]{display:-webkit-box;display:-ms-flexbox;display:flex}.logistics-info>div[data-v-14801ffa]{-webkit-box-flex:1;-ms-flex:1;flex:1}.logistics-info span[data-v-14801ffa]{display:inline-block}.logistics-info span+span[data-v-14801ffa]{margin-left:10px}.logistics-step[data-v-14801ffa]{margin-top:24px;background:#fafafa;padding:15px 0}.logistics-step h3[data-v-14801ffa]{color:#303133;font-size:16px;border-bottom:1px solid #dcdfe6;padding:0 20px 15px 20px}.logistics-step .logistics-list[data-v-14801ffa]{height:328px;overflow-y:auto;padding:20px}.logistics-step .logistics-item[data-v-14801ffa]{position:relative;padding-bottom:10px}.logistics-step .logistics-line-step[data-v-14801ffa]{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:12px}.logistics-step .logistics-line-step .time[data-v-14801ffa]{margin-right:20px;width:160px;line-height:22px;font-weight:500;color:#303133}.logistics-step .logistics-line-step .content[data-v-14801ffa]{color:#303133;-webkit-box-flex:1;-ms-flex:1;flex:1;line-height:22px}
\ No newline at end of file
.right-border{border-right:1px solid #ebeef5}.hidden-limit .dm-input__counter{display:none}.popver-button .el-button:not(.el-button--text){min-width:50px}.file-style:hover .upload-trigger[data-v-16033c0a]{border-color:#1890ff}.upload-ele .el-button[data-v-16033c0a]{border:none;color:#c0c4cc}.upload-ele .el-button--small[data-v-16033c0a]{padding:0}.uploadText p[data-v-16033c0a]{line-height:26px}.pickup-upload[data-v-16033c0a]{display:inline-block;vertical-align:top}.pickup-upload .upload-trigger[data-v-16033c0a]{border-style:dashed;margin-right:10px}.pickup-upload .upload-trigger .upload-icon[data-v-16033c0a]{font-size:14px}.pickup-upload .pickup-list[data-v-16033c0a]{margin-top:18px}.pickup-upload .pickup-list .pickup-list-name[data-v-16033c0a]{font-size:14px;font-weight:400;color:#303133;line-height:20px}.pickup-upload .pickup-list .pickup-list-name .file-icon[data-v-16033c0a]{font-size:14px}.w360[data-v-735a576f]{width:360px}.w-160[data-v-735a576f]{width:160px}.w140[data-v-735a576f]{width:140px}.w350[data-v-735a576f]{width:350px}.tab-top[data-v-735a576f]{height:32px;margin:20px 20px 0 20px}.tab-top .fl[data-v-735a576f],.tab-top[data-v-735a576f]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.table-content[data-v-735a576f]{margin:20px;padding-bottom:20px}.table-content .img-text[data-v-735a576f]{height:60px}.table-content .img-text img[data-v-735a576f]{width:60px;height:60px;border:1px solid #dcdfe6;padding:4px;border-radius:2px}.table-content .img-text .text[data-v-735a576f]{display:inline-block;vertical-align:top;width:75%;height:60px;margin-left:3px;font-size:13px;line-height:14px;position:relative}.table-content .img-text .text .goods-descript[data-v-735a576f]{display:-webkit-box;display:-ms-flexbox;display:flex;color:#606266;line-height:18px;font-size:14px}.table-content .img-text .text .goods-code[data-v-735a576f]{color:#909399;font-size:12px;line-height:16px;margin-bottom:2px;position:absolute;bottom:2px}.table-content .img-text .el-icon-edit-outline[data-v-735a576f]{display:none;cursor:pointer}.table-content .img-text :hover .el-icon-edit-outline[data-v-735a576f]{display:inline-block;cursor:pointer}.table-content .img-text .el-icon-edit-outline[data-v-735a576f]:hover{color:#2f54ed}.table-content .stock-box .el-icon-edit-outline[data-v-735a576f]{display:none;cursor:pointer}.table-content .stock-box:hover .el-icon-edit-outline[data-v-735a576f]{display:inline-block;cursor:pointer}.el-icon-edit-outline[data-v-735a576f]:hover{color:#2f54ed}.undeline-dash[data-v-735a576f]{border-bottom:1px dashed #2f54eb;font-weight:500}.spanclass[data-v-735a576f]{display:inline-block;line-height:32px}.hidden-data[data-v-735a576f]{max-width:180px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.stock-box .el-tooltip__popper{width:150px}
\ No newline at end of file
.hidden-limit .dm-input__counter{display:none}.popver-button .el-button:not(.el-button--text){min-width:50px}.right-border{border-right:1px solid #ebeef5}.w360[data-v-f16dc7d2]{width:360px}.w-160[data-v-f16dc7d2]{width:160px}.w140[data-v-f16dc7d2]{width:140px}.w350[data-v-f16dc7d2]{width:350px}.tab-top[data-v-f16dc7d2]{height:32px;margin:20px 20px 0 20px}.tab-top .fl[data-v-f16dc7d2],.tab-top[data-v-f16dc7d2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.table-content[data-v-f16dc7d2]{margin:20px;padding-bottom:20px}.table-content .img-text[data-v-f16dc7d2]{height:60px}.table-content .img-text img[data-v-f16dc7d2]{width:60px;height:60px;border:1px solid #dcdfe6;padding:4px;border-radius:2px}.table-content .img-text .text[data-v-f16dc7d2]{display:inline-block;vertical-align:top;width:75%;height:60px;margin-left:3px;font-size:13px;line-height:14px;position:relative}.table-content .img-text .text .goods-descript[data-v-f16dc7d2]{display:-webkit-box;display:-ms-flexbox;display:flex;color:#606266;line-height:18px;font-size:14px}.table-content .img-text .text .goods-code[data-v-f16dc7d2]{color:#909399;font-size:12px;line-height:16px;margin-bottom:2px;position:absolute;bottom:2px}.table-content .img-text .el-icon-edit-outline[data-v-f16dc7d2]{display:none;cursor:pointer}.table-content .img-text :hover .el-icon-edit-outline[data-v-f16dc7d2]{display:inline-block;cursor:pointer}.table-content .img-text .el-icon-edit-outline[data-v-f16dc7d2]:hover{color:#2f54ed}.table-content .stock-box .el-icon-edit-outline[data-v-f16dc7d2]{display:none;cursor:pointer}.table-content .stock-box:hover .el-icon-edit-outline[data-v-f16dc7d2]{display:inline-block;cursor:pointer}.el-icon-edit-outline[data-v-f16dc7d2]:hover{color:#2f54ed}.undeline-dash[data-v-f16dc7d2]{border-bottom:1px dashed #2f54eb;font-weight:500}.spanclass[data-v-f16dc7d2]{display:inline-block;line-height:32px}.hidden-data[data-v-f16dc7d2]{max-width:180px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.stock-box .el-tooltip__popper{width:150px}
\ No newline at end of file
.empty_block[data-v-dfb952a4]:after{content:"\6682\65E0\7269\6D41\4FE1\606F"}.logistics-info[data-v-dfb952a4]{display:-webkit-box;display:-ms-flexbox;display:flex}.logistics-info>div[data-v-dfb952a4]{-webkit-box-flex:1;-ms-flex:1;flex:1}.logistics-info span[data-v-dfb952a4]{display:inline-block}.logistics-info span+span[data-v-dfb952a4]{margin-left:10px}.logistics-step[data-v-dfb952a4]{margin-top:24px;background:#fafafa;padding:15px 0}.logistics-step h3[data-v-dfb952a4]{color:#303133;font-size:16px;border-bottom:1px solid #dcdfe6;padding:0 20px 15px 20px}.logistics-step .logistics-list[data-v-dfb952a4]{height:328px;overflow-y:auto;padding:20px}.logistics-step .logistics-item[data-v-dfb952a4]{position:relative;padding-bottom:10px}.logistics-step .logistics-line-step[data-v-dfb952a4]{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:12px}.logistics-step .logistics-line-step .time[data-v-dfb952a4]{margin-right:20px;width:160px;line-height:22px;font-weight:500;color:#303133}.logistics-step .logistics-line-step .content[data-v-dfb952a4]{color:#303133;-webkit-box-flex:1;-ms-flex:1;flex:1;line-height:22px}
\ No newline at end of file
......@@ -47,7 +47,7 @@
<script src="//web-1251519181.file.myqcloud.com/components/app-info.1.0.5.js"></script><!-- 应用信息 -->
<script src="//web-1251519181.file.myqcloud.com/components/preview-img.1.0.3.js"></script><!-- 图片预览 -->
<script src="//web-1251519181.file.myqcloud.com/components/delete.1.1.4.js"></script><!-- 删除轻弹窗 -->
<script src="//web-1251519181.file.myqcloud.com/components/input-number.1.0.10.js"></script><!-- 输入框 -->
<script src="//web-1251519181.file.myqcloud.com/components/input-number.1.0.11.js"></script><!-- 输入框 -->
<script src="//web-1251519181.file.myqcloud.com/components/welfare-selector.0.0.6.js"></script><!-- 福利选择器 -->
<script src="//web-1251519181.file.myqcloud.com/components/acc-group-select.1.0.5.js"></script><!-- 账号分组组件 -->
<script src="//web-1251519181.file.myqcloud.com/components/editor.1.1.13.js"></script><!-- 富文本编辑器 -->
......
......@@ -20,7 +20,7 @@
<el-option label="增加" :value="1"></el-option>
<el-option label="减少" :value="0"></el-option>
</el-select>
<dm-input-number v-model="banthStock" width="140" style="margin-left:-2px;" controls-position="right" precision="2" :min="0" :max="999999.99"></dm-input-number>
<dm-input-number v-model="banthStock" width="140" style="margin-left:-2px;" controls-position="right" precision="0" :min="0" :max="999999"></dm-input-number>
</div>
<div class="popver-button" style="margin-top:18px;text-align:right">
<el-button type="dafault" size="small">取消</el-button>
......@@ -36,7 +36,7 @@
<el-option label="增加" :value="1"></el-option>
<el-option label="减少" :value="0"></el-option>
</el-select>
<dm-input-number v-model="skuSellObj[scope.row.mapId].stageStock" width="140" style="margin-left:-2px;" controls-position="right" @blur="changeSingleStock(skuSellObj[scope.row.mapId].giftSkuId, skuSellObj[scope.row.mapId].stageStock, skuSellObj[scope.row.mapId].stockType)" precision="2" :min="0" :max="999999.99"></dm-input-number>
<dm-input-number v-model="skuSellObj[scope.row.mapId].stageStock" width="140" style="margin-left:-2px;" controls-position="right" @blur="changeSingleStock(skuSellObj[scope.row.mapId].giftSkuId, skuSellObj[scope.row.mapId].stageStock, skuSellObj[scope.row.mapId].stockType)" precision="0" :min="0" :max="999999"></dm-input-number>
</template>
</el-table-column>
</el-table>
......@@ -48,7 +48,7 @@
<el-option label="增加" :value="1"></el-option>
<el-option label="减少" :value="0"></el-option>
</el-select>
<dm-input-number v-model="stock" width="140" style="margin-left:-2px;" controls-position="right" @blur="changeSingleStock(giftSkuId, stock, stockType)" precision="2" :min="0" :max="999999.99"></dm-input-number>
<dm-input-number v-model="stock" width="140" style="margin-left:-2px;" controls-position="right" @blur="changeSingleStock(giftSkuId, stock, stockType)" precision="0" :min="0" :max="999999"></dm-input-number>
</template>
</el-form-item>
</el-form>
......
......@@ -126,7 +126,7 @@
</div>
</template>
</el-table-column>
<el-table-column prop="allExchangeNumber" label="总出库量" min-width="100px">
<el-table-column prop="totalStock" label="总出库量" min-width="100px">
<template slot="header">
<el-tooltip open-delay="200" effect="dark" style="width:250px" placement="top">
<span class="undeline-dash">总出库量</span>
......@@ -139,7 +139,7 @@
</el-tooltip>
</template>
<template slot-scope="scope">
<span>{{ scope.row.historyTotalStock }}</span>
<span>{{ scope.row.totalOutStock || '--' }}</span>
</template>
</el-table-column>
<el-table-column prop="hiddenFlag" label="是否隐藏" min-width="100px">
......
......@@ -249,7 +249,13 @@ export default {
image: [],
uploadFile: {
name: ''
}
},
correct: false,
correct1: true,
correct2: true,
correct3: true,
correct4: true,
template2: ''
};
},
mounted() {
......@@ -310,9 +316,14 @@ export default {
downloadFile() {
if(!this.isEdit){
this.saveDescription();
if(this.correct){
const prev = process.env['NODE_ENV'] === 'development' ? '' : '/welfare'; // eslint-disable-line
window.open(`${prev}/static/虚拟礼品卡券模板.xlsx`, '_blank');
}
}else{
const prev = process.env['NODE_ENV'] === 'development' ? '' : '/welfare'; // eslint-disable-line
window.open(`${prev}/static/虚拟礼品卡券模板.xlsx`, '_blank');
}
const prev = process.env['NODE_ENV'] === 'development' ? '' : '/welfare'; // eslint-disable-line
window.open(`${prev}/static/虚拟礼品卡券模板.xlsx`, '_blank');
},
// uploadChange(file){
// console.log(file);
......@@ -333,11 +344,15 @@ export default {
// },
handleChange2(value){
this.goodsForm.template = value;
this.correct = false;
this.correct1 = true;
this.correct2 = true;
this.correct3 = true;
this.correct4 = true;
// console.log(this.goodsForm.giftDescrption);
},
// 保存发货内容 校验
saveDescription(){
this.isSave = true;
let index = this.goodsForm.template.indexOf('{'); // 字符出现的位置
let templatePre = this.goodsForm.template.split(''); // 处理{ 后的数据
templatePre.splice(index + 1, 0, '<span style="text-decoration: underline">');
......@@ -373,7 +388,7 @@ export default {
indexCopy = this.goodsForm.template.indexOf('{', indexCopy + 1);
if(indexCopy - indexCopyLate == 42){
this.$message.error('{}不能嵌套出现');
this.isSave = false;
this.correct1 = false;
};
indexCopyLate = indexCopy;
}
......@@ -382,17 +397,21 @@ export default {
index2Copy = this.goodsForm.template.indexOf('}', index2Copy + 1);
if(index2Copy - index2CopyLate == 8){
this.$message.error('{}不能嵌套出现');
this.isSave = false;
this.correct2 = false;
};
index2CopyLate = index2Copy;
}
if(num !== num2 || num > 3 || num2 > 3){
this.$message.error('请填写正确的格式');
this.isSave = false;
this.correct3 = false;
};
// if(this.isSave){
// this.generateTemplate();
// }
if(num === 0 || num2 === 0){
this.$message.error('请填写正确的格式');
this.correct4 = false;
};
if(this.correct1 && this.correct2 && this.correct3 && this.correct4){
this.correct = true;
}
},
// 生成模板
// generateTemplate(){
......@@ -457,9 +476,6 @@ export default {
this.goodsForm.stock = resResult.stock;
this.goodsForm.giftBarNo = resResult.giftBarNo;
this.goodsForm.virCostPrice = resResult.virCostPrice;
// this.goodsForm.tableData[0].giftNo = resResult.giftNo;
// this.goodsForm.tableData[0].stock = resResult.stock;
// this.goodsForm.tableData[0].giftBarNo = resResult.giftBarNo;
this.goodsForm.marketPrice = resResult.marketPrice; // 市场价
this.goodsForm.operAuthType = resResult.operAuthType; // 操作人权限
this.goodsForm.operAuthPre = resResult.operAuth.split(',');
......@@ -587,6 +603,7 @@ export default {
// params.giftId = '';
giftSave(params).then(res =>{
if (res.code === '0000') {
this.$store.commit('updateShowCornerCanUseApp', true);
this.$router.push({ path: '/gift-manage/virtual-gift' });
this.btnLoading = false;
} else {
......
......@@ -139,7 +139,7 @@
</el-tooltip>
</template>
<template slot-scope="scope">
<span>{{ scope.row.historyTotalStock }}</span>
<span>{{ scope.row.totalOutStock || '--' }}</span>
</template>
</el-table-column>
<el-table-column prop="hiddenFlag" label="是否隐藏" min-width="100px">
......
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