Procházet zdrojové kódy

提交新版商品信息

caojunjie před 4 roky
rodič
revize
abf87e7fd7

+ 1 - 1
package-lock.json

@@ -12035,7 +12035,7 @@
     },
     "wangeditor": {
       "version": "3.1.1",
-      "resolved": "https://registry.nlark.com/wangeditor/download/wangeditor-3.1.1.tgz",
+      "resolved": "https://registry.npmmirror.com/wangeditor/download/wangeditor-3.1.1.tgz?cache=0&sync_timestamp=1634450302610&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fwangeditor%2Fdownload%2Fwangeditor-3.1.1.tgz",
       "integrity": "sha1-+9PB1JdpI8nt67hbKdMLNVEq0Dk="
     },
     "watchpack": {

+ 1 - 1
package.json

@@ -11,7 +11,7 @@
     "test:e2e": "vue-cli-service test:e2e"
   },
   "dependencies": {
-    "avue-plugin-ueditor": "^0.1.4",
+    "avue-plugin-ueditor": "^0.1.7",
     "axios": "^0.18.0",
     "babel-polyfill": "^6.26.0",
     "classlist-polyfill": "^1.2.0",

+ 10 - 0
src/api/basicData/deliveryNotice.js

@@ -33,6 +33,16 @@ export function corpsattn(data) {
         }
     })
 }
+//发货列表删除
+export function deleteDetails(data) {
+    return request({
+        url: '/api/blade-deliver-goods/delivery/update',
+        method: 'post',
+        data: {
+            id:data
+        }
+    })
+}
 //附件列表删除
 export function corpsbank(data) {
     return request({

+ 3 - 1
src/components/selectComponent/customerSelect.vue

@@ -3,7 +3,7 @@
     <el-select
         v-model="value"
         :placeholder="configuration.placeholder"
-        style="width: 80%;border-right: none"
+        style="width: 80%;border-right: none;"
         :disabled="disabled?disabled:false"
         :multiple="configuration.multiple?configuration.multiple:false"
         :collapse-tags="configuration.collapseTags?configuration.collapseTags:false">
@@ -19,6 +19,8 @@
       title="导入客户"
       :visible.sync="dialogVisible"
       class="el-dialogDeep"
+      top="0vh"
+      bottom="2vh"
       append-to-body
       width="80%">
     <el-row style="margin-top: -5px;height: 0">

+ 1 - 0
src/main.js

@@ -28,6 +28,7 @@ import format from 'vue-text-format';//v-format
 import selectComponent from '@/components/selectComponent/customerSelect';
 Vue.component('selectComponent', selectComponent);
 
+
 // 注册全局crud驱动
 window.$crudCommon = crudCommon;
 // 加载Vue拓展

+ 15 - 0
src/router/views/index.js

@@ -87,6 +87,21 @@ export default [{
             }
         ]
     },
+    //商品详情页
+    {
+        path: '/commodityType_detailsPageEdit',
+        component: Layout,
+        hidden: true,
+        children: [
+            {
+                path: '/commodityType_detailsPageEdit',
+                meta: {
+                    i18n: 'commodityType_detailsPageEdit'
+                },
+                component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/commodityType/detailsPageEdit')
+            }
+        ]
+    },
     //销售详情页
     {
         path: '/salesOrder_detailsPageEdit',

+ 88 - 0
src/views/basicData/commodityType/configuration/customerContact.json

@@ -0,0 +1,88 @@
+{
+  "lazy": true,
+  "tip": false,
+  "simplePage": true,
+  "searchShow": true,
+  "addBtn":false,
+  "editBtn":false,
+  "addRowBtn":true,
+  "cellBtn":false,
+  "cancelBtn":false,
+  "refreshBtn": false,
+  "searchMenuSpan": 6,
+  "dialogWidth": "60%",
+  "tree": true,
+  "border": true,
+  "index": true,
+  "selection": true,
+  "menuWidth": 300,
+  "dialogClickModal": false,
+  "column":[
+    {
+      "label": "数量",
+      "prop": "code",
+      "index": 1,
+      "width":100,
+      "cell": true,
+      "rules": [
+        {
+          "required": true,
+          "message": " ",
+          "trigger": "blur"
+        }
+      ]
+    },{
+      "label": "计价单位",
+      "prop": "bigCharacter",
+      "index": 1,
+      "width":100,
+      "cell": true,
+      "rules": [
+        {
+          "required": true,
+          "message": " ",
+          "trigger": "blur"
+        }
+      ]
+    },{
+      "label": "币别",
+      "prop": "brand",
+      "index": 2,
+      "width":100,
+      "cell": true,
+      "rules": [
+        {
+          "required": false,
+          "message": " ",
+          "trigger": "blur"
+        }
+      ]
+    },{
+      "label": "单价",
+      "prop": "brandItem",
+      "index": 3,
+      "width":100,
+      "cell": true,
+      "rules": [
+        {
+          "required": false,
+          "message": " ",
+          "trigger": "blur"
+        }
+      ]
+    },{
+      "label": "备注",
+      "prop": "typeno",
+      "index": 4,
+      "width":100,
+      "cell": true,
+      "rules": [
+        {
+          "required": false,
+          "message": " ",
+          "trigger": "blur"
+        }
+      ]
+    }
+  ]
+}

+ 3 - 1
src/views/basicData/commodityType/configuration/mainList.json

@@ -8,7 +8,9 @@
   "border": true,
   "index": true,
   "selection": true,
-  "viewBtn": true,
+  "viewBtn": false,
+  "editBtn": false,
+  "delBtn": false,
   "dialogClickModal": false,
   "column": [
     {

+ 521 - 0
src/views/basicData/commodityType/detailsPageEdit.vue

@@ -0,0 +1,521 @@
+<template>
+  <div class="borderless">
+    <div class="customer-head">
+      <div class="customer-back">
+        <!--        <i class="back-icon el-icon-arrow-left"></i><i style="font-style:normal">返回管理列表</i>-->
+        <el-button type="danger" style="border: none;background: none;color: red" icon="el-icon-arrow-left"
+                   @click="backToList">返回列表
+        </el-button>
+      </div>
+      <el-button
+          class="el-button--small-yh add-customer-btn"
+          type="primary"
+          :disabled="disabled"
+          @click="editCustomer"
+      >{{ form.id ? '确认修改' : '确认新增' }}
+      </el-button>
+    </div>
+    <div style="margin-top: 60px">
+      <el-form :model="form" ref="form" label-width="130px" class="demo-ruleForm">
+        <containerTitle title="基础资料"></containerTitle>
+        <basic-container style="margin-bottom: 10px">
+          <el-row>
+            <el-col v-for="(item,index) in basicData.column" :key="index" :span="item.span?item.span:8">
+              <el-form-item :label="item.label" :prop="item.prop" :rules="item.rules">
+                <!--                <avue-input-tree v-if="item.prop === 'corpsTypeId'" leaf-only multiple :props="{label:'title'}"v-model="form[item.prop]" placeholder="请选择内容" type="tree" :dic="dic"/>-->
+                <el-date-picker v-if="item.type === 'datetime'" style="width: 100%;" v-model="form[item.prop]"
+                                size="small" type="datetime" placeholder="选择日期" value-format="yyyy-MM-dd HH:mm:ss"/>
+                <span v-else-if="item.type === 'select'">
+                  <el-select v-model="form[item.prop]" slot="prepend" style="width: 100%;" size="small"
+                             placeholder="请选择">
+                  <el-option v-for="(item,index2) in item.dicData" :key="index2" :label="item.label"
+                             :value="item.value"></el-option>
+                </el-select>
+                </span>
+                <el-input type="age" v-else v-model="form[item.prop]" size="small" autocomplete="off"></el-input>
+              </el-form-item>
+            </el-col>
+          </el-row>
+        </basic-container>
+        <containerTitle title="包装资料"></containerTitle>
+        <basic-container style="margin-bottom: 10px">
+          <el-row>
+            <el-col v-for="(item,index) in packingData.column" :key="index" :span="item.span?item.span:8">
+              <el-form-item :label="item.label" :prop="item.prop" :rules="item.rules">
+                <!--                <avue-input-tree v-if="item.prop === 'corpsTypeId'" leaf-only multiple :props="{label:'title'}"v-model="form[item.prop]" placeholder="请选择内容" type="tree" :dic="dic"/>-->
+                <el-date-picker v-if="item.type === 'datetime'" style="width: 100%;" v-model="form[item.prop]"
+                                size="small" type="datetime" placeholder="选择日期" value-format="yyyy-MM-dd HH:mm:ss"/>
+                <span v-else-if="item.type === 'select'">
+                  <el-select v-model="form[item.prop]" slot="prepend" style="width: 100%;" size="small"
+                             placeholder="请选择">
+                  <el-option v-for="(item,index2) in item.dicData" :key="index2" :label="item.label"
+                             :value="item.value"></el-option>
+                </el-select>
+                </span>
+                <el-input type="age" v-else v-model="form[item.prop]" size="small" autocomplete="off"></el-input>
+              </el-form-item>
+            </el-col>
+          </el-row>
+        </basic-container>
+        <containerTitle title="销售价格"></containerTitle>
+        <basic-container style="margin-bottom: 10px">
+          <avue-crud
+              :option="customerContact"
+              v-model="contactsForm"
+              :data="contactsData"
+              ref="crudContact"
+              @row-save="rowSave"
+              @row-click="handleRowClick"
+              @row-update="rowUpdate"
+              @row-del="rowDel">
+            <template slot-scope="{row,index}" slot="menu">
+              <el-button
+                  type="text"
+                  size="small"
+                  @click="rowCell(row,index)"
+              >{{ row.$cellEdit ? '保存' : '修改' }}
+              </el-button>
+            </template>
+          </avue-crud>
+        </basic-container>
+        <containerTitle title="附件"></containerTitle>
+        <basic-container style="margin-bottom: 10px">
+          {{text}}
+          <avue-ueditor v-model="text" :options="options"></avue-ueditor>
+        </basic-container>
+      </el-form>
+    </div>
+  </div>
+</template>
+<script>
+import customerContact from "./configuration/customerContact.json"
+import {detail, corpsattn, typeSave} from "@/api/maintenance/priceManagement"
+export default {
+  name: "detailsPage",
+  data() {
+    return {
+      text: '<h1 class="ql-align-center" style="text-align: center;"><a href="https://avuejs.com/doc/plugins/ueditor-plugins" target="_blank" style="font-weight: bold; color: rgb(194, 79, 74);">欢迎使用Avue富文本编辑器</a></h1><p class="ql-align-center" style="text-align: center;"><span style="font-weight: bold; color: rgb(194, 79, 74);"><img src="https://avuejs.com/images/logo-bg.jpg" height="200" width="200"></span></p>',
+      options: {
+        //普通图片上传
+        action: "https://avuejs.com/upload",
+        customConfig: {
+          lineHeights: ['1', '1.15', '1.6', '2', '2.5', '3']
+        },//wangEditor编辑的配置
+        props: {
+          res: "data",
+          url:'url'
+        },
+        //七牛云oss配置
+        qiniu: {
+          AK: "",
+          SK: "",
+          scope: "test",
+          url: "http://pm7cc17lu.bkt.clouddn.com/",
+          deadline: 1
+        },
+        //阿里云oss配置
+        ali: {
+          region: "oss-cn-beijing",
+          endpoint: "oss-cn-beijing.aliyuncs.com",
+          accessKeyId: "",
+          accessKeySecret: "",
+          bucket: "avue"
+        }
+      },
+      form: {},
+      disabled: false,
+      customerContact: customerContact,
+      contactsForm: {},
+      contactsData: [],
+      basicData: {
+        column: [
+          {
+            label: '产品编码',
+            prop: 'bigCharacter',
+            rules: [
+              {
+                required: true,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '中文名称',
+            prop: 'brand',
+            rules: [
+              {
+                required: true,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '英文名称',
+            prop: 'status',
+            rules: [
+              {
+                required: true,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '中文描述',
+            prop: 'typeno',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '英文描述',
+            prop: 'brandItem',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '中文型号',
+            prop: 'category',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '英文型号',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '中文规格',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '海关编码',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '海关中文',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '海关英文',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '退税率',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '计量单位',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }
+        ]
+      },
+      packingData: {
+        column: [
+          {
+            label: '长度单位',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '重量单位',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '包装单位',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '每个体积',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '每个毛重',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '每个净重',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '每箱体积',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '每箱毛重',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '每箱净重',
+            prop: 'productCategory',
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }, {
+            label: '包装描述',
+            prop: 'productCategory',
+            span:24,
+            rules: [
+              {
+                required: false,
+                message: ' ',
+                trigger: 'blur'
+              }
+            ]
+          }
+        ]
+      }
+    }
+  },
+  //初始化查询
+  created() {
+    if (this.$route.query.id) {
+      detail(JSON.parse(this.$route.query.id)).then(res => {
+        this.form = res.data.data
+        this.contactsData = res.data.data.priceItemList
+        delete this.form.priceItemList
+      })
+    } else {
+      this.form = {}
+      this.contactsData = []
+    }
+  },
+  watch: {
+    '$route'(to, from) {
+      console.log(to, from);
+      if (this.$route.query.id) {
+
+      } else {
+        this.form = {}
+      }
+    }
+  },
+  methods: {
+    //新增商品信息保存触发
+    rowSave(row, done, loading) {
+      console.log(row)
+      console.log(this.contactsData)
+      // this.contactsData.push(row)
+      done()
+    },
+    //点击行可编辑
+    handleRowClick(row, event, column) {
+      console.log(row.$index)
+    },
+    //商品编辑
+    rowCell(row, index) {
+      console.log(row)
+      this.$refs.crudContact.rowCell(row, index)
+    },
+    //修改商品信息触发
+    rowUpdate(row, index, done, loading) {
+      done(row);
+    },
+    //删除商品信息触发
+    rowDel(row, index, donerowDel) {
+      this.$confirm("确定将选择数据删除?", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning"
+      }).then(() => {
+        //商品判断是否需要调用删除接口
+        if (row.id) {
+          corpsattn(row.id).then(res => {
+            this.$message({
+              type: "success",
+              message: "操作成功!"
+            });
+            this.contactsData.splice(index, 1);
+          })
+        } else {
+          this.$message({
+            type: "success",
+            message: "操作成功!"
+          });
+          this.contactsData.splice(index, 1);
+        }
+      })
+    },
+    //修改提交触发
+    editCustomer() {
+      console.log(this.form)
+      this.$refs["form"].validate((valid) => {
+        if (valid) {
+          this.form.priceItemList = this.contactsData
+          typeSave(this.form).then(res => {
+            this.$message({
+              type: "success",
+              message: this.form.id ? "修改成功!" : "新增成功!"
+            });
+            this.backToList()
+          })
+        } else {
+          return false;
+        }
+      });
+    },
+    //返回列表
+    backToList() {
+      this.$router.$avueRouter.closeTag();
+      this.$router.push({
+        path: '/basicData/commodityType/index',
+        query: {}
+      });
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.customer-head {
+  position: fixed;
+  top: 105px;
+  width: 100%;
+  margin-left: -10px;
+  height: 62px;
+  background: #ffffff;
+  box-shadow: 0 4px 12px 0px rgba(232, 232, 235, 1);
+  z-index: 999;
+  /* display: flex;
+  justify-content: left; */
+}
+
+.customer-back {
+  cursor: pointer;
+  line-height: 62px;
+  font-size: 16px;
+  color: #323233;
+  font-weight: 400;
+}
+
+.back-icon {
+  line-height: 64px;
+  font-size: 20px;
+  margin-right: 8px;
+}
+
+.add-customer-btn {
+  position: fixed;
+  right: 36px;
+  top: 115px;
+}
+
+::v-deep .el-form-item {
+  margin-bottom: 0;
+}
+
+.el-dialogDeep {
+  ::v-deep .el-dialog {
+    margin: 1vh auto 0 !important;
+    padding-bottom: 10px !important;
+
+    .el-dialog__body, .el-dialog__footer {
+      padding-bottom: 0 !important;
+      padding-top: 0 !important;
+    }
+  }
+}
+</style>

+ 49 - 16
src/views/basicData/commodityType/index.vue

@@ -1,13 +1,9 @@
 <template>
   <el-row>
     <el-col :span="5">
-      <div class="box">
-        <el-scrollbar>
-          <basic-container>
-            <avue-tree :option="treeOption" :data="treeData" @node-click="nodeClick"/>
-          </basic-container>
-        </el-scrollbar>
-      </div>
+      <basic-container>
+        <avue-tree :option="treeOption" :data="treeData" @node-click="nodeClick"/>
+      </basic-container>
     </el-col>
     <el-col :span="19">
       <basic-container>
@@ -21,7 +17,7 @@
                    @row-del="rowDel"
                    @row-update="rowUpdate"
                    @row-save="rowSave"
-                   :before-open="beforeOpen"
+                   :before-open="beforeOpenE"
                    :page.sync="page"
                    @search-change="searchChange"
                    @search-reset="searchReset"
@@ -30,6 +26,29 @@
                    @size-change="sizeChange"
                    @refresh-change="refreshChange"
                    @on-load="onLoad">
+          <template slot-scope="scope" slot="menu">
+            <el-button
+                type="text"
+                icon="el-icon-view"
+                size="small"
+                @click.stop="beforeOpenPage(scope.row, scope.index)"
+            >查看
+            </el-button>
+            <el-button
+                type="text"
+                icon="el-icon-edit"
+                size="small"
+                @click.stop="editOpen(scope.row, scope.index)"
+            >编辑
+            </el-button>
+            <el-button
+                type="text"
+                icon="el-icon-delete"
+                size="small"
+                @click.stop="rowDel(scope.row, scope.index)"
+            >删除
+            </el-button>
+          </template>
           <template slot-scope="{row}"
                     slot="tenantName">
             <el-tag>{{row.tenantName}}</el-tag>
@@ -445,6 +464,28 @@ export default {
         loading();
       });
     },
+    //查看跳转页面
+    beforeOpenPage(row, index) {
+      this.$router.push({
+        path: "/commodityType_detailsPageEdit",
+        query: { id: JSON.stringify(row.id) }
+      });
+    },
+    //新增跳转页面
+    beforeOpenE(row, index) {
+      this.$router.push({
+        path: "/commodityType_detailsPageEdit",
+        query: { id: JSON.stringify(row.id),treeDeptId:this.treeDeptId }
+      });
+    },
+    //编辑跳转页面
+    editOpen(row, index) {
+      this.$router.push({
+        path: "/commodityType_detailsPageEdit",
+        query: { id: JSON.stringify(row.id) }
+      });
+    },
+    //删除触发
     rowDel(row, index, done) {
       this.$confirm("确定将选择数据删除?", {
         confirmButtonText: "确定",
@@ -639,15 +680,7 @@ export default {
 </script>
 
 <style>
-.box {
-  height: 800px;
-}
-
 .el-scrollbar {
   height: 100%;
 }
-
-.box .el-scrollbar__wrap {
-  overflow: scroll;
-}
 </style>

+ 1 - 0
src/views/businessManagement/salesOrder/configuration/bankOfDeposit.json

@@ -1,6 +1,7 @@
 {
   "lazy": true,
   "tip": false,
+  "addBtnText": "录入明细",
   "simplePage": true,
   "searchShow": true,
   "searchMenuSpan": 6,

+ 7 - 0
src/views/businessManagement/salesOrder/configuration/mainList.json

@@ -1,5 +1,6 @@
 {
     "height": "auto",
+    "addBtnText": "新单",
     "lazy": true,
     "tip": false,
     "searchMenuPosition": "right",
@@ -49,6 +50,12 @@
             "index": 5,
             "width":100
         },{
+            "type": "select",
+            "dicUrl": "/api/blade-system/dict/dictionary?code=user_type",
+            "props": {
+                "label": "dictValue",
+                "value": "dictKey"
+            },
             "label": "付款方式",
             "prop": "paymentType",
             "search": true,

+ 8 - 2
src/views/businessManagement/salesOrder/detailsPageEdit.vue

@@ -9,6 +9,11 @@
       </div>
       <el-button
           class="el-button--small-yh add-customer-btn"
+          type="success" style="right: 140px;">
+        复制新单
+      </el-button>
+      <el-button
+          class="el-button--small-yh add-customer-btn"
           type="primary"
           @click="editCustomer"
       >{{ form.id ? '确认修改' : '确认新增' }}
@@ -71,7 +76,7 @@
               <el-button type="primary"
                          icon="el-icon-plus"
                          size="small"
-                         @click="commoditySelection">新增
+                         @click="commoditySelection">录入明细
               </el-button>
               <el-button type="primary"
                          icon="el-icon-plus"
@@ -115,7 +120,7 @@
                          icon="el-icon-plus"
                          size="small"
                          @click="costIncrease"
-              >新增
+              >录入明细
               </el-button>
             </template>
           </avue-crud>
@@ -226,6 +231,7 @@
         class="el-dialogDeep"
         :visible.sync="dialogCost"
         width="80%"
+        top="8vh"
         :close-on-click-modal="false"
         :destroy-on-close="true"
         :close-on-press-escape="false">

+ 4 - 0
src/views/businessManagement/salesOrder/index.vue

@@ -20,6 +20,10 @@
                @refresh-change="refreshChange"
                @on-load="onLoad"
                @tree-load="treeLoad">
+      <template slot="menuLeft" slot-scope="{size}">
+        <el-button type="success" :size="size">复制新单</el-button>
+        <el-button type="info" :size="size">导出报表</el-button>
+      </template>
       <template slot-scope="scope" slot="menu">
         <el-button
             type="text"

+ 2 - 2
src/views/exportTrade/customerInquiry/index.vue

@@ -19,8 +19,7 @@
           icon="el-icon-plus"
           size="small"
           @click.stop="newAdd()"
-          >新 建</el-button
-        >
+          >新 建</el-button>
       </template>
       <template slot="corpIdSearch">
         <select-component
@@ -75,6 +74,7 @@ export default {
         dicData: []
       },
       search: {},
+      form:{},
       option: option,
       parentId: 0,
       dataList: [{}],

+ 1 - 1
src/views/system/user.vue

@@ -302,7 +302,7 @@
               display: false
             },
             {
-              label: "用户平台",
+              label: "用户平台1",
               type: "select",
               dicUrl: "/api/blade-system/dict/dictionary?code=user_type",
               props: {