基线:全量源码首提(D1 版本控制落地,含第一轮优化 B1-B4/A1/A4/缩放修复)
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -0,0 +1 @@
|
||||
.controls[data-v-465c9f9c]{position:absolute;top:16px;right:16px;display:flex;gap:10px;z-index:10;font-size:13px;font-weight:500}.controls .countdown[data-v-465c9f9c],.controls .skip-btn[data-v-465c9f9c]{background:rgba(0,0,0,.6);color:#fff;padding:6px 14px;border-radius:20px;backdrop-filter:blur(4px);box-shadow:0 2px 8px rgba(0,0,0,.15);letter-spacing:.5px}.controls .skip-btn[data-v-465c9f9c]{cursor:pointer;transition:all .3s ease}.controls .skip-btn[data-v-465c9f9c]:hover{background:rgba(0,0,0,.8);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.25)}.ad-content[data-v-465c9f9c]{flex:1;padding:0}.ad-content[data-v-465c9f9c],.ad-image-wrapper[data-v-465c9f9c]{display:flex;justify-content:center;align-items:center;width:100%}.ad-image-wrapper[data-v-465c9f9c]{max-width:958px;height:auto;aspect-ratio:1.61279461;background:linear-gradient(135deg,#f5f5f5,#e8e8e8);position:relative;overflow:hidden;border-radius:8px;box-shadow:0 8px 32px rgba(0,0,0,.12)}.ad-image[data-v-465c9f9c]{position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:0;transition:opacity .6s ease-in-out,transform .6s ease-out;display:block;transform:scale(1.05)}.ad-image.active[data-v-465c9f9c]{opacity:1;transform:scale(1)}.indicators[data-v-465c9f9c]{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;justify-content:center;align-items:center;gap:8px;z-index:10;padding:8px 16px;background:rgba(0,0,0,.3);border-radius:20px;backdrop-filter:blur(4px)}.dot[data-v-465c9f9c]{width:8px;height:8px;background:hsla(0,0%,100%,.5);transition:all .3s ease;border-radius:50%;cursor:pointer}.dot.active[data-v-465c9f9c]{background:#fff;width:24px;border-radius:4px}.dot[data-v-465c9f9c]:hover:not(.active){background:hsla(0,0%,100%,.8)}@media (max-width:768px){.controls[data-v-465c9f9c]{font-size:12px;gap:8px;top:12px;right:12px}.controls .countdown[data-v-465c9f9c],.controls .skip-btn[data-v-465c9f9c]{padding:5px 12px}.indicators[data-v-465c9f9c]{bottom:15px;gap:6px;padding:6px 12px}.dot[data-v-465c9f9c]{width:6px;height:6px}.dot.active[data-v-465c9f9c]{width:18px}}.el-dialog.ad-dialog{width:70%!important;max-width:1000px!important;padding:0!important;border-radius:12px!important;box-shadow:0 20px 60px rgba(0,0,0,.3)!important;overflow:hidden!important;background:transparent!important}.el-dialog.ad-dialog .el-dialog__body{padding:0!important;margin:0!important}.el-dialog.ad-dialog .el-dialog__header{padding:0!important;margin:0!important;display:none!important}.el-dialog.ad-dialog .el-dialog__footer{padding:0!important;margin:0!important}.v-modal{background:rgba(0,0,0,.7)!important;backdrop-filter:blur(4px)}#app{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,sans-serif;height:100%}.el-dialog.ad-dialog{margin:0!important;position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}.custom-tree-node:hover{color:#f60!important}.el-tree-node__content:hover{background-color:#f5f7fa!important}.el-tree-node.is-current>.el-tree-node__content .custom-tree-node{color:#f60!important}.el-tree-node.is-current>.el-tree-node__content{background-color:#f5f7fa!important}.custom-tree-node{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:13px}
|
||||
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 @@
|
||||
[data-v-b2621e02]{margin:0;padding:0;box-sizing:border-box}.check[data-v-b2621e02]{height:50px;display:flex}.check .checkbox[data-v-b2621e02],.check .lookout[data-v-b2621e02]{margin-top:10px;margin-left:50px}.check .lookout a[data-v-b2621e02]{color:#00f}#app[data-v-b2621e02]{font-family:Arial,Helvetica,sans-serif;display:flex;flex-direction:column;justify-content:center;align-items:center;height:85vh}h1[data-v-b2621e02]{font-weight:700;margin:0}p[data-v-b2621e02]{font-size:14px;font-weight:100;line-height:20px;letter-spacing:.5px;margin:20px 0 30px}span[data-v-b2621e02]{font-size:12px}a[data-v-b2621e02]{color:#333;font-size:14px;text-decoration:none;margin:15px 0}.container[data-v-b2621e02]{background:#fff;border-radius:10px;box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);position:relative;overflow:hidden;width:768px;max-width:100%;min-height:430px}.form-container form[data-v-b2621e02]{background-color:#fff;display:flex;flex-direction:column;padding:0 30px;height:100%;justify-content:center;text-align:center}.social-container[data-v-b2621e02]{margin:10px 0}.social-container a[data-v-b2621e02]{border:1px solid #ddd;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;margin:0 5px;height:40px;width:40px}.form-container el-input[data-v-b2621e02]{background:#eee;border:none;padding:12px 15px;margin:5px 0;width:100%}button[data-v-b2621e02],input[type=button][data-v-b2621e02]{border-radius:20px;border:1px solid #ff4b2b;background:#ff4b2b;color:#fff;font-size:12px;font-weight:700;padding:12px 45px;letter-spacing:1px;transition:transform 80ms ease-in}button[data-v-b2621e02]:active,el-input[type=button][data-v-b2621e02]:active{transform:scale(.95)}button[data-v-b2621e02]:focus,el-input[type=button][data-v-b2621e02]:focus{outline:none}button.ghost[data-v-b2621e02],el-input[type=button].ghost[data-v-b2621e02]{background:transparent;border-color:#fff}.form-container[data-v-b2621e02]{position:absolute;top:0;height:100%;transition:all .6s ease-out}.sign-in-container[data-v-b2621e02]{left:0;width:50%;z-index:2}.sign-up-container[data-v-b2621e02]{left:0;width:50%;opacity:0;z-index:1}.overlay-container[data-v-b2621e02]{position:absolute;top:0;left:50%;width:50%;height:100%;overflow:hidden;transition:transform .6s ease-in-out;z-index:100}.overlay[data-v-b2621e02]{background:#ff416c;background:linear-gradient(90deg,#ff4b2b,#ff416c) no-repeat 0 0/cover;color:#fff;height:100%;width:200%;position:relative;left:-100%;transform:translateX(0);transition:transform .6s ease-in-out}.overlay-panel[data-v-b2621e02]{position:absolute;top:0;display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;width:50%;padding:0 40px;text-align:center;transform:translateX(0);transition:transform .5s ease-in-out}.overlay-right[data-v-b2621e02]{right:0;transform:translateX(0)}.overlay-left[data-v-b2621e02]{transform:translateX(-20%)}.container.right-panel-active .sign-in-container[data-v-b2621e02]{transform:translateX(100%)}.container.right-panel-active .overlay-container[data-v-b2621e02]{transform:translateX(-100%)}.container.right-panel-active .sign-up-container[data-v-b2621e02]{opacity:1;z-index:5;transform:translateX(100%)}.container.right-panel-active .overlay[data-v-b2621e02]{transform:translateX(50%)}.container.right-panel-active .overlay-left[data-v-b2621e02]{transform:translateX(0)}.container.right-panel-active .overlay-right[data-v-b2621e02]{transform:translateX(20%)}[data-v-b2621e02] .el-form-item{margin:0}.form-container[data-v-b2621e02]{margin:0 auto;position:static;margin-top:100px}
|
||||
@@ -0,0 +1 @@
|
||||
.annex[data-v-33cb068d]{padding:7.5px 0;font-size:13px}.annex .comb-wrap .comb-hd[data-v-33cb068d]{position:relative;padding-left:10px;color:#333}.annex .comb-wrap .comb-hd[data-v-33cb068d]:before{content:"●";position:absolute;left:0;font-size:12px;color:#f60;line-height:13px;transform:scale(.8)}.annex .comb-wrap .comb-bd[data-v-33cb068d]{margin:0;list-style:none;padding:2.5px 0 6px 15px}.annex .comb-wrap .comb-bd .comb-item[data-v-33cb068d]{margin-bottom:2.5px;display:inline-block}.annex .comb-wrap .comb-bd .comb-item[data-v-33cb068d] .el-checkbox{margin-right:2.5px}.annex .comb-wrap .comb-bd .comb-item[data-v-33cb068d] .el-checkbox .is-checked .el-checkbox__inner{border-color:#f60}.annex .comb-wrap .comb-bd .comb-item[data-v-33cb068d] .el-checkbox .is-disabled .el-checkbox__inner{background-color:#eee}.annex .comb-wrap .comb-bd .comb-item[data-v-33cb068d] .el-checkbox .el-checkbox__input .el-checkbox__inner:hover,.annex .comb-wrap .comb-bd .comb-item[data-v-33cb068d] .el-checkbox .is-focus .el-checkbox__inner{border-color:#f60}.annex .comb-wrap .comb-bd .comb-item .comb-item-label[data-v-33cb068d]{margin-right:10px;cursor:pointer}.annex .comb-wrap .comb-bd .comb-item .activecolor[data-v-33cb068d]{color:#f60}.annex .comb-wrap .comb-bd .activewidth[data-v-33cb068d]{width:100%}.annex .comb-wrap .comb-bd .comb-info[data-v-33cb068d]{background:#f9f8f8;padding:6px 10px 2px;font-size:12px}.annex .comb-wrap .comb-bd .comb-info .comb-product[data-v-33cb068d]{display:flex}.annex .comb-wrap .comb-bd .comb-info .comb-product .comb-img[data-v-33cb068d]{width:52px;min-width:52px;height:52px;border:1px solid #ece8e8;font-size:0}.annex .comb-wrap .comb-bd .comb-info .comb-product .comb-title[data-v-33cb068d]{margin-left:5px;flex:1}.annex .comb-wrap .comb-bd .comb-info .comb-product .comb-title .name[data-v-33cb068d]{font-size:13px;color:#333;font-weight:700}.annex .comb-wrap .comb-bd .comb-info .comb-product .comb-title .p-ellipsis[data-v-33cb068d]{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.annex .comb-wrap .comb-bd .comb-info .comb-product .comb-title .p-ellipsis .p-detail-label[data-v-33cb068d]{color:#999}.annex .comb-wrap .comb-bd .comb-info .comb-product .comb-title .p-ellipsis .priced[data-v-33cb068d]{font-size:12px;color:#e60012;font-weight:700}.annex .comb-wrap .comb-bd .comb-info .comb-product .comb-title .p-ellipsis .price-before[data-v-33cb068d]{color:#999;font-size:12px;text-decoration:line-through;margin-left:3px}.annex .comb-wrap .comb-bd .comb-info .prop[data-v-33cb068d]{padding:7.5px 7.5px 0 0;font-size:12px}.annex .comb-wrap .comb-bd .comb-info .prop .props-wrap[data-v-33cb068d]{margin-bottom:4px}.annex .comb-wrap .comb-bd .comb-info .prop .props-wrap .prop-cd[data-v-33cb068d]{padding-left:0;display:inline-block;text-align:right;width:54px;vertical-align:top;position:relative;color:#666}.annex .comb-wrap .comb-bd .comb-info .prop .props-wrap .prop-bd[data-v-33cb068d]{padding:0;display:inline-block;margin-left:10px;width:calc(100% - 67px);list-style:none}.annex .comb-wrap .comb-bd .comb-info .prop .props-wrap .prop-bd .prop-item[data-v-33cb068d]{margin-bottom:2.5px;display:inline-block;margin-right:10px;font-size:12px;color:#333;cursor:pointer;text-align:center;background-color:#f2f2f2;padding:1px 2.5px}.annex .comb-wrap .comb-bd .comb-info .prop .props-wrap .prop-bd .activeannex[data-v-33cb068d],.annex .comb-wrap .comb-bd .comb-info .prop .props-wrap .prop-bd .prop-item[data-v-33cb068d]:hover{color:#f60}.annex .comb-wrap .comb-bd .comb-info .prop .props-wrap .prop-bd .activeannex[data-v-33cb068d]:hover{color:#333}.annex .content[data-v-33cb068d]{text-align:center}
|
||||
@@ -0,0 +1 @@
|
||||
.main .content[data-v-347682d6]{margin:0 auto}.main .content h1[data-v-347682d6]{margin:0 auto;margin-left:100px;margin-bottom:20px;margin-top:20px}
|
||||
@@ -0,0 +1 @@
|
||||
.order-manager-container[data-v-42e3edad]{width:100%;max-width:1800px;max-height:100%;margin:8px auto;padding:12px;background:#fff;min-height:calc(100vh - 36px);box-shadow:0 2px 10px rgba(0,0,0,.06)}.order-manager-header[data-v-42e3edad]{text-align:center;padding:12px;background:#fff;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);margin-bottom:12px;position:relative}.header-left[data-v-42e3edad]{display:flex;align-items:center;gap:16px}.el-icon-back[data-v-42e3edad]{font-size:18px;color:#000;cursor:pointer;transition:all .3s ease}.el-icon-back[data-v-42e3edad]:hover{color:#409eff;transform:scale(1.1)}.order-manager-header h1[data-v-42e3edad]{margin:0;font-size:20px;color:#1e3c72;font-weight:700}.order-stats[data-v-42e3edad]{display:flex;justify-content:space-around;align-items:center;padding:12px;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.06);margin-bottom:12px}.stat-item[data-v-42e3edad]{display:flex;flex-direction:column;align-items:center;gap:4px}.stat-label[data-v-42e3edad]{font-size:12px;color:#64748b;font-weight:500}.stat-value[data-v-42e3edad]{font-size:18px;color:#1e3c72;font-weight:700}.stat-value.pending[data-v-42e3edad]{color:#e6a23c}.stat-value.completed[data-v-42e3edad]{color:#67c23a}.stat-value.cancelled[data-v-42e3edad]{color:#f56c6c}.order-search[data-v-42e3edad]{background:#fff;padding:10px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.06);margin-bottom:12px;border:1px solid #e8ecf4}.search-input[data-v-42e3edad]{width:100%}.refresh-button[data-v-42e3edad],.reset-button[data-v-42e3edad],.search-button[data-v-42e3edad]{height:30px;background:#ff5252;border:none;color:#fff;font-weight:600;padding:0 14px;border-radius:6px;transition:all .3s ease;box-shadow:0 2px 6px rgba(255,82,82,.15)}.refresh-button[data-v-42e3edad]:hover,.reset-button[data-v-42e3edad]:hover,.search-button[data-v-42e3edad]:hover{transform:translateY(-2px);box-shadow:0 4px 10px rgba(255,82,82,.2)}.reset-button[data-v-42e3edad]{background:#909399}.reset-button[data-v-42e3edad]:hover{background:#a6a9ad}.order-table-wrapper[data-v-42e3edad]{background:#fff;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.06);overflow:hidden}.order-table-wrapper[data-v-42e3edad] .el-table{font-size:16px;border-radius:8px;overflow:hidden}.order-table-wrapper[data-v-42e3edad] .el-table__header-wrapper{border-radius:8px 4px 0}.order-table-wrapper[data-v-42e3edad] .el-table__header{background:#f5f7fa}.order-table-wrapper[data-v-42e3edad] .el-table__header th{background:#fff;color:#1e3c72;font-weight:600;padding:16px 0;text-align:center;border-bottom:1px solid #e8ecf4}.order-table-wrapper[data-v-42e3edad] .el-table__body tr{transition:all .2s ease}.order-table-wrapper[data-v-42e3edad] .el-table__body tr:hover{background:#f0f7fa}.order-table-wrapper[data-v-42e3edad] .el-table__body td{padding:16px 0;border-bottom:1px solid #ebeef5;text-align:center}.order-table-wrapper[data-v-42e3edad] .el-table__body tr:last-child td{border-bottom:none}.order-table-wrapper[data-v-42e3edad] .el-button--mini{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;transition:all .2s ease}.order-table-wrapper[data-v-42e3edad] .el-button--mini:hover{transform:translateY(-1px);box-shadow:0 1px 6px rgba(0,0,0,.15)}.pagination-wrapper[data-v-42e3edad]{display:flex;justify-content:center;padding:16px 0;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.06);margin-top:12px}.pagination-wrapper[data-v-42e3edad] .el-pagination{font-weight:500}.pagination-wrapper[data-v-42e3edad] .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#409eff!important;color:#fff!important}.pagination-wrapper[data-v-42e3edad] .el-pagination.is-background .el-pager li:not(.disabled):hover{background-color:#ecf5ff!important;color:#409eff!important}.pagination-wrapper[data-v-42e3edad] .el-pagination.is-background .btn-next:hover,.pagination-wrapper[data-v-42e3edad] .el-pagination.is-background .btn-prev:hover{color:#409eff!important}.empty-tip[data-v-42e3edad]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;color:#64748b;text-align:center;font-size:14px;background:#fff;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.06);border:1px dashed #e8ecf4}.empty-tip i[data-v-42e3edad]{font-size:40px;margin-bottom:12px;color:#667eea}.empty-tip span[data-v-42e3edad]{margin-bottom:10px;font-size:15px;color:#2d3748;font-weight:500}@media (max-width:1200px){.order-manager-container[data-v-42e3edad]{max-width:calc(100% - 40px);padding:12px}}@media (max-width:768px){.order-manager-container[data-v-42e3edad]{margin:6px;padding:10px}.order-manager-header h1[data-v-42e3edad]{font-size:18px}.order-table-wrapper[data-v-42e3edad]{overflow-x:auto}}
|
||||
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 @@
|
||||
.el-form-item[data-v-4a09d3de]{margin-bottom:5px!important}.main .content[data-v-4a09d3de]{margin:0 auto}.main .content h1[data-v-4a09d3de]{margin:0 auto;margin-left:100px;margin-bottom:10px;margin-top:10px}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.company-form-container[data-v-04822523]{display:flex;justify-content:center;padding:40px 20px;background-color:#f5f7fa;min-height:100vh}.form-card[data-v-04822523]{width:100%;max-width:600px;background:#fff;padding:30px;border-radius:8px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.form-title[data-v-04822523]{text-align:center;margin-bottom:30px;color:#303133;font-size:24px}.company-form[data-v-04822523]{margin-right:20px}.company-form[data-v-04822523] .el-button{color:#fff!important}.company-form[data-v-04822523] .el-button--primary{background-color:#409eff;border-color:#409eff}.company-form[data-v-04822523] .el-button--default{background-color:#606266;border-color:#606266}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.tab_open[data-v-da14d0ca]{width:100%}.tab_open .t-j[data-v-da14d0ca]{width:100%;height:120px}.tab_open .t-j .t[data-v-da14d0ca]{width:100%;height:35px;text-align:center;font-size:18px;color:#6495ed}.tab_open .t-j .c[data-v-da14d0ca]{font-size:14px}.tab_open .t-z[data-v-da14d0ca]{width:100%;height:80px}.tab_open .t-z .t[data-v-da14d0ca]{width:100%;height:35px;text-align:center;font-size:18px;color:#6495ed}.tab_open .t-z .c[data-v-da14d0ca]{font-size:13px}.tab_open .t-k[data-v-da14d0ca]{width:100%;height:auto;margin-bottom:30px}.tab_open .t-k .t[data-v-da14d0ca]{width:100%;height:35px;text-align:center;font-size:18px;color:#6495ed}.tab_open .t-s[data-v-da14d0ca]{width:100%;height:auto}.tab_open .t-s .t[data-v-da14d0ca]{width:100%;height:35px;text-align:center;font-size:18px;color:#6495ed}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.noum .prop-item.activenoum[data-v-662c7092]{color:inherit!important;font-weight:700!important}.prop .prop-hd[data-v-662c7092]{position:relative;padding-left:10px;font-weight:600}.prop .prop-hd[data-v-662c7092]:before{content:"●";position:absolute;top:1.15px;left:0;font-size:12px;line-height:13px;transform:scale(.8)}.prop .prop-bd[data-v-662c7092]{padding:2.5px 0 0 10px;list-style:none;margin:0}.prop .prop-bd .prop-item[data-v-662c7092]{margin-bottom:2.5px;display:inline-block;margin-right:10px;font-size:12px;cursor:pointer;text-align:center;padding:.5px 1.5px}.prop .prop-bd .prop-item.activenoum[data-v-662c7092]{font-weight:700}.content .prop .prop-hd[data-v-662c7092]{position:relative;padding-left:10px;font-weight:600}.content .prop .prop-hd[data-v-662c7092]:before{content:"●";position:absolute;top:1.15px;left:0;font-size:12px;line-height:13px;transform:scale(.8)}.content .prop .prop-bd[data-v-662c7092]{padding:2.5px 0 0 10px;list-style:none;margin:0}.content .prop .prop-bd .prop-item[data-v-662c7092]{margin-bottom:2.5px;display:inline-block;margin-right:10px;font-size:12px;cursor:pointer;text-align:center;padding:.5px 1.5px}.content .prop .prop-bd .prop-item.activenoum[data-v-662c7092]{font-weight:700}
|
||||
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
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 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d679f"],{"735b":function(e,t,n){"use strict";n.d(t,"i",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return u})),n.d(t,"m",(function(){return c})),n.d(t,"l",(function(){return i})),n.d(t,"n",(function(){return s})),n.d(t,"d",(function(){return d})),n.d(t,"k",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"j",(function(){return l})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return R}));var r=n("1bab");function o(e){return Object(r["a"])({method:"POST",url:"/api/loginID_check",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:{user_phone:e.user_phone,password:e.password}})}function a(e){return Object(r["a"])({method:"post",url:"/api/message_check",data:e,transformRequest:[function(e){var t="";for(var n in e)t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&";return t}]})}function u(e){return Object(r["a"])({method:"post",url:"/api/userid_getfirsts",data:e,transformRequest:[function(e){var t="";for(var n in e)t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&";return t}]})}function c(e){return Object(r["a"])({method:"GET",url:"/get_seriesdata",params:{factId:e}})}function i(e){return Object(r["a"])({method:"post",useLocal:!0,url:"/get_data_search2",data:e,transformRequest:[function(e){var t="";for(var n in e)t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&";return t}]})}function s(e){return Object(r["a"])({method:"GET",url:"/get_spedata_all",params:{s:e}})}function d(e){return Object(r["a"])({method:"GET",url:"/get_accdata_all",params:{s:e}})}function f(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("POST","/sqb_pay/query_pd_order",!0),r.setRequestHeader("Content-Type","application/json; charset=utf-8"),localStorage.getItem("Author")&&r.setRequestHeader("token",localStorage.getItem("Author")),localStorage.getItem("loginkey")&&r.setRequestHeader("loginkey",localStorage.getItem("loginkey")),r.onreadystatechange=function(){if(4===r.readyState)if(200===r.status)try{var e=JSON.parse(r.responseText);t(e)}catch(o){n(new Error("JSON解析错误: "+o.message))}else n(new Error("请求失败,状态码: "+r.status))},r.onerror=function(){n(new Error("网络错误"))},r.send(JSON.stringify(e))}))}function p(e,t){return Object(r["a"])({method:"GET",useLocal:!0,url:"/get_series_similar",params:{seriesid:t,factid:e}})}function m(e,t){return Object(r["a"])({method:"GET",useLocal:!0,url:"/get_series_similar_brands",params:{seriesid:t,factid:e}})}function l(e){return Object(r["a"])({method:"post",url:"/api/pcLoginByWeiXin",data:e,transformRequest:[function(e){var t="";for(var n in e)t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&";return t}]})}function h(e){return Object(r["a"])({method:"post",url:"/api/WeChatid",data:e,transformRequest:[function(e){var t="";for(var n in e)t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&";return t}]})}function g(e){return Object(r["a"])({method:"post",url:"/api/WeChatRegister",data:e,transformRequest:[function(e){var t="";for(var n in e)t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&";return t}]})}function R(e){return Object(r["a"])({method:"post",url:"/api/WeChatBind",data:e,transformRequest:[function(e){var t="";for(var n in e)t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&";return t}]})}}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e4cd0"],{9289:function(n,u,c){"use strict";c.r(u);var e,l,o=c("2877"),p={},s=Object(o["a"])(p,e,l,!1,null,null,null);u["default"]=s.exports}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e87e2"],{"8a03":function(n,e,u){"use strict";u.r(e);var l,a,c=u("2877"),o={},p=Object(c["a"])(o,l,a,!1,null,null,null);e["default"]=p.exports}}]);
|
||||
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 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-42398bd6"],{"7c00":function(r,e,s){"use strict";s("dc04")},"946f":function(r,e,s){"use strict";s.r(e);var t=function(){var r=this,e=r.$createElement,s=r._self._c||e;return s("div",{staticClass:"main"},[s("div",{staticClass:"content"},[s("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:r.ruleForm,"status-icon":"",rules:r.rules,"label-width":"100px"}},[s("h1",[r._v("修改密码")]),s("el-form-item",{attrs:{label:"原密码",prop:"password"}},[s("el-input",{attrs:{type:"password",autocomplete:"off"},model:{value:r.ruleForm.password,callback:function(e){r.$set(r.ruleForm,"password",e)},expression:"ruleForm.password"}})],1),s("el-form-item",{attrs:{label:"新密码",prop:"pass"}},[s("el-input",{attrs:{type:"password",autocomplete:"off"},model:{value:r.ruleForm.pass,callback:function(e){r.$set(r.ruleForm,"pass",e)},expression:"ruleForm.pass"}})],1),s("el-form-item",{attrs:{label:"确认密码",prop:"checkPass"}},[s("el-input",{attrs:{type:"password",autocomplete:"off"},model:{value:r.ruleForm.checkPass,callback:function(e){r.$set(r.ruleForm,"checkPass",e)},expression:"ruleForm.checkPass"}})],1),s("el-form-item",[s("el-button",{attrs:{type:"primary"},on:{click:function(e){return r.submitForm("ruleForm")}}},[r._v("提交")]),s("el-button",{on:{click:function(e){return r.resetForm("ruleForm")}}},[r._v("重置")])],1)],1)],1)])},o=[],a={data:function(){var r=this,e=function(r,e,s){if(!e)return s(new Error("原密码不能为空"));s()},s=function(e,s,t){""===r.ruleForm.pass?t(new Error("请输入新密码")):r.ruleForm.pass.length<6||r.ruleForm.pass.length>20?t(new Error("请输入6-20位的复杂密码")):(""!==r.ruleForm.checkPass&&r.$refs.ruleForm.validateField("checkPass"),t())},t=function(e,s,t){""===s?t(new Error("请再次输入密码")):s!==r.ruleForm.pass?t(new Error("两次输入密码不一致!")):t()};return{ruleForm:{pass:"",checkPass:"",password:""},rules:{pass:[{validator:s,trigger:"blur"}],checkPass:[{validator:t,trigger:"blur"}],password:[{validator:e,trigger:"blur"}]}}},methods:{submitForm:function(r){var e=this;this.$refs[r].validate((function(r){if(!r)return!1;e.$axios({method:"post",url:"/api/user_update_pwd",headers:{"Content-type":"application/x-www-form-urlencoded"},params:{user_phone:e.$store.state.user_phone,old_pwd:e.ruleForm.password,new_pwd:e.ruleForm.pass},transformRequest:[function(r){var e="";for(var s in r)e+=encodeURIComponent(s)+"="+encodeURIComponent(r[s])+"&";return e}]}).then((function(r){200==r.data.code?e.$message.success("修改成功,建议重新登录以免忘记密码!"):e.$message.error("原密码输入错误")}))}))},resetForm:function(r){this.$refs[r].resetFields()}}},l=a,n=(s("7c00"),s("2877")),u=Object(n["a"])(l,t,o,!1,null,"347682d6",null);e["default"]=u.exports},dc04:function(r,e,s){}}]);
|
||||
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
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-75fada6c"],{"55f2":function(e,r,a){"use strict";a("fb86")},"5b86":function(e,r,a){"use strict";a.r(r);var n=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("div",{staticClass:"company-form-container"},[a("div",{staticClass:"form-card"},[a("h1",{staticClass:"form-title"},[e._v("填写公司信息")]),a("el-form",{ref:"formRef",staticClass:"company-form",attrs:{model:e.form,rules:e.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"公司名称",prop:"company_name"}},[a("el-input",{attrs:{placeholder:"请输入公司名称"},model:{value:e.form.company_name,callback:function(r){e.$set(e.form,"company_name",r)},expression:"form.company_name"}})],1),a("el-form-item",{attrs:{label:"公司地址",prop:"address"}},[a("el-input",{attrs:{placeholder:"请输入公司地址"},model:{value:e.form.address,callback:function(r){e.$set(e.form,"address",r)},expression:"form.address"}})],1),a("el-form-item",{attrs:{label:"联系电话",prop:"user_phone"}},[a("el-input",{attrs:{placeholder:"请输入公司联系电话",maxlength:"11"},model:{value:e.form.user_phone,callback:function(r){e.$set(e.form,"user_phone",r)},expression:"form.user_phone"}})],1),a("el-form-item",{attrs:{label:"联系人姓名",prop:"user_name"}},[a("el-input",{attrs:{placeholder:"请输入公司联系人姓名"},model:{value:e.form.user_name,callback:function(r){e.$set(e.form,"user_name",r)},expression:"form.user_name"}})],1),a("el-form-item",{attrs:{label:"品牌名称",prop:"brand_name"}},[a("el-input",{attrs:{placeholder:"请输入品牌名称"},model:{value:e.form.brand_name,callback:function(r){e.$set(e.form,"brand_name",r)},expression:"form.brand_name"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.submitForm}},[e._v("提交")]),a("el-button",{on:{click:e.resetForm}},[e._v("重置")])],1)],1)],1)])},t=[],o=a("1bab");function s(e,r,a,n,t,o,s){try{var m=e[o](s),l=m.value}catch(i){return void a(i)}m.done?r(l):Promise.resolve(l).then(n,t)}function m(e){return function(){var r=this,a=arguments;return new Promise((function(n,t){var o=e.apply(r,a);function m(e){s(o,n,t,m,l,"next",e)}function l(e){s(o,n,t,m,l,"throw",e)}m(void 0)}))}}var l={name:"CreateCompany",data:function(){return{loading:!1,form:{company_name:"",address:"",user_phone:"",user_name:"",brand_name:""},rules:{company_name:[{required:!0,message:"请输入公司名称",trigger:"blur"}],address:[{required:!0,message:"请输入公司地址",trigger:"blur"}],user_phone:[{required:!0,message:"请输入公司联系电话",trigger:"blur"},{pattern:/^1[3-9]\d{9}$/,message:"请输入正确的手机号格式",trigger:"blur"}],user_name:[{required:!0,message:"请输入公司联系人姓名",trigger:"blur"}],brand_name:[{required:!0,message:"请输入品牌名称",trigger:"blur"}]}}},methods:{submitForm:function(){var e=this;this.$refs.formRef.validate(function(){var r=m(regeneratorRuntime.mark((function r(a){var n,t;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(!a){r.next=19;break}return e.loading=!0,r.prev=2,n={company_name:e.form.company_name,user_phone:e.form.user_phone,user_name:e.form.user_name,company_address:e.form.address,brand_name:e.form.brand_name},r.next=6,Object(o["a"])({url:"/company/create_initial",method:"post",data:n});case 6:t=r.sent,200===t.code?(e.$message.success("初始记录创建成功"),e.resetForm()):e.$message.error(t.data.msg||"提交失败"),r.next=14;break;case 10:r.prev=10,r.t0=r["catch"](2),console.error(r.t0),e.$message.error("网络请求失败");case 14:return r.prev=14,e.loading=!1,r.finish(14);case 17:r.next=21;break;case 19:return console.log("error submit!!"),r.abrupt("return",!1);case 21:case"end":return r.stop()}}),r,null,[[2,10,14,17]])})));return function(e){return r.apply(this,arguments)}}())},resetForm:function(){this.$refs.formRef&&this.$refs.formRef.resetFields()}}},i=l,u=(a("55f2"),a("2877")),c=Object(u["a"])(i,n,t,!1,null,"04822523",null);r["default"]=c.exports},fb86:function(e,r,a){}}]);
|
||||
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 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f07b643e"],{"8ac0":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"noum",staticStyle:{padding:"7.5px 0"}},[n("div",{staticClass:"prop"},t._l(t.data.content.props,(function(e,r){return n("div",{key:r,staticClass:"props-wrap"},[n("div",{staticClass:"prop-hd"},[t._v(" "+t._s(e.propName)+" ")]),n("ul",{staticClass:"prop-bd"},t._l(e.child,(function(r,c){return n("li",{key:c,staticClass:"prop-item",class:t.newcolor(r.select),on:{click:function(n){return t.newoptid(e.propId,r.optId)}}},[t._v(" "+t._s(r.optName+"1")+" ")])})),0)])})),0)])},c=[],o=n("2f62");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var p={data:function(){return{data:{content:{},data:{spedata:{},accdata:{},defaultSelected:[],ShortName:"",acckey:[]}},defoptstr:[]}},mounted:function(){},computed:i(i({},Object(o["c"])(["sid","shortname","defaultselect","content"])),{},{data:function(){return{content:this.content||{}}}}),watch:{content:{handler:function(t){t&&(this.data.content=t)},immediate:!0,deep:!0}},created:function(){},methods:{defid:function(t){this.defoptstr=[];for(var e=0;e<t.spe_prop.length;e++)this.defoptstr.push({tid:t.spe_prop[e].propId,pid:t.spe_prop[e].defaultSelected})},newcolor:function(t){if(t)return"activenoum"},newoptid:function(t,e){for(var n=[],r=0;r<this.defoptstr.length;r++)this.defoptstr[r].tid==t&&(this.defoptstr[r].pid=e),n.push(this.defoptstr[r].pid);this.data.data.defaultSelected=n,this.data.content=getsperdata(this.data.data)}}},d=p,u=(n("909c"),n("2877")),f=Object(u["a"])(d,r,c,!1,null,"662c7092",null);e["default"]=f.exports},"909c":function(t,e,n){"use strict";n("c662")},c662:function(t,e,n){}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(function(e){function n(n){for(var t,r,f=n[0],o=n[1],d=n[2],h=0,i=[];h<f.length;h++)r=f[h],Object.prototype.hasOwnProperty.call(u,r)&&u[r]&&i.push(u[r][0]),u[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(e[t]=o[t]);k&&k(n);while(i.length)i.shift()();return a.push.apply(a,d||[]),c()}function c(){for(var e,n=0;n<a.length;n++){for(var c=a[n],t=!0,r=1;r<c.length;r++){var f=c[r];0!==u[f]&&(t=!1)}t&&(a.splice(n--,1),e=o(o.s=c[0]))}return e}var t={},r={manifest:0},u={manifest:0},a=[];function f(e){return o.p+"assets/js/"+({}[e]||e)+"."+{"chunk-18f788f6":"366913f8","chunk-07cfe907":"1b701c26","chunk-059ee48d":"0f1554dd","chunk-1d55d1ba":"e06852c5","chunk-4c97825c":"47724736","chunk-e94d3322":"2667beb7","chunk-57c8b49d":"18e9eb0a","chunk-7383682d":"f35ba1d5","chunk-25648540":"f501ecfd","chunk-2d0e4cd0":"be6594c0","chunk-2d0e87e2":"e6cffc0f","chunk-38798a3a":"4c1960c0","chunk-41ce66c8":"ce29c62a","chunk-42398bd6":"127931ac","chunk-44a4e641":"5130a4db","chunk-2d0d679f":"35148af0","chunk-7129b203":"30093a3e","chunk-75fada6c":"e9fadea8","chunk-7bd49264":"67d0c583","chunk-b5f64320":"b50b449d","chunk-cf69fd00":"153846e4","chunk-f07b643e":"5b428a11"}[e]+".js"}function o(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,o),c.l=!0,c.exports}o.e=function(e){var n=[],c={"chunk-18f788f6":1,"chunk-07cfe907":1,"chunk-1d55d1ba":1,"chunk-4c97825c":1,"chunk-e94d3322":1,"chunk-57c8b49d":1,"chunk-7383682d":1,"chunk-25648540":1,"chunk-38798a3a":1,"chunk-41ce66c8":1,"chunk-42398bd6":1,"chunk-44a4e641":1,"chunk-7129b203":1,"chunk-75fada6c":1,"chunk-7bd49264":1,"chunk-b5f64320":1,"chunk-f07b643e":1};r[e]?n.push(r[e]):0!==r[e]&&c[e]&&n.push(r[e]=new Promise((function(n,c){for(var t="assets/css/"+({}[e]||e)+"."+{"chunk-18f788f6":"021a82ef","chunk-07cfe907":"f4b87f92","chunk-059ee48d":"31d6cfe0","chunk-1d55d1ba":"f8166f27","chunk-4c97825c":"009ae4ca","chunk-e94d3322":"21b7b58f","chunk-57c8b49d":"62163b87","chunk-7383682d":"de75076e","chunk-25648540":"1b9bf13b","chunk-2d0e4cd0":"31d6cfe0","chunk-2d0e87e2":"31d6cfe0","chunk-38798a3a":"3597431b","chunk-41ce66c8":"5b2243f6","chunk-42398bd6":"577c19a2","chunk-44a4e641":"aacfd999","chunk-2d0d679f":"31d6cfe0","chunk-7129b203":"1e05eb41","chunk-75fada6c":"c8f268b8","chunk-7bd49264":"07c644d1","chunk-b5f64320":"d804d2e0","chunk-cf69fd00":"31d6cfe0","chunk-f07b643e":"294b2591"}[e]+".css",u=o.p+t,a=document.getElementsByTagName("link"),f=0;f<a.length;f++){var d=a[f],h=d.getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(h===t||h===u))return n()}var i=document.getElementsByTagName("style");for(f=0;f<i.length;f++){d=i[f],h=d.getAttribute("data-href");if(h===t||h===u)return n()}var k=document.createElement("link");k.rel="stylesheet",k.type="text/css",k.onload=n,k.onerror=function(n){var t=n&&n.target&&n.target.src||u,a=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=t,delete r[e],k.parentNode.removeChild(k),c(a)},k.href=u;var l=document.getElementsByTagName("head")[0];l.appendChild(k)})).then((function(){r[e]=0})));var t=u[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise((function(n,c){t=u[e]=[n,c]}));n.push(t[2]=a);var d,h=document.createElement("script");h.charset="utf-8",h.timeout=120,o.nc&&h.setAttribute("nonce",o.nc),h.src=f(e);var i=new Error;d=function(n){h.onerror=h.onload=null,clearTimeout(k);var c=u[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;i.message="Loading chunk "+e+" failed.\n("+t+": "+r+")",i.name="ChunkLoadError",i.type=t,i.request=r,c[1](i)}u[e]=void 0}};var k=setTimeout((function(){d({type:"timeout",target:h})}),12e4);h.onerror=h.onload=d,document.head.appendChild(h)}return Promise.all(n)},o.m=e,o.c=t,o.d=function(e,n,c){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)o.d(c,t,function(n){return e[n]}.bind(null,t));return c},o.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="",o.oe=function(e){throw console.error(e),e};var d=window["webpackJsonp"]=window["webpackJsonp"]||[],h=d.push.bind(d);d.push=n,d=d.slice();for(var i=0;i<d.length;i++)n(d[i]);var k=h;c()})([]);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="ZQB.ico"><title>众企选型</title><script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script><script>try {
|
||||
if (window.LA) {
|
||||
LA.init({id:"Jj55nuwzxgPCOggn",ck:"Jj55nuwzxgPCOggn"});
|
||||
}
|
||||
} catch (error) {
|
||||
//console.log('LA统计代码加载失败:', error);
|
||||
}</script><link href="assets/css/chunk-07cfe907.f4b87f92.css" rel="prefetch"><link href="assets/css/chunk-18f788f6.021a82ef.css" rel="prefetch"><link href="assets/css/chunk-1d55d1ba.f8166f27.css" rel="prefetch"><link href="assets/css/chunk-25648540.1b9bf13b.css" rel="prefetch"><link href="assets/css/chunk-38798a3a.3597431b.css" rel="prefetch"><link href="assets/css/chunk-41ce66c8.5b2243f6.css" rel="prefetch"><link href="assets/css/chunk-42398bd6.577c19a2.css" rel="prefetch"><link href="assets/css/chunk-44a4e641.aacfd999.css" rel="prefetch"><link href="assets/css/chunk-4c97825c.009ae4ca.css" rel="prefetch"><link href="assets/css/chunk-57c8b49d.62163b87.css" rel="prefetch"><link href="assets/css/chunk-7129b203.1e05eb41.css" rel="prefetch"><link href="assets/css/chunk-7383682d.de75076e.css" rel="prefetch"><link href="assets/css/chunk-75fada6c.c8f268b8.css" rel="prefetch"><link href="assets/css/chunk-7bd49264.07c644d1.css" rel="prefetch"><link href="assets/css/chunk-b5f64320.d804d2e0.css" rel="prefetch"><link href="assets/css/chunk-e94d3322.21b7b58f.css" rel="prefetch"><link href="assets/css/chunk-f07b643e.294b2591.css" rel="prefetch"><link href="assets/js/chunk-059ee48d.0f1554dd.js" rel="prefetch"><link href="assets/js/chunk-07cfe907.1b701c26.js" rel="prefetch"><link href="assets/js/chunk-18f788f6.366913f8.js" rel="prefetch"><link href="assets/js/chunk-1d55d1ba.e06852c5.js" rel="prefetch"><link href="assets/js/chunk-25648540.f501ecfd.js" rel="prefetch"><link href="assets/js/chunk-2d0d679f.35148af0.js" rel="prefetch"><link href="assets/js/chunk-2d0e4cd0.be6594c0.js" rel="prefetch"><link href="assets/js/chunk-2d0e87e2.e6cffc0f.js" rel="prefetch"><link href="assets/js/chunk-38798a3a.4c1960c0.js" rel="prefetch"><link href="assets/js/chunk-41ce66c8.ce29c62a.js" rel="prefetch"><link href="assets/js/chunk-42398bd6.127931ac.js" rel="prefetch"><link href="assets/js/chunk-44a4e641.5130a4db.js" rel="prefetch"><link href="assets/js/chunk-4c97825c.47724736.js" rel="prefetch"><link href="assets/js/chunk-57c8b49d.18e9eb0a.js" rel="prefetch"><link href="assets/js/chunk-7129b203.30093a3e.js" rel="prefetch"><link href="assets/js/chunk-7383682d.f35ba1d5.js" rel="prefetch"><link href="assets/js/chunk-75fada6c.e9fadea8.js" rel="prefetch"><link href="assets/js/chunk-7bd49264.67d0c583.js" rel="prefetch"><link href="assets/js/chunk-b5f64320.b50b449d.js" rel="prefetch"><link href="assets/js/chunk-cf69fd00.153846e4.js" rel="prefetch"><link href="assets/js/chunk-e94d3322.2667beb7.js" rel="prefetch"><link href="assets/js/chunk-f07b643e.5b428a11.js" rel="prefetch"><link href="assets/css/app.189ee35f.css" rel="preload" as="style"><link href="assets/css/vendor.2ee934f4.css" rel="preload" as="style"><link href="assets/js/app.01945548.js" rel="preload" as="script"><link href="assets/js/manifest.36899de9.js" rel="preload" as="script"><link href="assets/js/vendor.452f80eb.js" rel="preload" as="script"><link href="assets/css/vendor.2ee934f4.css" rel="stylesheet"><link href="assets/css/app.189ee35f.css" rel="stylesheet">
|
||||
<style id="__local_trim">
|
||||
/* 本地精简(2026-09-14 用户要求删除项) */
|
||||
.preferred-companies{display:none!important} /* 优选公司整块(标题+内容) */
|
||||
footer{display:none!important} /* 底部广告轮播 */
|
||||
.el-dialog__wrapper:has(.ad-dialog){display:none!important} /* 广告弹窗兜底(只封含 .ad-dialog 的弹层;搜索结果也是 el-dialog__wrapper,不能全封) */
|
||||
/* 页签栏:DOM 序=本体1附件2明细3产品样本4【我的收藏5(注入)】相似系列6优选供应商7个人中心8设置9
|
||||
→ 隐藏第 6 个起的全部原生多余页签(注入的"我的收藏"在第 5 位保持可见) */
|
||||
.tabs .tabs-item:nth-of-type(n+6){display:none!important}
|
||||
</style></head><body style="margin-top: 5px;"><div id="app"></div><script src="assets/js/manifest.36899de9.js"></script><script src="assets/js/vendor.452f80eb.js"></script><script src="assets/js/app.01945548.js"></script><script src="local-features.js"></script></body></html>
|
||||
@@ -0,0 +1,583 @@
|
||||
/* 本地定制功能(外挂注入,零 Vue 源码改动):
|
||||
① 本体/附件折扣按系列保存与自动载入
|
||||
② 品牌框/系列框收藏按钮 ☆/★(厂家、系列分开收藏——照 dx24test)
|
||||
③ "我的收藏"页签+面板:系列收藏(N)/厂家收藏(N)两页签 + 编辑(勾选+取消收藏)
|
||||
④ 软件内嵌专用:接管页面原生 插入(#charu)/替换(#charurepl)按钮——拦截点击
|
||||
不写剪贴板,组合明细合并计价后经 chrome.webview 发给主程序(浏览器打开保持原样)
|
||||
存储均为 localStorage:__dqb折扣@<系列名> / __dqb系列收藏 / __dqb厂家收藏
|
||||
(旧键 __dqb收藏 为品牌+系列合并数据,启动时自动迁移成两个新键后删除) */
|
||||
(function () {
|
||||
'use strict';
|
||||
var K折扣前缀 = '__dqb折扣@';
|
||||
var K旧收藏 = '__dqb收藏';
|
||||
var K系列收藏 = '__dqb系列收藏';
|
||||
var K厂家收藏 = '__dqb厂家收藏';
|
||||
|
||||
// ---------- 基础取值 ----------
|
||||
// 菜单所属的 Vue 组件:品牌/系列的真实选中值(servalue/factvalue)和点选处理器都在它上面。
|
||||
// ★ 不能只读输入框 placeholder:菜单打开期间 placeholder 会被清空,读到的是假空。
|
||||
function 菜单组件() {
|
||||
var el = document.querySelector('[data-v-8d52fb6a]');
|
||||
if (el && el.__vue__ && el.__vue__.serhandle) return el.__vue__;
|
||||
var 们 = document.querySelectorAll('.confact, .useleft');
|
||||
for (var i = 0; i < 们.length; i++) if (们[i].__vue__ && 们[i].__vue__.serhandle) return 们[i].__vue__;
|
||||
return null;
|
||||
}
|
||||
function 品牌框() { return document.querySelector('.input-brand:not(.series-input) input'); }
|
||||
function 系列框() { return document.querySelector('.series-input input'); }
|
||||
function 当前品牌() {
|
||||
var vm = 菜单组件();
|
||||
var v = vm && vm.factvalue ? String(vm.factvalue).trim() : '';
|
||||
if (v) return v;
|
||||
var i = 品牌框(); return i ? (i.placeholder || '').trim() : '';
|
||||
}
|
||||
function 当前系列() {
|
||||
var vm = 菜单组件();
|
||||
var v = vm && vm.servalue ? String(vm.servalue).trim() : '';
|
||||
if (v) return v;
|
||||
var i = 系列框();
|
||||
v = i ? (i.placeholder || '').trim() : '';
|
||||
if (v) 当前系列.缓存 = v; // 组件还没就绪时用 placeholder+缓存兜底
|
||||
return 当前系列.缓存 || v;
|
||||
}
|
||||
function 折扣框们() { return Array.prototype.slice.call(document.querySelectorAll('.dis .el-input-number input')).slice(0, 2); }
|
||||
function 读JSON(k, 兜) { try { var v = localStorage.getItem(k); return v ? JSON.parse(v) : 兜; } catch (e) { return 兜; } }
|
||||
function 写JSON(k, v) { try { localStorage.setItem(k, JSON.stringify(v)); } catch (e) { } }
|
||||
function 读系列收藏() { return 读JSON(K系列收藏, []); }
|
||||
function 读厂家收藏() { return 读JSON(K厂家收藏, []); }
|
||||
|
||||
// ---------- 旧收藏数据迁移(品牌+系列合并 → 厂家/系列分开) ----------
|
||||
(function 迁移旧收藏() {
|
||||
var 旧 = 读JSON(K旧收藏, null);
|
||||
if (!旧) return;
|
||||
if (旧.length) {
|
||||
var 厂 = 读厂家收藏(), 系 = 读系列收藏();
|
||||
旧.forEach(function (f) {
|
||||
if (f.brand && !厂.some(function (x) { return x.brand === f.brand; })) 厂.push({ brand: f.brand, ts: f.ts || Date.now() });
|
||||
if (f.series && !系.some(function (x) { return x.series === f.series; })) 系.push({ series: f.series, brand: f.brand, ts: f.ts || Date.now() });
|
||||
});
|
||||
写JSON(K厂家收藏, 厂); 写JSON(K系列收藏, 系);
|
||||
}
|
||||
localStorage.removeItem(K旧收藏);
|
||||
})();
|
||||
|
||||
// ---------- ① 折扣按系列保存/载入 ----------
|
||||
var 折扣载入中 = false;
|
||||
function 存折扣() {
|
||||
if (折扣载入中) return;
|
||||
var 系 = 当前系列(); if (!系 || 系.indexOf('系列') < 0) return;
|
||||
var 框 = 折扣框们(); if (框.length < 2) return;
|
||||
var bt = parseFloat(框[0].value), fj = parseFloat(框[1].value);
|
||||
if (isNaN(bt) || isNaN(fj)) return;
|
||||
写JSON(K折扣前缀 + 系, { bt: bt, fj: fj, ts: Date.now() });
|
||||
}
|
||||
function 载折扣() {
|
||||
var 系 = 当前系列(); if (!系) return;
|
||||
var 存 = 读JSON(K折扣前缀 + 系, null);
|
||||
var 框 = 折扣框们(); if (框.length < 2) return;
|
||||
// 无存档的系列恢复默认 100/100(每系列各记各的,不带入上一系列的值)
|
||||
if (!存) 存 = { bt: 100, fj: 100 };
|
||||
折扣载入中 = true;
|
||||
try {
|
||||
设输入值(框[0], 存.bt);
|
||||
设输入值(框[1], 存.fj);
|
||||
} finally { setTimeout(function () { 折扣载入中 = false; }, 300); }
|
||||
}
|
||||
// element-ui 的 el-input-number:改 value 后派发 input+change 让 Vue 受控更新
|
||||
function 设输入值(input, 值) {
|
||||
var s = Number(值).toFixed(2);
|
||||
if (input.value === s) return;
|
||||
input.value = s;
|
||||
input.setAttribute('aria-valuenow', String(parseInt(值, 10)));
|
||||
input.dispatchEvent(new Event('input', { bubbles: true }));
|
||||
input.dispatchEvent(new Event('change', { bubbles: true }));
|
||||
}
|
||||
// 事件委托挂 document(Vue 重绘输入框后监听不丢),e.target 匹配折扣框才存
|
||||
function 挂折扣监听() {
|
||||
if (挂折扣监听.已挂) return; 挂折扣监听.已挂 = true;
|
||||
document.addEventListener('change', function (e) {
|
||||
if (折扣载入中) return;
|
||||
var t = e.target;
|
||||
if (t && t.tagName === 'INPUT' && t.closest && t.closest('.dis .el-input-number')) 存折扣();
|
||||
}, true);
|
||||
document.addEventListener('focusout', function (e) {
|
||||
if (折扣载入中) return;
|
||||
var t = e.target;
|
||||
if (t && t.tagName === 'INPUT' && t.closest && t.closest('.dis .el-input-number')) setTimeout(存折扣, 100);
|
||||
}, true);
|
||||
}
|
||||
|
||||
// ---------- ② 收藏按钮(厂家/系列分开,照 dx24test 的"加入收藏") ----------
|
||||
function 切厂家收藏() {
|
||||
var 牌 = 当前品牌(); if (!牌) return;
|
||||
var 列 = 读厂家收藏();
|
||||
var i = 列.findIndex(function (x) { return x.brand === 牌; });
|
||||
if (i >= 0) 列.splice(i, 1); else 列.push({ brand: 牌, ts: Date.now() });
|
||||
写JSON(K厂家收藏, 列); 刷按钮态();
|
||||
}
|
||||
function 切系列收藏() {
|
||||
var 系 = 当前系列(); if (!系) return;
|
||||
var 列 = 读系列收藏();
|
||||
var i = 列.findIndex(function (x) { return x.series === 系; });
|
||||
if (i >= 0) 列.splice(i, 1); else 列.push({ series: 系, brand: 当前品牌(), ts: Date.now() });
|
||||
写JSON(K系列收藏, 列); 刷按钮态();
|
||||
}
|
||||
function 造星钮(是品牌) {
|
||||
var b = document.createElement('div');
|
||||
b.className = '__dqb-star' + (是品牌 ? ' __dqb-star-brand' : ' __dqb-star-series');
|
||||
b.title = 是品牌 ? '收藏当前厂家' : '收藏当前系列';
|
||||
b.textContent = '☆';
|
||||
b.addEventListener('click', function (e) { e.stopPropagation(); 是品牌 ? 切厂家收藏() : 切系列收藏(); });
|
||||
return b;
|
||||
}
|
||||
function 刷按钮态() {
|
||||
var 牌 = 当前品牌(), 系 = 当前系列();
|
||||
var 厂on = !!牌 && 读厂家收藏().some(function (x) { return x.brand === 牌; });
|
||||
var 系on = !!系 && 读系列收藏().some(function (x) { return x.series === 系; });
|
||||
var bs = document.querySelector('.__dqb-star-brand');
|
||||
var ss = document.querySelector('.__dqb-star-series');
|
||||
if (bs) { bs.textContent = 厂on ? '★' : '☆'; bs.classList.toggle('__dqb-on', 厂on); }
|
||||
if (ss) { ss.textContent = 系on ? '★' : '☆'; ss.classList.toggle('__dqb-on', 系on); }
|
||||
}
|
||||
function 挂星钮() {
|
||||
var 品 = document.querySelector('.input-brand:not(.series-input)');
|
||||
var 系 = document.querySelector('.series-input');
|
||||
if (品 && !品.parentElement.querySelector('.__dqb-star-brand')) 品.parentElement.appendChild(造星钮(true));
|
||||
if (系 && !系.parentElement.querySelector('.__dqb-star-series')) 系.parentElement.appendChild(造星钮(false));
|
||||
}
|
||||
|
||||
// ---------- ③ 我的收藏页签+面板(系列收藏/厂家收藏两页签+编辑,照 dx24test) ----------
|
||||
function 挂收藏页签() {
|
||||
var tabs = document.querySelector('.tabs');
|
||||
if (!tabs || tabs.querySelector('.__dqb-favtab')) return;
|
||||
var 们 = Array.prototype.slice.call(tabs.querySelectorAll('.tabs-item')).filter(function (e) { return e.offsetParent !== null; });
|
||||
var 落 = 们[3] || 们[们.length - 1]; // 产品样本之后
|
||||
var it = document.createElement('div');
|
||||
it.className = 'tabs-item __dqb-favtab';
|
||||
it.textContent = '我的收藏';
|
||||
it.addEventListener('click', function (e) { e.stopPropagation(); 开面板(); });
|
||||
落 && 落.parentElement.insertBefore(it, 落.nextSibling) || tabs.appendChild(it);
|
||||
}
|
||||
|
||||
// 面板状态(开面板期间保持;每次新开重置为系列页/非编辑)
|
||||
var 面板状态 = { 页: 'ser', 编辑: false };
|
||||
function 造面板() {
|
||||
var 遮 = document.createElement('div');
|
||||
遮.className = '__dqb-mask';
|
||||
var 卡 = document.createElement('div');
|
||||
卡.className = '__dqb-favpanel';
|
||||
遮.appendChild(卡);
|
||||
document.body.appendChild(遮);
|
||||
遮.addEventListener('click', function (e) { if (e.target === 遮) 关面板(); });
|
||||
return { 遮: 遮, 卡: 卡 };
|
||||
}
|
||||
function 关面板() { var m = document.querySelector('.__dqb-mask'); if (m) m.remove(); }
|
||||
function 开面板() {
|
||||
关面板();
|
||||
面板状态 = { 页: 'ser', 编辑: false };
|
||||
var p = 造面板();
|
||||
渲面板(p.卡);
|
||||
绑面板(p.卡);
|
||||
}
|
||||
function 渲面板(卡) {
|
||||
var 系列们 = 读系列收藏(), 厂家们 = 读厂家收藏();
|
||||
var h = '<div class="__dqb-favhd">我的收藏<span class="__dqb-favx" title="关闭">✕</span></div>';
|
||||
h += '<div class="__dqb-favtabs">'
|
||||
+ '<span class="__dqb-favtab2' + (面板状态.页 === 'ser' ? ' active' : '') + '" data-page="ser">系列收藏<b>(' + 系列们.length + ')</b></span>'
|
||||
+ '<span class="__dqb-favtab2' + (面板状态.页 === 'fac' ? ' active' : '') + '" data-page="fac">厂家收藏<b>(' + 厂家们.length + ')</b></span>'
|
||||
+ '<span class="__dqb-favedit">' + (面板状态.编辑 ? '完成' : '编辑') + '</span>'
|
||||
+ '</div>';
|
||||
var 列表 = 面板状态.页 === 'ser' ? 系列们 : 厂家们;
|
||||
if (!列表.length) {
|
||||
h += '<div class="__dqb-favempty">' + (面板状态.页 === 'ser'
|
||||
? '暂无系列收藏:在系列框旁点 ☆ 收藏当前系列'
|
||||
: '暂无厂家收藏:在品牌框旁点 ☆ 收藏当前厂家') + '</div>';
|
||||
} else {
|
||||
h += '<div class="__dqb-favlist' + (面板状态.编辑 ? ' editing' : '') + '">';
|
||||
列表.forEach(function (f, i) {
|
||||
h += '<div class="__dqb-favrow" data-i="' + i + '">'
|
||||
+ '<label class="__dqb-favck"><input type="checkbox"></label>'
|
||||
+ '<span class="__dqb-num">' + (i + 1) + '</span>';
|
||||
if (面板状态.页 === 'ser') {
|
||||
h += '<span class="__dqb-name" data-jump="ser" title="' + f.series + '">' + f.series + '</span>'
|
||||
+ '<span class="__dqb-fac" data-jump="fac" data-brand="' + (f.brand || '') + '" title="' + (f.brand || '') + '">【' + (f.brand || '') + '】</span>';
|
||||
} else {
|
||||
h += '<span class="__dqb-name" data-jump="fac" title="' + f.brand + '">' + f.brand + '</span>';
|
||||
}
|
||||
h += '</div>';
|
||||
});
|
||||
h += '</div>';
|
||||
}
|
||||
if (面板状态.编辑) {
|
||||
h += '<div class="__dqb-favfoot">'
|
||||
+ '<label class="__dqb-allwrap"><input type="checkbox" class="__dqb-all">全选</label>'
|
||||
+ '<button class="__dqb-delsel">取消收藏</button>'
|
||||
+ '</div>';
|
||||
}
|
||||
卡.innerHTML = h;
|
||||
}
|
||||
function 重渲面板() {
|
||||
var 卡 = document.querySelector('.__dqb-favpanel');
|
||||
if (卡) { 渲面板(卡); 绑面板(卡); }
|
||||
}
|
||||
function 绑面板(卡) {
|
||||
卡.querySelector('.__dqb-favx').addEventListener('click', 关面板);
|
||||
var 页签们 = 卡.querySelectorAll('.__dqb-favtab2');
|
||||
for (var i = 0; i < 页签们.length; i++) {
|
||||
页签们[i].addEventListener('click', function (e) {
|
||||
面板状态.页 = e.currentTarget.getAttribute('data-page');
|
||||
面板状态.编辑 = false;
|
||||
重渲面板();
|
||||
});
|
||||
}
|
||||
var ed = 卡.querySelector('.__dqb-favedit');
|
||||
if (ed) ed.addEventListener('click', function () { 面板状态.编辑 = !面板状态.编辑; 重渲面板(); });
|
||||
var 全 = 卡.querySelector('.__dqb-all');
|
||||
if (全) 全.addEventListener('change', function () {
|
||||
var on = 全.checked;
|
||||
卡.querySelectorAll('.__dqb-favrow input[type=checkbox]').forEach(function (c) { c.checked = on; });
|
||||
});
|
||||
var 删 = 卡.querySelector('.__dqb-delsel');
|
||||
if (删) 删.addEventListener('click', function () {
|
||||
var 勾们 = 已勾行(卡);
|
||||
if (!勾们.length) return;
|
||||
var 键们 = 勾们.map(function (r) { return r.getAttribute('data-i'); });
|
||||
if (面板状态.页 === 'ser') {
|
||||
var 系 = 读系列收藏();
|
||||
键们.sort(function (a, b) { return b - a; }).forEach(function (k) { 系.splice(parseInt(k, 10), 1); });
|
||||
写JSON(K系列收藏, 系);
|
||||
} else {
|
||||
var 厂 = 读厂家收藏();
|
||||
键们.sort(function (a, b) { return b - a; }).forEach(function (k) { 厂.splice(parseInt(k, 10), 1); });
|
||||
写JSON(K厂家收藏, 厂);
|
||||
}
|
||||
刷按钮态(); 重渲面板();
|
||||
});
|
||||
// 行点击:编辑态=勾选/取消;普通态=点系列名跳系列、点【厂家】/厂家名跳厂家
|
||||
var 行们 = 卡.querySelectorAll('.__dqb-favrow');
|
||||
for (var j = 0; j < 行们.length; j++) {
|
||||
(function (行) {
|
||||
var 钩 = 行.querySelector('input[type=checkbox]');
|
||||
if (钩) 钩.addEventListener('click', function (e) { e.stopPropagation(); });
|
||||
行.addEventListener('click', function (e) {
|
||||
if (面板状态.编辑) {
|
||||
if (e.target.tagName === 'INPUT') return;
|
||||
钩.checked = !钩.checked;
|
||||
return;
|
||||
}
|
||||
var 跳 = e.target.closest('[data-jump]');
|
||||
if (!跳) return;
|
||||
var i = parseInt(行.getAttribute('data-i'), 10);
|
||||
// 跳转推迟到本次点击事件派发完之后:嵌套开菜单会被外层点击的
|
||||
// document 级监听(点击外部关菜单)立刻关掉,导致跳转失效
|
||||
if (跳.getAttribute('data-jump') === 'ser') {
|
||||
var f = 读系列收藏()[i];
|
||||
if (f) { 关面板(); setTimeout(function () { 跳系列(f.brand, f.series); }, 60); }
|
||||
} else {
|
||||
var 牌 = 跳.getAttribute('data-brand') || (读厂家收藏()[i] || {}).brand;
|
||||
if (牌) { 关面板(); setTimeout(function () { 跳厂家(牌); }, 60); }
|
||||
}
|
||||
});
|
||||
})(行们[j]);
|
||||
}
|
||||
}
|
||||
function 已勾行(卡) {
|
||||
return Array.prototype.slice.call(卡.querySelectorAll('.__dqb-favrow')).filter(function (r) {
|
||||
var c = r.querySelector('input[type=checkbox]');
|
||||
return c && c.checked;
|
||||
});
|
||||
}
|
||||
|
||||
// 跳转:模拟真人——点框弹菜单→点匹配项
|
||||
function 可见菜单() {
|
||||
var 们 = document.querySelectorAll('.el-popover');
|
||||
for (var i = 0; i < 们.length; i++) if (们[i].offsetParent !== null) return 们[i];
|
||||
return null;
|
||||
}
|
||||
function 全点(el) {
|
||||
try {
|
||||
el.dispatchEvent(new MouseEvent('mousedown', { bubbles: true, cancelable: true }));
|
||||
el.dispatchEvent(new MouseEvent('mouseup', { bubbles: true, cancelable: true }));
|
||||
el.click();
|
||||
} catch (e) { }
|
||||
}
|
||||
// 点菜单项:找到文本匹配的树节点后,直接调用应用组件的点选处理器(serhandle=系列树 /
|
||||
// handleBrandClick=品牌树)——与真实点击同一段应用代码,不依赖 DOM 事件。
|
||||
// 处理器缺省或非树菜单时,退回完整鼠标序列派发。
|
||||
function 点菜单项(菜单, 文本, 应用处理器) {
|
||||
// 匹配:叶子文本精确等,或任意层元素 title 属性等(品牌行显示短名、title 是全名,两者都可能被存进收藏)
|
||||
var 节 = Array.prototype.slice.call(菜单.querySelectorAll('*')).filter(function (e) {
|
||||
if (e.children.length === 0 && (e.textContent || '').trim() === 文本) return true;
|
||||
return !!(e.getAttribute && e.getAttribute('title') === 文本);
|
||||
});
|
||||
if (!节.length) return false;
|
||||
// 优先点带 title 的行容器(事件绑在行上),否则用叶子
|
||||
var 目标 = null;
|
||||
for (var q = 0; q < 节.length; q++) if (节[q].getAttribute('title') === 文本) { 目标 = 节[q]; break; }
|
||||
if (!目标) 目标 = 节[0];
|
||||
var tnEl = 目标.closest && 目标.closest('.el-tree-node');
|
||||
var tn = tnEl && tnEl.__vue__;
|
||||
var vm = 菜单组件();
|
||||
if (tn && tn.node && vm && 应用处理器 && vm[应用处理器]) {
|
||||
try {
|
||||
vm[应用处理器](tn.node.data, tn.node, tn);
|
||||
return true;
|
||||
} catch (e) { /* 走下方通用路径兜底 */ }
|
||||
}
|
||||
// 向上找列表项容器(事件一般绑在项层),叶子与容器都派发完整鼠标序列
|
||||
var p = 目标;
|
||||
for (var k = 0; k < 3 && p.parentElement; k++) {
|
||||
if (p.parentElement.children.length > 1) break;
|
||||
p = p.parentElement;
|
||||
}
|
||||
全点(目标);
|
||||
if (p !== 目标) 全点(p);
|
||||
var c = 目标.closest && 目标.closest('.el-tree-node__content');
|
||||
if (c && c !== p && c !== 目标) 全点(c);
|
||||
return true;
|
||||
}
|
||||
// 菜单是否已稳定(入场动画结束、树节点有了正常高度)。
|
||||
// 实测:动画中节点高度不足 1px,此时合成点击不生效;稳定后点击才能选中。
|
||||
function 菜单稳了(m) {
|
||||
if (/enter-active|enter-to|leave-active|leave-to/.test(m.className)) return false;
|
||||
var 节 = m.querySelectorAll('.el-tree-node__content, li');
|
||||
for (var i = 0; i < 节.length; i++) {
|
||||
if (节[i].getBoundingClientRect().height > 10) return true;
|
||||
}
|
||||
return !节.length; // 无树无列表项(罕见)→类名稳了就算稳
|
||||
}
|
||||
// 弹菜单:点容器(实测点 input 本身不弹,菜单绑在容器 click 上)
|
||||
function 弹菜单(框容器) {
|
||||
框容器.click();
|
||||
}
|
||||
// 等菜单出现且稳定后点匹配项(150ms 轮询,最多约 3 秒);应用处理器指明走 serhandle 还是 handleBrandClick
|
||||
function 等点(容器, 文本, 成功, 应用处理器) {
|
||||
弹菜单(容器);
|
||||
var 试 = 0;
|
||||
var 等 = setInterval(function () {
|
||||
var m = 可见菜单();
|
||||
if (m) {
|
||||
if (!菜单稳了(m)) { if (++试 > 20) clearInterval(等); return; } // 还在动画,继续等稳
|
||||
if (点菜单项(m, 文本, 应用处理器)) { clearInterval(等); 成功 && 成功(); return; }
|
||||
clearInterval(等); // 菜单里没有该项
|
||||
return;
|
||||
}
|
||||
if (++试 > 20) clearInterval(等);
|
||||
}, 150);
|
||||
}
|
||||
// 只跳厂家(厂家收藏页/系列行的【厂家】标签)
|
||||
function 跳厂家(牌) {
|
||||
var 容 = document.querySelector('.input-brand:not(.series-input)');
|
||||
if (!容 || !牌) return;
|
||||
等点(容, 牌, null, 'handleBrandClick');
|
||||
}
|
||||
// 跳厂家+系列(先点厂家,900ms 等系列菜单刷新后点系列)
|
||||
function 跳系列(牌, 系) {
|
||||
if (!系) { 跳厂家(牌); return; }
|
||||
var 容 = document.querySelector('.input-brand:not(.series-input)'); if (!容) return;
|
||||
等点(容, 牌, function () {
|
||||
setTimeout(function () {
|
||||
var 容2 = document.querySelector('.series-input'); if (!容2) return;
|
||||
等点(容2, 系, null, 'serhandle');
|
||||
}, 900);
|
||||
}, 'handleBrandClick');
|
||||
}
|
||||
|
||||
// ---------- ④ 软件内嵌专用:接管页面原生的 插入(#charu)/替换(#charurepl)按钮 ----------
|
||||
// 页面自带这两个按钮(行为=把组合价格文本复制到剪贴板)。在软件 WebView 里
|
||||
// (chrome.webview 存在)改为:拦截点击(不写剪贴板),把组合明细合并计价后按
|
||||
// {action:'insert'/'replace',name,price,brand,xishu,xilie} 发给 C# ——
|
||||
// name=各部件型号以+连接 price=Σ表价 xishu=Σ折后÷Σ表价(C#算采购单价=price×xishu)。
|
||||
// 普通浏览器打开本页不拦截,按钮保持页面原生的复制行为。
|
||||
function 在软件内() {
|
||||
return !!(window.chrome && window.chrome.webview && window.chrome.webview.postMessage);
|
||||
}
|
||||
function 发主机(obj) {
|
||||
try { window.chrome.webview.postMessage(JSON.stringify(obj)); } catch (e) { }
|
||||
}
|
||||
function 读组合行() {
|
||||
var 行们 = document.querySelectorAll('.comb-item .el-row');
|
||||
var 出 = [];
|
||||
for (var i = 0; i < 行们.length; i++) {
|
||||
var 格 = 行们[i].querySelectorAll('.el-col');
|
||||
if (格.length < 5) continue;
|
||||
var 名 = (格[0].textContent || '').trim();
|
||||
if (!名) continue;
|
||||
出.push({
|
||||
名: 名,
|
||||
表价: parseFloat(String(格[2].textContent).replace(/[^\d.]/g, '')) || 0,
|
||||
折扣: parseFloat(String(格[3].textContent).replace(/[^\d.]/g, '')),
|
||||
折后: parseFloat(String(格[4].textContent).replace(/[^\d.]/g, '')) || 0
|
||||
});
|
||||
}
|
||||
return 出;
|
||||
}
|
||||
// 数量:插入/替换按钮旁的数量输入框(.copy 容器里的 el-input-number,1~9999)
|
||||
function 读数量() {
|
||||
var 容 = document.querySelector('.copy');
|
||||
var 框 = 容 ? 容.querySelector('.el-input-number input') : null;
|
||||
if (!框) return 1;
|
||||
var n = parseInt(框.getAttribute('aria-valuenow') || 框.value, 10);
|
||||
if (isNaN(n) || n < 1) n = 1;
|
||||
if (n > 9999) n = 9999;
|
||||
return n;
|
||||
}
|
||||
// 品名:价格区显示的"品名: 小型断路器"那一行(.t-el 内含 .t-label"品名:"),
|
||||
// 作元件表"元件名称"列的值;取不到发空串(C# 端回退用系列名推)
|
||||
function 读品名() {
|
||||
var 们 = document.querySelectorAll('.t-el');
|
||||
for (var i = 0; i < 们.length; i++) {
|
||||
var 签 = 们[i].querySelector('.t-label');
|
||||
if (签 && (签.textContent || '').indexOf('品名') >= 0)
|
||||
return (们[i].textContent || '').replace(/品名\s*[::]/, '').trim();
|
||||
}
|
||||
return '';
|
||||
}
|
||||
function 发元件(action) {
|
||||
var 行们 = 读组合行();
|
||||
if (!行们.length) { 提示('还没有可选型数据'); return; }
|
||||
var 表价 = 0, 折后 = 0;
|
||||
for (var i = 0; i < 行们.length; i++) { 表价 += 行们[i].表价; 折后 += 行们[i].折后; }
|
||||
// 系数取法:各行折扣一致(如只有本体 33%)直接用 33/100=0.33,精确两位;
|
||||
// 本体/附件折扣不同才用 Σ折后÷Σ表价 综合反推。统一四舍五入保留两位小数。
|
||||
// ★ 不能一律用折后÷表价反推:页面折后价先四舍五入到分(18.17×33%→6.00),
|
||||
// 6.00÷18.17=0.330215…,会把圆整误差带进系数。
|
||||
var 折们 = 行们.map(function (r) { return r.折扣; });
|
||||
var 都有折 = 折们.every(function (x) { return !isNaN(x); });
|
||||
var 同折 = 都有折 && 折们.every(function (x) { return Math.abs(x - 折们[0]) < 0.005; });
|
||||
var 系数 = 同折 ? 折们[0] / 100 : (表价 > 0 ? 折后 / 表价 : 1);
|
||||
系数 = Math.round(系数 * 100) / 100;
|
||||
// 型号取价格区顶部显示的完整名(.p-name,如"DZ47s 1P C型 16A");
|
||||
// 明细行里的是缩写码("DZ47s 1 C 16")不能当型号。取不到时才退回明细行。
|
||||
var 名 = '';
|
||||
var 名el = document.querySelector('.p-name');
|
||||
if (名el) 名 = (名el.textContent || '').trim();
|
||||
if (!名) 名 = 行们.map(function (r) { return r.名; }).join('+');
|
||||
发主机({
|
||||
action: action,
|
||||
name: 名,
|
||||
price: 表价.toFixed(2),
|
||||
brand: 当前品牌(),
|
||||
xishu: String(系数),
|
||||
xilie: 当前系列(),
|
||||
shuliang: String(读数量()),
|
||||
pinming: 读品名()
|
||||
});
|
||||
提示(action === 'insert' ? '已插入✓' : '已替换✓');
|
||||
}
|
||||
function 提示(文) {
|
||||
var t = document.createElement('div');
|
||||
t.className = '__dqb-toast';
|
||||
t.textContent = 文;
|
||||
document.body.appendChild(t);
|
||||
setTimeout(function () { t.classList.add('__dqb-out'); }, 900);
|
||||
setTimeout(function () { if (t.parentElement) t.remove(); }, 1500);
|
||||
}
|
||||
// document 捕获阶段拦截:先于按钮上 Vue 的点击处理器跑,stopPropagation 掐掉
|
||||
// 原生的"复制到剪贴板"行为(软件里别动用户剪贴板),换成发数据给主程序。
|
||||
// 挂 document 级委托一次即可,Vue 重绘换按钮元素也不丢。
|
||||
function 挂操作拦截() {
|
||||
if (!在软件内() || 挂操作拦截.已挂) return;
|
||||
挂操作拦截.已挂 = true;
|
||||
document.addEventListener('click', function (e) {
|
||||
var 钮 = e.target.closest && e.target.closest('#charu, #charurepl');
|
||||
if (!钮) return;
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
发元件(钮.id === 'charu' ? 'insert' : 'replace');
|
||||
}, true);
|
||||
发主机({ action: 'queryState' }); // 问主程序:当前是否在报价页(回复会调 __setQuoteButtonsEnabled)
|
||||
}
|
||||
// 主程序调用:控制插入/替换按钮的可用态(视觉灰化但不禁用——原生 disabled 会让点击彻底哑火,
|
||||
// 曾致按钮停在 disabled 点了没任何反应;灰化态照常发消息,由 C# 端裁决并提示,按钮永不哑火)。
|
||||
// 可选第二参 mode:'quote'(报价页=两个都启用)/'select'(选型页=只启用替换,插入灰化)。
|
||||
window.__setQuoteButtonsEnabled = function (on, mode) {
|
||||
var 插可用 = on && mode !== 'select'; // 选型页禁用插入(用户要求)
|
||||
var 替可用 = on;
|
||||
var 插 = document.getElementById('charu');
|
||||
var 替 = document.getElementById('charurepl');
|
||||
if (插) { 插.removeAttribute('disabled'); 插.classList.toggle('__dqb-off', !插可用); }
|
||||
if (替) { 替.removeAttribute('disabled'); 替.classList.toggle('__dqb-off', !替可用); }
|
||||
};
|
||||
|
||||
// ---------- 样式 ----------
|
||||
function 挂样式() {
|
||||
if (document.getElementById('__dqb-style')) return;
|
||||
var s = document.createElement('style');
|
||||
s.id = '__dqb-style';
|
||||
s.textContent =
|
||||
'.__dqb-star{display:inline-flex;align-items:center;justify-content:center;width:26px;height:28px;' +
|
||||
'margin-left:6px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;cursor:pointer;' +
|
||||
'font-size:16px;color:#c0c4cc;user-select:none;flex:none;}' +
|
||||
'.__dqb-star:hover{color:#ff9900;border-color:#ff9900;}' +
|
||||
'.__dqb-star.__dqb-on{color:#ff9900;border-color:#ff9900;}' +
|
||||
'.__dqb-favtab{cursor:pointer;}' +
|
||||
'.__dqb-mask{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:99999;' +
|
||||
'display:flex;align-items:center;justify-content:center;}' +
|
||||
'.__dqb-favpanel{background:#fff;border-radius:4px;width:630px;max-width:92vw;overflow:hidden;' +
|
||||
'box-shadow:0 4px 24px rgba(0,0,0,.25);font:14px/1.5 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif;}' +
|
||||
'.__dqb-favhd{display:flex;justify-content:space-between;align-items:center;padding:11px 16px;' +
|
||||
'background:linear-gradient(90deg,#ff8a00,#ff6a00);color:#fff;font-size:16px;font-weight:700;}' +
|
||||
'.__dqb-favx{cursor:pointer;color:#fff;font-weight:400;padding:0 4px;opacity:.9;}' +
|
||||
'.__dqb-favx:hover{opacity:1;}' +
|
||||
'.__dqb-favtabs{display:flex;align-items:center;padding:0 16px;border-bottom:2px solid #f0f0f0;}' +
|
||||
'.__dqb-favtab2{padding:10px 0;margin-right:26px;cursor:pointer;color:#666;' +
|
||||
'border-bottom:2px solid transparent;margin-bottom:-2px;}' +
|
||||
'.__dqb-favtab2:hover{color:#ff6a00;}' +
|
||||
'.__dqb-favtab2.active{color:#ff6a00;font-weight:700;border-color:#ff6a00;}' +
|
||||
'.__dqb-favtab2 b{font-weight:400;color:#999;margin-left:2px;}' +
|
||||
'.__dqb-favedit{margin-left:auto;color:#409eff;cursor:pointer;padding:10px 0 10px 12px;user-select:none;}' +
|
||||
'.__dqb-favedit:hover{color:#66b1ff;}' +
|
||||
'.__dqb-favempty{padding:44px 16px;color:#999;text-align:center;}' +
|
||||
'.__dqb-favlist{max-height:56vh;overflow:auto;}' +
|
||||
'.__dqb-favrow{display:flex;align-items:center;gap:10px;padding:8px 16px;' +
|
||||
'border-bottom:1px solid #f2f2f2;cursor:pointer;}' +
|
||||
'.__dqb-favrow:nth-child(even){background:#fafafa;}' +
|
||||
'.__dqb-favrow:hover{background:#fff3e6;}' +
|
||||
'.__dqb-num{color:#999;width:26px;text-align:right;flex:none;}' +
|
||||
'.__dqb-name{color:#333;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}' +
|
||||
'.__dqb-fac{color:#409eff;flex:none;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}' +
|
||||
'.__dqb-fac:hover{color:#66b1ff;}' +
|
||||
'.__dqb-favck{display:none;flex:none;align-items:center;}' +
|
||||
'.editing .__dqb-favck{display:inline-flex;}' +
|
||||
'.__dqb-favfoot{display:flex;align-items:center;gap:18px;padding:10px 16px;border-top:1px solid #eee;background:#fafafa;}' +
|
||||
'.__dqb-allwrap{cursor:pointer;color:#666;display:inline-flex;align-items:center;gap:4px;}' +
|
||||
'.__dqb-delsel{margin-left:auto;border:none;background:#f56c6c;color:#fff;border-radius:4px;' +
|
||||
'padding:6px 16px;cursor:pointer;font-size:13px;}' +
|
||||
'.__dqb-delsel:hover{background:#e64242;}' +
|
||||
// ④ 操作反馈轻提示(插入/替换成功时短暂弹出)
|
||||
'.__dqb-toast{position:fixed;left:50%;bottom:60px;transform:translateX(-50%);z-index:99998;' +
|
||||
'background:rgba(0,0,0,.75);color:#fff;padding:8px 20px;border-radius:16px;font-size:13px;' +
|
||||
'transition:opacity .4s;pointer-events:none;}' +
|
||||
'.__dqb-toast.__dqb-out{opacity:0;}' +
|
||||
// 插入/替换按钮灰化态(视觉提示不可用,但仍可点击由主程序裁决)
|
||||
'.__dqb-off{opacity:.45 !important;filter:grayscale(.6);}';
|
||||
document.head.appendChild(s);
|
||||
}
|
||||
|
||||
// ---------- 总装:轮询保活(Vue 重绘后自动补挂) ----------
|
||||
function 保活() {
|
||||
挂样式(); 挂星钮(); 挂收藏页签(); 挂折扣监听(); 挂操作拦截(); 刷按钮态();
|
||||
}
|
||||
var 上次系列 = '';
|
||||
setInterval(function () {
|
||||
保活();
|
||||
var 系 = 当前系列();
|
||||
if (系 && 系 !== 上次系列) {
|
||||
var 是首 = 上次系列 === '';
|
||||
上次系列 = 系;
|
||||
if (!是首) setTimeout(载折扣, 400); // 切换后等 Vue 数据刷新再载折扣;首次进入不覆盖默认
|
||||
}
|
||||
}, 600);
|
||||
|
||||
if (document.readyState === 'complete' || document.readyState === 'interactive') setTimeout(保活, 300);
|
||||
else document.addEventListener('DOMContentLoaded', function () { setTimeout(保活, 300); });
|
||||
|
||||
// 调试接口(控制台可用;跳转失败排查)
|
||||
window.__dqb = {
|
||||
跳系列: 跳系列, 跳厂家: 跳厂家, 当前品牌: 当前品牌, 当前系列: 当前系列,
|
||||
读系列收藏: 读系列收藏, 读厂家收藏: 读厂家收藏,
|
||||
读组合行: 读组合行, 发元件: 发元件, 在软件内: 在软件内,
|
||||
弹菜单: 弹菜单, 可见菜单: 可见菜单, 点菜单项: 点菜单项
|
||||
};
|
||||
})();
|
||||
@@ -0,0 +1,81 @@
|
||||
// 本地站点服务:伺服克隆的 dqb-1688「众企选型」站,接口反代线上
|
||||
// 地址: http://127.0.0.1:8091/ (页面静态资源=本地克隆;数据接口=反代 dqb-1688.com)
|
||||
// SPA 的 API 走 dqb-1688.com:8000(生产即跨域直调);若浏览器拦 CORS,页面会自动落到本服务 /api 反代
|
||||
// 安全: 上游 host 白名单写死(仅 dqb-1688.com),仅 http/https,绝不转发到任意地址
|
||||
const http = require('http');
|
||||
const https = require('https');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const 端口 = 8091;
|
||||
const 目录 = path.join(__dirname, '克隆站点', 'dqb');
|
||||
const 上游 = { host: 'dqb-1688.com', https: true }; // 页面/静态兜底与同源接口反代
|
||||
const API上游 = { host: 'dqb-1688.com', port: 8000, https: true }; // /api8k 反代目标(8000 端口要求 https)
|
||||
|
||||
const MIME = {
|
||||
'.html': 'text/html; charset=utf-8', '.css': 'text/css; charset=utf-8',
|
||||
'.js': 'application/javascript; charset=utf-8', '.json': 'application/json; charset=utf-8',
|
||||
'.png': 'image/png', '.jpg': 'image/jpeg', '.gif': 'image/gif', '.ico': 'image/x-icon',
|
||||
'.svg': 'image/svg+xml', '.woff': 'font/woff', '.woff2': 'font/woff2', '.ttf': 'font/ttf',
|
||||
'.map': 'application/json',
|
||||
};
|
||||
|
||||
function 反代(目标, req, res, urlPath) {
|
||||
const 头 = Object.assign({}, req.headers);
|
||||
delete 头.host; delete 头['if-none-match']; delete 头['if-modified-since'];
|
||||
头.host = 目标.host;
|
||||
头.referer = 'https://' + 目标.host + '/apiopen/';
|
||||
头.origin = 'https://' + 目标.host;
|
||||
const mod = 目标.https ? https : http;
|
||||
const 上游req = mod.request({
|
||||
host: 目标.host, port: 目标.port || (目标.https ? 443 : 80),
|
||||
method: req.method, path: urlPath, headers: 头, timeout: 25000,
|
||||
}, 上游res => {
|
||||
const 回头 = Object.assign({}, 上游res.headers);
|
||||
回头['access-control-allow-origin'] = '*'; // 本地同源放行
|
||||
res.writeHead(上游res.statusCode || 502, 回头);
|
||||
上游res.pipe(res);
|
||||
});
|
||||
上游req.on('error', e => {
|
||||
res.writeHead(502, { 'Content-Type': 'text/plain; charset=utf-8' });
|
||||
res.end('[反代失败] ' + 目标.host + ' ' + String(e.message).slice(0, 80));
|
||||
});
|
||||
上游req.on('timeout', () => 上游req.destroy(new Error('上游超时')));
|
||||
req.pipe(上游req);
|
||||
}
|
||||
|
||||
const 服 = http.createServer((req, res) => {
|
||||
let u;
|
||||
try { u = decodeURIComponent((req.url || '/').split('?')[0]); } catch (e) { u = '/'; }
|
||||
|
||||
// /api8k/* → 反代 dqb-1688.com:8000(SPA 的 axios baseURL 已改写为 /api8k,本地同源免 CORS)
|
||||
if (u === '/api8k' || u.startsWith('/api8k/')) {
|
||||
反代(API上游, req, res, req.url.slice('/api8k'.length) || '/');
|
||||
return;
|
||||
}
|
||||
|
||||
// SPA 根路径(/ 或 /apiopen/ 或 /apiopen/#/...)→index.html
|
||||
if (u === '/' || u === '/apiopen' || u === '/apiopen/' || u.startsWith('/apiopen/#')) {
|
||||
res.writeHead(200, { 'Content-Type': MIME['.html'] });
|
||||
fs.createReadStream(path.join(目录, 'index.html')).pipe(res);
|
||||
return;
|
||||
}
|
||||
// /apiopen/assets/... → 本地克隆资源(去掉 /apiopen 前缀)
|
||||
let 相对 = u.startsWith('/apiopen/') ? u.slice('/apiopen'.length) : u;
|
||||
let 本 = path.normalize(path.join(目录, 相对));
|
||||
if (!本.startsWith(目录)) { res.writeHead(403); res.end('forbidden'); return; }
|
||||
if (fs.existsSync(本) && fs.statSync(本).isFile()) {
|
||||
const ext = path.extname(本).toLowerCase();
|
||||
res.writeHead(200, { 'Content-Type': MIME[ext] || 'application/octet-stream', 'Cache-Control': 'no-cache' });
|
||||
fs.createReadStream(本).pipe(res);
|
||||
} else {
|
||||
// 本地没有→反代线上原站(接口/未克隆到的动态资源)
|
||||
反代(上游, req, res, req.url);
|
||||
}
|
||||
});
|
||||
服.on('error', e => console.log('[启动失败]', e.message));
|
||||
服.listen(端口, '127.0.0.1', () => {
|
||||
console.log('[dqb 克隆站] http://127.0.0.1:' + 端口 + '/ (静态:' + 目录 + ')');
|
||||
console.log(' 页面打开: http://127.0.0.1:8091/apiopen/#/');
|
||||
console.log(' 接口: SPA 默认直连 dqb-1688.com:8000(生产同款);CORS 被拦时可用本服务 /api 反代');
|
||||
});
|
||||
Generated
+740
@@ -0,0 +1,740 @@
|
||||
namespace 成套报价软件
|
||||
{
|
||||
public partial class 用户库元件编辑 : System.Windows.Forms.Form
|
||||
{
|
||||
/// <summary>必需的设计器变量。</summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>清理正在使用的资源。</summary>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows 窗体设计器生成的代码
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
|
||||
this.lblName = new System.Windows.Forms.Label();
|
||||
this.txtName = new System.Windows.Forms.TextBox();
|
||||
this.lblSpec = new System.Windows.Forms.Label();
|
||||
this.txtSpec = new System.Windows.Forms.TextBox();
|
||||
this.lblUnit = new System.Windows.Forms.Label();
|
||||
this.txtUnit = new System.Windows.Forms.TextBox();
|
||||
this.lblQty = new System.Windows.Forms.Label();
|
||||
this.txtQty = new System.Windows.Forms.TextBox();
|
||||
this.lblPrice = new System.Windows.Forms.Label();
|
||||
this.txtPrice = new System.Windows.Forms.TextBox();
|
||||
this.lblBuyCoeff = new System.Windows.Forms.Label();
|
||||
this.txtBuyCoeff = new System.Windows.Forms.TextBox();
|
||||
this.lblQuoteCoeff = new System.Windows.Forms.Label();
|
||||
this.txtQuoteCoeff = new System.Windows.Forms.TextBox();
|
||||
this.lblBrand = new System.Windows.Forms.Label();
|
||||
this.txtBrand = new System.Windows.Forms.TextBox();
|
||||
this.lblSeries = new System.Windows.Forms.Label();
|
||||
this.txtSeries = new System.Windows.Forms.TextBox();
|
||||
this.lblType = new System.Windows.Forms.Label();
|
||||
this.txtType = new System.Windows.Forms.TextBox();
|
||||
this.btnOK = new System.Windows.Forms.Button();
|
||||
this.btnCancel = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblName
|
||||
//
|
||||
this.lblName.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblName.AutoSize = false;
|
||||
this.lblName.AutoEllipsis = false;
|
||||
this.lblName.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblName.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblName.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblName.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblName.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblName.UseCompatibleTextRendering = false;
|
||||
this.lblName.UseMnemonic = true;
|
||||
this.lblName.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblName.Enabled = true;
|
||||
this.lblName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblName.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblName.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblName.TabIndex = 0;
|
||||
this.lblName.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblName.Location = new System.Drawing.Point(20, 23);
|
||||
this.lblName.Text = "元件名称:";
|
||||
this.lblName.Name = "lblName";
|
||||
|
||||
//
|
||||
// txtName
|
||||
//
|
||||
this.txtName.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtName.AcceptsReturn = false;
|
||||
this.txtName.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtName.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtName.Multiline = false;
|
||||
this.txtName.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtName.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtName.UseSystemPasswordChar = false;
|
||||
this.txtName.AcceptsTab = false;
|
||||
this.txtName.ShortcutsEnabled = true;
|
||||
this.txtName.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtName.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtName.HideSelection = true;
|
||||
this.txtName.MaxLength = 32767;
|
||||
this.txtName.ReadOnly = false;
|
||||
this.txtName.WordWrap = true;
|
||||
this.txtName.Enabled = true;
|
||||
this.txtName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtName.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtName.TabIndex = 1;
|
||||
this.txtName.TabStop = true;
|
||||
this.txtName.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtName.Location = new System.Drawing.Point(105, 20);
|
||||
this.txtName.Name = "txtName";
|
||||
|
||||
//
|
||||
// lblSpec
|
||||
//
|
||||
this.lblSpec.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblSpec.AutoSize = false;
|
||||
this.lblSpec.AutoEllipsis = false;
|
||||
this.lblSpec.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblSpec.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblSpec.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblSpec.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblSpec.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblSpec.UseCompatibleTextRendering = false;
|
||||
this.lblSpec.UseMnemonic = true;
|
||||
this.lblSpec.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblSpec.Enabled = true;
|
||||
this.lblSpec.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblSpec.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblSpec.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblSpec.TabIndex = 2;
|
||||
this.lblSpec.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblSpec.Location = new System.Drawing.Point(20, 56);
|
||||
this.lblSpec.Text = "规格:";
|
||||
this.lblSpec.Name = "lblSpec";
|
||||
|
||||
//
|
||||
// txtSpec
|
||||
//
|
||||
this.txtSpec.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtSpec.AcceptsReturn = false;
|
||||
this.txtSpec.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtSpec.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtSpec.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtSpec.Multiline = false;
|
||||
this.txtSpec.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtSpec.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtSpec.UseSystemPasswordChar = false;
|
||||
this.txtSpec.AcceptsTab = false;
|
||||
this.txtSpec.ShortcutsEnabled = true;
|
||||
this.txtSpec.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtSpec.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtSpec.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtSpec.HideSelection = true;
|
||||
this.txtSpec.MaxLength = 32767;
|
||||
this.txtSpec.ReadOnly = false;
|
||||
this.txtSpec.WordWrap = true;
|
||||
this.txtSpec.Enabled = true;
|
||||
this.txtSpec.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtSpec.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtSpec.TabIndex = 3;
|
||||
this.txtSpec.TabStop = true;
|
||||
this.txtSpec.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtSpec.Location = new System.Drawing.Point(105, 53);
|
||||
this.txtSpec.Name = "txtSpec";
|
||||
|
||||
//
|
||||
// lblUnit
|
||||
//
|
||||
this.lblUnit.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblUnit.AutoSize = false;
|
||||
this.lblUnit.AutoEllipsis = false;
|
||||
this.lblUnit.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblUnit.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblUnit.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblUnit.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblUnit.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblUnit.UseCompatibleTextRendering = false;
|
||||
this.lblUnit.UseMnemonic = true;
|
||||
this.lblUnit.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblUnit.Enabled = true;
|
||||
this.lblUnit.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblUnit.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblUnit.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblUnit.TabIndex = 4;
|
||||
this.lblUnit.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblUnit.Location = new System.Drawing.Point(20, 89);
|
||||
this.lblUnit.Text = "单位:";
|
||||
this.lblUnit.Name = "lblUnit";
|
||||
|
||||
//
|
||||
// txtUnit
|
||||
//
|
||||
this.txtUnit.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtUnit.AcceptsReturn = false;
|
||||
this.txtUnit.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtUnit.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtUnit.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtUnit.Multiline = false;
|
||||
this.txtUnit.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtUnit.UseSystemPasswordChar = false;
|
||||
this.txtUnit.AcceptsTab = false;
|
||||
this.txtUnit.ShortcutsEnabled = true;
|
||||
this.txtUnit.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtUnit.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtUnit.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtUnit.HideSelection = true;
|
||||
this.txtUnit.MaxLength = 32767;
|
||||
this.txtUnit.ReadOnly = false;
|
||||
this.txtUnit.WordWrap = true;
|
||||
this.txtUnit.Enabled = true;
|
||||
this.txtUnit.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtUnit.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtUnit.TabIndex = 5;
|
||||
this.txtUnit.TabStop = true;
|
||||
this.txtUnit.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtUnit.Location = new System.Drawing.Point(105, 86);
|
||||
this.txtUnit.Text = "只";
|
||||
this.txtUnit.Name = "txtUnit";
|
||||
|
||||
//
|
||||
// lblQty
|
||||
//
|
||||
this.lblQty.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblQty.AutoSize = false;
|
||||
this.lblQty.AutoEllipsis = false;
|
||||
this.lblQty.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblQty.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblQty.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblQty.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblQty.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblQty.UseCompatibleTextRendering = false;
|
||||
this.lblQty.UseMnemonic = true;
|
||||
this.lblQty.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblQty.Enabled = true;
|
||||
this.lblQty.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblQty.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblQty.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblQty.TabIndex = 6;
|
||||
this.lblQty.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblQty.Location = new System.Drawing.Point(20, 122);
|
||||
this.lblQty.Text = "数量:";
|
||||
this.lblQty.Name = "lblQty";
|
||||
|
||||
//
|
||||
// txtQty
|
||||
//
|
||||
this.txtQty.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtQty.AcceptsReturn = false;
|
||||
this.txtQty.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtQty.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtQty.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtQty.Multiline = false;
|
||||
this.txtQty.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtQty.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtQty.UseSystemPasswordChar = false;
|
||||
this.txtQty.AcceptsTab = false;
|
||||
this.txtQty.ShortcutsEnabled = true;
|
||||
this.txtQty.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtQty.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtQty.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtQty.HideSelection = true;
|
||||
this.txtQty.MaxLength = 32767;
|
||||
this.txtQty.ReadOnly = false;
|
||||
this.txtQty.WordWrap = true;
|
||||
this.txtQty.Enabled = true;
|
||||
this.txtQty.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtQty.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtQty.TabIndex = 7;
|
||||
this.txtQty.TabStop = true;
|
||||
this.txtQty.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtQty.Location = new System.Drawing.Point(105, 119);
|
||||
this.txtQty.Text = "1";
|
||||
this.txtQty.Name = "txtQty";
|
||||
|
||||
//
|
||||
// lblPrice
|
||||
//
|
||||
this.lblPrice.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblPrice.AutoSize = false;
|
||||
this.lblPrice.AutoEllipsis = false;
|
||||
this.lblPrice.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblPrice.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblPrice.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblPrice.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblPrice.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblPrice.UseCompatibleTextRendering = false;
|
||||
this.lblPrice.UseMnemonic = true;
|
||||
this.lblPrice.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblPrice.Enabled = true;
|
||||
this.lblPrice.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblPrice.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblPrice.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblPrice.TabIndex = 8;
|
||||
this.lblPrice.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblPrice.Location = new System.Drawing.Point(20, 155);
|
||||
this.lblPrice.Text = "表价:";
|
||||
this.lblPrice.Name = "lblPrice";
|
||||
|
||||
//
|
||||
// txtPrice
|
||||
//
|
||||
this.txtPrice.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtPrice.AcceptsReturn = false;
|
||||
this.txtPrice.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtPrice.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtPrice.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtPrice.Multiline = false;
|
||||
this.txtPrice.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtPrice.UseSystemPasswordChar = false;
|
||||
this.txtPrice.AcceptsTab = false;
|
||||
this.txtPrice.ShortcutsEnabled = true;
|
||||
this.txtPrice.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtPrice.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtPrice.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtPrice.HideSelection = true;
|
||||
this.txtPrice.MaxLength = 32767;
|
||||
this.txtPrice.ReadOnly = false;
|
||||
this.txtPrice.WordWrap = true;
|
||||
this.txtPrice.Enabled = true;
|
||||
this.txtPrice.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtPrice.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtPrice.TabIndex = 9;
|
||||
this.txtPrice.TabStop = true;
|
||||
this.txtPrice.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtPrice.Location = new System.Drawing.Point(105, 152);
|
||||
this.txtPrice.Text = "0";
|
||||
this.txtPrice.Name = "txtPrice";
|
||||
|
||||
//
|
||||
// lblBuyCoeff
|
||||
//
|
||||
this.lblBuyCoeff.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblBuyCoeff.AutoSize = false;
|
||||
this.lblBuyCoeff.AutoEllipsis = false;
|
||||
this.lblBuyCoeff.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblBuyCoeff.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblBuyCoeff.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblBuyCoeff.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblBuyCoeff.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblBuyCoeff.UseCompatibleTextRendering = false;
|
||||
this.lblBuyCoeff.UseMnemonic = true;
|
||||
this.lblBuyCoeff.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblBuyCoeff.Enabled = true;
|
||||
this.lblBuyCoeff.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblBuyCoeff.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblBuyCoeff.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblBuyCoeff.TabIndex = 10;
|
||||
this.lblBuyCoeff.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblBuyCoeff.Location = new System.Drawing.Point(20, 188);
|
||||
this.lblBuyCoeff.Text = "采购系数:";
|
||||
this.lblBuyCoeff.Name = "lblBuyCoeff";
|
||||
|
||||
//
|
||||
// txtBuyCoeff
|
||||
//
|
||||
this.txtBuyCoeff.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtBuyCoeff.AcceptsReturn = false;
|
||||
this.txtBuyCoeff.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtBuyCoeff.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtBuyCoeff.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtBuyCoeff.Multiline = false;
|
||||
this.txtBuyCoeff.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtBuyCoeff.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtBuyCoeff.UseSystemPasswordChar = false;
|
||||
this.txtBuyCoeff.AcceptsTab = false;
|
||||
this.txtBuyCoeff.ShortcutsEnabled = true;
|
||||
this.txtBuyCoeff.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtBuyCoeff.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtBuyCoeff.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtBuyCoeff.HideSelection = true;
|
||||
this.txtBuyCoeff.MaxLength = 32767;
|
||||
this.txtBuyCoeff.ReadOnly = false;
|
||||
this.txtBuyCoeff.WordWrap = true;
|
||||
this.txtBuyCoeff.Enabled = true;
|
||||
this.txtBuyCoeff.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtBuyCoeff.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtBuyCoeff.TabIndex = 11;
|
||||
this.txtBuyCoeff.TabStop = true;
|
||||
this.txtBuyCoeff.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtBuyCoeff.Location = new System.Drawing.Point(105, 185);
|
||||
this.txtBuyCoeff.Text = "1";
|
||||
this.txtBuyCoeff.Name = "txtBuyCoeff";
|
||||
|
||||
//
|
||||
// lblQuoteCoeff
|
||||
//
|
||||
this.lblQuoteCoeff.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblQuoteCoeff.AutoSize = false;
|
||||
this.lblQuoteCoeff.AutoEllipsis = false;
|
||||
this.lblQuoteCoeff.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblQuoteCoeff.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblQuoteCoeff.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblQuoteCoeff.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblQuoteCoeff.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblQuoteCoeff.UseCompatibleTextRendering = false;
|
||||
this.lblQuoteCoeff.UseMnemonic = true;
|
||||
this.lblQuoteCoeff.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblQuoteCoeff.Enabled = true;
|
||||
this.lblQuoteCoeff.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblQuoteCoeff.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblQuoteCoeff.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblQuoteCoeff.TabIndex = 12;
|
||||
this.lblQuoteCoeff.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblQuoteCoeff.Location = new System.Drawing.Point(20, 221);
|
||||
this.lblQuoteCoeff.Text = "报出系数:";
|
||||
this.lblQuoteCoeff.Name = "lblQuoteCoeff";
|
||||
|
||||
//
|
||||
// txtQuoteCoeff
|
||||
//
|
||||
this.txtQuoteCoeff.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtQuoteCoeff.AcceptsReturn = false;
|
||||
this.txtQuoteCoeff.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtQuoteCoeff.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtQuoteCoeff.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtQuoteCoeff.Multiline = false;
|
||||
this.txtQuoteCoeff.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtQuoteCoeff.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtQuoteCoeff.UseSystemPasswordChar = false;
|
||||
this.txtQuoteCoeff.AcceptsTab = false;
|
||||
this.txtQuoteCoeff.ShortcutsEnabled = true;
|
||||
this.txtQuoteCoeff.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtQuoteCoeff.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtQuoteCoeff.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtQuoteCoeff.HideSelection = true;
|
||||
this.txtQuoteCoeff.MaxLength = 32767;
|
||||
this.txtQuoteCoeff.ReadOnly = false;
|
||||
this.txtQuoteCoeff.WordWrap = true;
|
||||
this.txtQuoteCoeff.Enabled = true;
|
||||
this.txtQuoteCoeff.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtQuoteCoeff.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtQuoteCoeff.TabIndex = 13;
|
||||
this.txtQuoteCoeff.TabStop = true;
|
||||
this.txtQuoteCoeff.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtQuoteCoeff.Location = new System.Drawing.Point(105, 218);
|
||||
this.txtQuoteCoeff.Text = "1";
|
||||
this.txtQuoteCoeff.Name = "txtQuoteCoeff";
|
||||
|
||||
//
|
||||
// lblBrand
|
||||
//
|
||||
this.lblBrand.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblBrand.AutoSize = false;
|
||||
this.lblBrand.AutoEllipsis = false;
|
||||
this.lblBrand.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblBrand.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblBrand.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblBrand.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblBrand.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblBrand.UseCompatibleTextRendering = false;
|
||||
this.lblBrand.UseMnemonic = true;
|
||||
this.lblBrand.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblBrand.Enabled = true;
|
||||
this.lblBrand.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblBrand.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblBrand.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblBrand.TabIndex = 14;
|
||||
this.lblBrand.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblBrand.Location = new System.Drawing.Point(20, 254);
|
||||
this.lblBrand.Text = "品牌:";
|
||||
this.lblBrand.Name = "lblBrand";
|
||||
|
||||
//
|
||||
// txtBrand
|
||||
//
|
||||
this.txtBrand.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtBrand.AcceptsReturn = false;
|
||||
this.txtBrand.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtBrand.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtBrand.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtBrand.Multiline = false;
|
||||
this.txtBrand.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtBrand.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtBrand.UseSystemPasswordChar = false;
|
||||
this.txtBrand.AcceptsTab = false;
|
||||
this.txtBrand.ShortcutsEnabled = true;
|
||||
this.txtBrand.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtBrand.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtBrand.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtBrand.HideSelection = true;
|
||||
this.txtBrand.MaxLength = 32767;
|
||||
this.txtBrand.ReadOnly = false;
|
||||
this.txtBrand.WordWrap = true;
|
||||
this.txtBrand.Enabled = true;
|
||||
this.txtBrand.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtBrand.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtBrand.TabIndex = 15;
|
||||
this.txtBrand.TabStop = true;
|
||||
this.txtBrand.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtBrand.Location = new System.Drawing.Point(105, 251);
|
||||
this.txtBrand.Name = "txtBrand";
|
||||
|
||||
//
|
||||
// lblSeries
|
||||
//
|
||||
this.lblSeries.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblSeries.AutoSize = false;
|
||||
this.lblSeries.AutoEllipsis = false;
|
||||
this.lblSeries.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblSeries.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblSeries.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblSeries.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblSeries.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblSeries.UseCompatibleTextRendering = false;
|
||||
this.lblSeries.UseMnemonic = true;
|
||||
this.lblSeries.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblSeries.Enabled = true;
|
||||
this.lblSeries.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblSeries.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblSeries.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblSeries.TabIndex = 16;
|
||||
this.lblSeries.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblSeries.Location = new System.Drawing.Point(20, 287);
|
||||
this.lblSeries.Text = "系列:";
|
||||
this.lblSeries.Name = "lblSeries";
|
||||
|
||||
//
|
||||
// txtSeries
|
||||
//
|
||||
this.txtSeries.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtSeries.AcceptsReturn = false;
|
||||
this.txtSeries.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtSeries.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtSeries.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtSeries.Multiline = false;
|
||||
this.txtSeries.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtSeries.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtSeries.UseSystemPasswordChar = false;
|
||||
this.txtSeries.AcceptsTab = false;
|
||||
this.txtSeries.ShortcutsEnabled = true;
|
||||
this.txtSeries.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtSeries.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtSeries.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtSeries.HideSelection = true;
|
||||
this.txtSeries.MaxLength = 32767;
|
||||
this.txtSeries.ReadOnly = false;
|
||||
this.txtSeries.WordWrap = true;
|
||||
this.txtSeries.Enabled = true;
|
||||
this.txtSeries.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtSeries.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtSeries.TabIndex = 17;
|
||||
this.txtSeries.TabStop = true;
|
||||
this.txtSeries.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtSeries.Location = new System.Drawing.Point(105, 284);
|
||||
this.txtSeries.Name = "txtSeries";
|
||||
|
||||
//
|
||||
// lblType
|
||||
//
|
||||
this.lblType.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.lblType.AutoSize = false;
|
||||
this.lblType.AutoEllipsis = false;
|
||||
this.lblType.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.lblType.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.lblType.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblType.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Off;
|
||||
this.lblType.TextAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.lblType.UseCompatibleTextRendering = false;
|
||||
this.lblType.UseMnemonic = true;
|
||||
this.lblType.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.lblType.Enabled = true;
|
||||
this.lblType.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblType.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.lblType.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
||||
this.lblType.TabIndex = 18;
|
||||
this.lblType.Size = new System.Drawing.Size(80, 18);
|
||||
this.lblType.Location = new System.Drawing.Point(20, 320);
|
||||
this.lblType.Text = "元件类型:";
|
||||
this.lblType.Name = "lblType";
|
||||
|
||||
//
|
||||
// txtType
|
||||
//
|
||||
this.txtType.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.txtType.AcceptsReturn = false;
|
||||
this.txtType.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
|
||||
this.txtType.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
|
||||
this.txtType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
|
||||
this.txtType.Multiline = false;
|
||||
this.txtType.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
this.txtType.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
|
||||
this.txtType.UseSystemPasswordChar = false;
|
||||
this.txtType.AcceptsTab = false;
|
||||
this.txtType.ShortcutsEnabled = true;
|
||||
this.txtType.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.txtType.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.txtType.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.txtType.HideSelection = true;
|
||||
this.txtType.MaxLength = 32767;
|
||||
this.txtType.ReadOnly = false;
|
||||
this.txtType.WordWrap = true;
|
||||
this.txtType.Enabled = true;
|
||||
this.txtType.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.txtType.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.txtType.TabIndex = 19;
|
||||
this.txtType.TabStop = true;
|
||||
this.txtType.Size = new System.Drawing.Size(280, 21);
|
||||
this.txtType.Location = new System.Drawing.Point(105, 317);
|
||||
this.txtType.Text = "元件";
|
||||
this.txtType.Name = "txtType";
|
||||
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.btnOK.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.btnOK.AutoEllipsis = false;
|
||||
this.btnOK.AutoSize = false;
|
||||
this.btnOK.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.btnOK.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.btnOK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.btnOK.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay;
|
||||
this.btnOK.UseMnemonic = true;
|
||||
this.btnOK.UseCompatibleTextRendering = false;
|
||||
this.btnOK.UseVisualStyleBackColor = true;
|
||||
this.btnOK.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Tile;
|
||||
this.btnOK.Enabled = true;
|
||||
this.btnOK.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.btnOK.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.btnOK.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.btnOK.TabIndex = 20;
|
||||
this.btnOK.TabStop = true;
|
||||
this.btnOK.Size = new System.Drawing.Size(85, 28);
|
||||
this.btnOK.Location = new System.Drawing.Point(190, 355);
|
||||
this.btnOK.Text = "确定(&O)";
|
||||
this.btnOK.Name = "btnOK";
|
||||
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.btnCancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.AutoEllipsis = false;
|
||||
this.btnCancel.AutoSize = false;
|
||||
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.btnCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay;
|
||||
this.btnCancel.UseMnemonic = true;
|
||||
this.btnCancel.UseCompatibleTextRendering = false;
|
||||
this.btnCancel.UseVisualStyleBackColor = true;
|
||||
this.btnCancel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Tile;
|
||||
this.btnCancel.Enabled = true;
|
||||
this.btnCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.btnCancel.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.btnCancel.TabIndex = 21;
|
||||
this.btnCancel.TabStop = true;
|
||||
this.btnCancel.Size = new System.Drawing.Size(85, 28);
|
||||
this.btnCancel.Location = new System.Drawing.Point(290, 355);
|
||||
this.btnCancel.Text = "取消(&C)";
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
|
||||
// 用户库元件编辑
|
||||
this.Controls.AddRange(new System.Windows.Forms.Control[] {
|
||||
this.lblName,
|
||||
this.txtName,
|
||||
this.lblSpec,
|
||||
this.txtSpec,
|
||||
this.lblUnit,
|
||||
this.txtUnit,
|
||||
this.lblQty,
|
||||
this.txtQty,
|
||||
this.lblPrice,
|
||||
this.txtPrice,
|
||||
this.lblBuyCoeff,
|
||||
this.txtBuyCoeff,
|
||||
this.lblQuoteCoeff,
|
||||
this.txtQuoteCoeff,
|
||||
this.lblBrand,
|
||||
this.txtBrand,
|
||||
this.lblSeries,
|
||||
this.txtSeries,
|
||||
this.lblType,
|
||||
this.txtType,
|
||||
this.btnOK,
|
||||
this.btnCancel,
|
||||
});
|
||||
//
|
||||
// 用户库元件编辑
|
||||
//
|
||||
this.Dock = System.Windows.Forms.DockStyle.None;
|
||||
this.AutoScroll = false;
|
||||
this.AutoSize = false;
|
||||
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
|
||||
this.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.ControlBox = true;
|
||||
this.HelpButton = false;
|
||||
this.IsMdiContainer = false;
|
||||
this.KeyPreview = false;
|
||||
this.MaximumSize = new System.Drawing.Size(0, 0);
|
||||
this.MinimumSize = new System.Drawing.Size(0, 0);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Opacity = 1;
|
||||
this.RightToLeftLayout = false;
|
||||
this.ShowInTaskbar = true;
|
||||
this.ShowIcon = true;
|
||||
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Auto;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.TopMost = false;
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Normal;
|
||||
this.AutoScrollMargin = new System.Drawing.Size(0, 0);
|
||||
this.AutoScrollMinSize = new System.Drawing.Size(0, 0);
|
||||
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Tile;
|
||||
this.Enabled = true;
|
||||
this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
this.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Padding = new System.Windows.Forms.Padding(0, 0, 0, 0);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.Size = new System.Drawing.Size(420, 430);
|
||||
this.Text = "用户库元件编辑";
|
||||
this.Name = "用户库元件编辑";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label lblName;
|
||||
private System.Windows.Forms.TextBox txtName;
|
||||
private System.Windows.Forms.Label lblSpec;
|
||||
private System.Windows.Forms.TextBox txtSpec;
|
||||
private System.Windows.Forms.Label lblUnit;
|
||||
private System.Windows.Forms.TextBox txtUnit;
|
||||
private System.Windows.Forms.Label lblQty;
|
||||
private System.Windows.Forms.TextBox txtQty;
|
||||
private System.Windows.Forms.Label lblPrice;
|
||||
private System.Windows.Forms.TextBox txtPrice;
|
||||
private System.Windows.Forms.Label lblBuyCoeff;
|
||||
private System.Windows.Forms.TextBox txtBuyCoeff;
|
||||
private System.Windows.Forms.Label lblQuoteCoeff;
|
||||
private System.Windows.Forms.TextBox txtQuoteCoeff;
|
||||
private System.Windows.Forms.Label lblBrand;
|
||||
private System.Windows.Forms.TextBox txtBrand;
|
||||
private System.Windows.Forms.Label lblSeries;
|
||||
private System.Windows.Forms.TextBox txtSeries;
|
||||
private System.Windows.Forms.Label lblType;
|
||||
private System.Windows.Forms.TextBox txtType;
|
||||
private System.Windows.Forms.Button btnOK;
|
||||
private System.Windows.Forms.Button btnCancel;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace 成套报价软件
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户库元件编辑 的交互逻辑(事件处理)。
|
||||
/// UI 布局定义见 用户库元件编辑.ui.cs。
|
||||
/// </summary>
|
||||
public partial class 用户库元件编辑
|
||||
{
|
||||
/// <summary>构造函数:初始化 UI 并绑定事件。</summary>
|
||||
public 用户库元件编辑()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
// ============ 公共属性(供主窗口读写编辑窗体的字段值)============
|
||||
// 因为 ui.cs 里控件是 private,这里通过 public 属性暴露
|
||||
|
||||
public string 元件名称 { get { return txtName.Text; } set { txtName.Text = value ?? ""; } }
|
||||
public string 规格 { get { return txtSpec.Text; } set { txtSpec.Text = value ?? ""; } }
|
||||
public string 单位 { get { return txtUnit.Text; } set { txtUnit.Text = value ?? ""; } }
|
||||
public string 数量 { get { return txtQty.Text; } set { txtQty.Text = value ?? ""; } }
|
||||
public string 表价 { get { return txtPrice.Text; } set { txtPrice.Text = value ?? ""; } }
|
||||
public string 采购系数 { get { return txtBuyCoeff.Text; } set { txtBuyCoeff.Text = value ?? ""; } }
|
||||
public string 报出系数 { get { return txtQuoteCoeff.Text; } set { txtQuoteCoeff.Text = value ?? ""; } }
|
||||
public string 品牌 { get { return txtBrand.Text; } set { txtBrand.Text = value ?? ""; } }
|
||||
public string 系列 { get { return txtSeries.Text; } set { txtSeries.Text = value ?? ""; } }
|
||||
public string 元件类型 { get { return txtType.Text; } set { txtType.Text = value ?? ""; } }
|
||||
|
||||
// 提示:在设计器的属性窗口(事件页)双击事件名,
|
||||
// 会自动在此生成事件处理方法骨架。
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user