浏览代码

no message

linwenxin 5 月之前
父节点
当前提交
d4053fc424

+ 2 - 2
src/views/mallManagement/storage/index.vue

@@ -165,7 +165,7 @@ export default {
           md: 6,
           isShow: this.formData.type.length > 0 && this.formData.type.indexOf('商品') < 0,
           name: 'el-select',
-          options: this.websitList,
+          options: this.websitList.map(item => ({ ...item, label: `(${item.value})${item.label}` })),
           attributes: { filterable: true, placeholder: '请选择', disabled: this.formDialogType == 1 },
           formItemAttributes: {
             label: '所属网点',
@@ -254,7 +254,7 @@ export default {
                 value: item.websitId,
                 data: item
               }))
-              if (this.websitList.length) {
+              if (this.websitList.length === 1 && type === 'add') {
                 this.formData.websitId = this.websitList[0].websitId
                 this.formData.websitName = this.websitList[0].websitName
               }

+ 1 - 1
src/views/setting/fileDelivery/centralFileDelivery/index.vue

@@ -185,7 +185,7 @@
             show-overflow-tooltip
           ></el-table-column>
           <el-table-column align="center" prop="websitNumber" label="网点名称" min-width="140" show-overflow-tooltip>
-            <template slot-scope="scope"> {{ scope.row.websitName }}({{ scope.row.websitNumber }}) </template>
+            <template slot-scope="scope"> ({{ scope.row.websitNumber }}){{ scope.row.websitName }} </template>
           </el-table-column>
           <el-table-column align="center" prop="isNotice" label="是否强制提醒" show-overflow-tooltip>
             <template slot-scope="scope">

+ 1 - 1
src/views/setting/fileDelivery/fileDeliveryPage/index.vue

@@ -188,7 +188,7 @@
             show-overflow-tooltip
           ></el-table-column>
           <el-table-column align="center" prop="websitNumber" label="网点名称" min-width="140" show-overflow-tooltip>
-            <template slot-scope="scope"> {{ scope.row.websitName }}({{ scope.row.websitNumber }}) </template>
+            <template slot-scope="scope"> ({{ scope.row.websitNumber }}){{ scope.row.websitName }} </template>
           </el-table-column>
           <el-table-column align="center" prop="isNotice" label="是否强制提醒" show-overflow-tooltip>
             <template slot-scope="scope">

+ 1 - 1
src/views/userManagement/masterGroup/index.vue

@@ -138,7 +138,7 @@ export default {
         {
           name: 'el-select',
           md: 12,
-          options: this.websitList.map(item => ({ label: item.name, value: item.websitId })),
+          options: this.websitList.map(item => ({ label: `(${item.websitId})${item.name}`, value: item.websitId })),
           attributes: {
             clearable: true,
             filterable: true,