Browse Source

Merge branch 'sit' of daiyanrong/accout-ui into master

戴艳蓉 3 years ago
parent
commit
4b3c48b299

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


+ 0 - 0
dist/static/css/chunk-008410d4.388fdff7.css → dist/static/css/chunk-667d1ace.388fdff7.css


+ 0 - 0
dist/static/css/chunk-008410d4.388fdff7.css.gz → dist/static/css/chunk-667d1ace.388fdff7.css.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.cec9db1a.js


BIN
dist/static/js/app.5af84888.js.gz → dist/static/js/app.cec9db1a.js.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-008410d4.719ca24d.js


BIN
dist/static/js/chunk-008410d4.719ca24d.js.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-667d1ace.55417cef.js


BIN
dist/static/js/chunk-667d1ace.55417cef.js.gz


+ 12 - 22
src/views/search/standBook/addEdit.vue

@@ -98,24 +98,7 @@ export default {
       }
     };
     return {
-      options: [
-        {
-          value: "1",
-          label: "回票明细报表",
-        },
-        {
-          value: "2",
-          label: "回票公司订单明细报表",
-        },
-        {
-          value: "3",
-          label: "库存出入库明细报表",
-        },
-        {
-          value: "4",
-          label: "收入成本明细报表",
-        },
-      ],
+      options: [],
       loading: false,
       title: "添加账号",
       showModelThis: this.showModel,
@@ -162,6 +145,7 @@ export default {
     },
     async initForm() {
       this.loading = true;
+      this.options = [];
       this.rulesThis = this.rules;
       await this.resetForm();
       this.loading = false;
@@ -184,11 +168,17 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          const { start, end, id } = this.sitem;
-          console.log(this.sitem);
+          const { start, end, id, name } = this.sitem;
+          // console.log(this.sitem);
+          this.options = [
+            {
+              value: id,
+              label: name,
+            },
+          ];
           this.ruleForm = {
-            start:  "",
-            end:  "",
+            start: "",
+            end: "",
             id: id || "",
           };
           console.log(this.ruleForm);

+ 2 - 1
src/views/search/standBook/pre-export.vue

@@ -41,7 +41,7 @@
           <template slot-scope="scope">
                <el-tag
           :size="tablebtnSize"
-          :type="scope.row.status == '1' ? 'warning' : 'success'"
+          :type="scope.row.status == '2' ? 'success' : scope.row.status == '1'?'warning':'info'"
           v-text="
             (statusOptions.find((item) => item.id == scope.row.status) || {})
               .label || '--'
@@ -117,6 +117,7 @@ export default {
       fileUrl: urlConfig.baseURL,
       // 状态
       statusOptions: [
+        { id: "0", label: "待创建" },
         { id: "1", label: "待执行" },
         { id: "2", label: "已完成" },
       ],

Some files were not shown because too many files changed in this diff