snow 2 years ago
parent
commit
25b6a9b082

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


+ 98 - 98
src/components/echart/centerLeft/centerLeft2Chart/chart.vue

@@ -6,26 +6,26 @@
       :options="options"
       height="360px"
       width="330px"
-    ></Echart>
+    />
   </div>
 </template>
 
 <script>
-import Echart from '@/common/echart';
+import Echart from '@/common/echart'
 export default {
-  data() {
-    return {
-      options: {},
-    };
-  },
   components: {
-    Echart,
+    Echart
   },
   props: {
     cdata: {
       type: Array,
-      default: () => [],
-    },
+      default: () => []
+    }
+  },
+  data() {
+    return {
+      options: {}
+    }
   },
   watch: {
     cdata: {
@@ -40,62 +40,62 @@ export default {
           莆田市: [119.007558, 25.591011, 20],
           三明市: [117.435001, 26.465444, 20],
           南平市: [118.178459, 27.535627, 20],
-          宁德市: [119.527082, 27.15924, 20],
-        };
-        let seriesData = [
+          宁德市: [119.527082, 27.15924, 20]
+        }
+        const seriesData = [
           {
-            name: '厦门市',
+            name: '厦门市'
           },
           {
-            name: '福州市',
+            name: '福州市'
           },
           {
-            name: '泉州市',
+            name: '泉州市'
           },
           {
-            name: '漳州市',
+            name: '漳州市'
           },
           {
-            name: '龙岩市',
+            name: '龙岩市'
           },
           {
-            name: '莆田市',
+            name: '莆田市'
           },
           {
-            name: '三明市',
+            name: '三明市'
           },
           {
-            name: '南平市',
+            name: '南平市'
           },
           {
-            name: '宁德市',
-          },
-        ];
-        let convertData = function (data) {
-          let scatterData = [];
+            name: '宁德市'
+          }
+        ]
+        const convertData = function(data) {
+          const scatterData = []
           for (var i = 0; i < data.length; i++) {
-            var geoCoord = geoCoordMap[data[i].name];
+            var geoCoord = geoCoordMap[data[i].name]
             if (geoCoord) {
               scatterData.push({
                 name: data[i].name,
-                value: geoCoord.concat(data[i].value),
-              });
+                value: geoCoord.concat(data[i].value)
+              })
             }
           }
-          return scatterData;
-        };
+          return scatterData
+        }
         this.options = {
           showLegendSymbol: true,
           tooltip: {
             trigger: 'item',
             textStyle: {
               fontSize: 14,
-              lineHeight: 22,
+              lineHeight: 22
             },
             position: point => {
               // 固定在顶部
-              return [point[0] + 50, point[1] - 20];
-            },
+              return [point[0] + 50, point[1] - 20]
+            }
             // 如果需要自定义 tooltip样式,需要使用formatter
             /*
               formatter: params => {
@@ -110,13 +110,13 @@ export default {
             seriesIndex: 0,
             // 颜色
             inRange: {
-              color: ['rgba(41,166,206, .5)', 'rgba(69,117,245, .9)'],
-            },
+              color: ['rgba(41,166,206, .5)', 'rgba(69,117,245, .9)']
+            }
           },
           // 底部背景
           geo: {
             show: true,
-            aspectScale: 0.85, //长宽比
+            aspectScale: 0.85, // 长宽比
             zoom: 1.2,
             top: '10%',
             left: '16%',
@@ -127,18 +127,18 @@ export default {
                 areaColor: 'rgba(0,0,0,0)',
                 shadowColor: 'rgba(7,114,204, .8)',
                 shadowOffsetX: 5,
-                shadowOffsetY: 5,
+                shadowOffsetY: 5
               },
               emphasis: {
-                areaColor: '#00aeef',
-              },
-            },
+                areaColor: '#00aeef'
+              }
+            }
           },
           series: [
             {
               name: '相关指数',
               type: 'map',
-              aspectScale: 0.85, //长宽比
+              aspectScale: 0.85, // 长宽比
               zoom: 1.2,
               mapType: '福建', // 自定义扩展图表类型
               top: '10%',
@@ -150,15 +150,15 @@ export default {
                   borderColor: 'rgba(0,242,252,.3)',
                   borderWidth: 1,
                   shadowBlur: 7,
-                  shadowColor: '#00f2fc',
+                  shadowColor: '#00f2fc'
                 },
                 emphasis: {
                   areaColor: '#4f7fff',
                   borderColor: 'rgba(0,242,252,.6)',
                   borderWidth: 2,
                   shadowBlur: 10,
-                  shadowColor: '#00f2fc',
-                },
+                  shadowColor: '#00f2fc'
+                }
               },
               label: {
                 formatter: params => `${params.name}`,
@@ -166,15 +166,15 @@ export default {
                 position: 'insideRight',
                 textStyle: {
                   fontSize: 14,
-                  color: '#efefef',
+                  color: '#efefef'
                 },
                 emphasis: {
                   textStyle: {
-                    color: '#fff',
-                  },
-                },
+                    color: '#fff'
+                  }
+                }
               },
-              data: newData,
+              data: newData
             },
             {
               type: 'effectScatter',
@@ -186,105 +186,105 @@ export default {
               rippleEffect: {
                 period: 4,
                 scale: 2.5,
-                brushType: 'stroke',
+                brushType: 'stroke'
               },
               zlevel: 1,
               itemStyle: {
                 normal: {
                   color: '#99FBFE',
                   shadowBlur: 5,
-                  shadowColor: '#fff',
-                },
+                  shadowColor: '#fff'
+                }
               },
-              data: convertData(seriesData),
-            },
-          ],
-        };
+              data: convertData(seriesData)
+            }
+          ]
+        }
         // 重新选择区域
-        this.handleMapRandomSelect();
+        this.handleMapRandomSelect()
       },
       immediate: true,
-      deep: true,
-    },
+      deep: true
+    }
   },
   methods: {
     // 开启定时器
     startInterval() {
-      const _self = this;
+      const _self = this
       // 应通过接口获取配置时间,暂时写死5s
-      const time = 2000;
+      const time = 2000
       if (this.intervalId !== null) {
-        clearInterval(this.intervalId);
+        clearInterval(this.intervalId)
       }
       this.intervalId = setInterval(() => {
-        _self.reSelectMapRandomArea();
-      }, time);
+        _self.reSelectMapRandomArea()
+      }, time)
     },
     // 重新随机选中地图区域
     reSelectMapRandomArea() {
-      const length = 9;
+      const length = 9
       this.$nextTick(() => {
         try {
-          const map = this.$refs.centreLeft2ChartRef.chart;
-          let index = Math.floor(Math.random() * length);
+          const map = this.$refs.centreLeft2ChartRef.chart
+          let index = Math.floor(Math.random() * length)
           while (index === this.preSelectMapIndex || index >= length) {
-            index = Math.floor(Math.random() * length);
+            index = Math.floor(Math.random() * length)
           }
           map.dispatchAction({
             type: 'mapUnSelect',
             seriesIndex: 0,
-            dataIndex: this.preSelectMapIndex,
-          });
+            dataIndex: this.preSelectMapIndex
+          })
           map.dispatchAction({
             type: 'showTip',
             seriesIndex: 0,
-            dataIndex: index,
-          });
+            dataIndex: index
+          })
           map.dispatchAction({
             type: 'mapSelect',
             seriesIndex: 0,
-            dataIndex: index,
-          });
-          this.preSelectMapIndex = index;
+            dataIndex: index
+          })
+          this.preSelectMapIndex = index
         } catch (error) {
           console.log(error)
         }
-      });
+      })
     },
     handleMapRandomSelect() {
       this.$nextTick(() => {
         try {
-          const map = this.$refs.centreLeft2ChartRef.chart;
-          const _self = this;
+          const map = this.$refs.centreLeft2ChartRef.chart
+          const _self = this
           setTimeout(() => {
-            _self.reSelectMapRandomArea();
-          }, 0);
+            _self.reSelectMapRandomArea()
+          }, 0)
           // 移入区域,清除定时器、取消之前选中并选中当前
-          map.on('mouseover', function (params) {
-            clearInterval(_self.intervalId);
+          map.on('mouseover', function(params) {
+            clearInterval(_self.intervalId)
             map.dispatchAction({
               type: 'mapUnSelect',
               seriesIndex: 0,
-              dataIndex: _self.preSelectMapIndex,
-            });
+              dataIndex: _self.preSelectMapIndex
+            })
             map.dispatchAction({
               type: 'mapSelect',
               seriesIndex: 0,
-              dataIndex: params.dataIndex,
-            });
-            _self.preSelectMapIndex = params.dataIndex;
-          });
+              dataIndex: params.dataIndex
+            })
+            _self.preSelectMapIndex = params.dataIndex
+          })
           // 移出区域重新随机选中地图区域,并开启定时器
-          map.on('globalout', function () {
-            _self.reSelectMapRandomArea();
-            _self.startInterval();
-          });
-          this.startInterval();
+          map.on('globalout', function() {
+            _self.reSelectMapRandomArea()
+            _self.startInterval()
+          })
+          this.startInterval()
         } catch (error) {
           console.log(error)
         }
-      });
-    },
-  },
-};
+      })
+    }
+  }
+}
 </script>

+ 1 - 1
src/views/goodStore/goodsCost/components/addEdit.vue

@@ -328,7 +328,7 @@ export default {
                 message: htmlList
               })
             } else {
-              this.$message.warning(res.message)
+              this.$message.warning(message)
             }
           }
         } else {

+ 2 - 2
src/views/youzan/othTransferOrderLog/detail.vue

@@ -39,6 +39,7 @@
                 </template>
               </show-data-table>
             </el-collapse-item>
+
             <el-collapse-item title="商品信息" name="1">
               <div v-if="detail && detail.skuCode">
                 <good_detail
@@ -188,8 +189,7 @@ export default {
     },
     ppowers() {
       const tran =
-        this.$store.getters.roleProcess.find((i) => String(i.process_type) === "YZQRD") ||
-        {};
+        this.$store.getters.roleProcess.find((i) => String(i.process_type) === "YZQRD") || {};
       const { action } = tran ?? {};
       return action ?? [];
     },

+ 323 - 323
src/views/youzan/othTransferOrderLog/good_columns.js

@@ -1,69 +1,69 @@
-//是否定制
+// 是否定制
 const options1 = [
-  { id: "0", name: "否" },
-  { id: "1", name: "是" },
-];
-//专属类型
+  { id: '0', name: '否' },
+  { id: '1', name: '是' }
+]
+// 专属类型
 const options2 = [
-  { id: "0", name: "非泰康" },
-  { id: "1", name: "泰康" },
-];
-//销售权限
+  { id: '0', name: '非泰康' },
+  { id: '1', name: '泰康' }
+]
+// 销售权限
 const options3 = [
-  { id: "0", name: "无销售权限" },
-  { id: "1", name: "有销售权限" },
-];
+  { id: '0', name: '无销售权限' },
+  { id: '1', name: '有销售权限' }
+]
 
-//是否库存品
+// 是否库存品
 const options4 = [
-  { id: "0", name: "非库存品" },
-  { id: "1", name: "库存品" },
-];
-//是否启用实时金价
+  { id: '0', name: '非库存品' },
+  { id: '1', name: '库存品' }
+]
+// 是否启用实时金价
 const options5 = [
-  { id: "0", name: "否" },
-  { id: "1", name: "是" },
-];
-//供货区域
+  { id: '0', name: '否' },
+  { id: '1', name: '是' }
+]
+// 供货区域
 const options6 = [
-  { id: "1", name: "全国" },
-  { id: "2", name: "全国除偏远" },
-];
-//是否启用阶梯
+  { id: '1', name: '全国' },
+  { id: '2', name: '全国除偏远' }
+]
+// 是否启用阶梯
 const options7 = [
-  { id: "0", name: "否" },
-  { id: "1", name: "是" },
-];
+  { id: '0', name: '否' },
+  { id: '1', name: '是' }
+]
 const options8 = [
-  { id: "0", name: "待产品审核" },
-  { id: "1", name: "待执行上线" },
-  { id: "2", name: "审核驳回" },
-  { id: "6", name: "上线成功" },
-  { id: "7", name: "上线失败" },
-  { id: "8", name: "已下线" },
-];
+  { id: '0', name: '待产品审核' },
+  { id: '1', name: '待执行上线' },
+  { id: '2', name: '审核驳回' },
+  { id: '6', name: '上线成功' },
+  { id: '7', name: '上线失败' },
+  { id: '8', name: '已下线' }
+]
 const listCol = [
   {
-    prop: "skuCode",
-    label: "上线商品编号",
-    fixed: "left",
-    width: "160px",
+    prop: 'skuCode',
+    label: '上线商品编号',
+    fixed: 'left',
+    width: '160px'
   },
   {
-    prop: "spuCode",
-    label: "成本商品编号",
-    width: "160px",
+    prop: 'spuCode',
+    label: '成本商品编号',
+    width: '160px'
   },
   {
-    prop: "good_thumb_img",
-    label: "图片",
-    _slot_: "good_thumb_img",
-    width: "45px",
+    prop: 'good_thumb_img',
+    label: '图片',
+    _slot_: 'good_thumb_img',
+    width: '45px'
   },
   {
-    prop: "good_name",
-    label: "名称",
-    "min-width": "160px",
+    prop: 'good_name',
+    label: '名称',
+    'min-width': '160px'
   },
   // {
   //   prop: "platform_code_en",
@@ -71,398 +71,398 @@ const listCol = [
   //   width: "170px",
   // },
   {
-    prop: "platform_name",
-    label: "平台名称",
-    width: "100px",
+    prop: 'platform_name',
+    label: '平台名称',
+    width: '100px'
   },
 
   {
-    prop: "status",
-    label: "状态",
-    _slot_: "status",
-    width: "118px",
+    prop: 'status',
+    label: '状态',
+    _slot_: 'status',
+    width: '118px'
   },
   {
-    prop: "cat_name",
-    label: "分类",
-    width: "118px",
+    prop: 'cat_name',
+    label: '分类',
+    width: '118px'
   },
   {
-    prop: "good_type",
-    label: "是否定制",
-    _slot_: "good_type",
-    width: "70px",
+    prop: 'good_type',
+    label: '是否定制',
+    _slot_: 'good_type',
+    width: '70px'
   },
   {
-    prop: "brand_name",
-    label: "品牌",
+    prop: 'brand_name',
+    label: '品牌'
   },
   {
-    prop: "companyNo",
-    label: "业务公司编号",
-    width: "160px",
+    prop: 'companyNo',
+    label: '业务公司编号',
+    width: '160px'
   },
   {
-    prop: "company",
-    label: "业务公司名称",
-    width: "150px",
+    prop: 'company',
+    label: '业务公司名称',
+    width: '150px'
   },
   {
-    prop: "plat_code",
-    label: "平台商品编号",
-    width: "150px",
+    prop: 'plat_code',
+    label: '平台商品编号',
+    width: '150px'
   },
   {
-    prop: "purchase",
-    label: "供应商负责人",
-    width: "95",
+    prop: 'purchase',
+    label: '供应商负责人',
+    width: '95'
   },
   {
-    prop: "company_name",
-    label: "创建人部门",
-    minWidth: "150px",
+    prop: 'company_name',
+    label: '创建人部门',
+    minWidth: '150px'
   },
   {
-    prop: "creater",
-    label: "创建人",
-    width: "70px",
+    prop: 'creater',
+    label: '创建人',
+    width: '70px'
   },
   {
-    prop: "addtime",
-    label: "创建时间",
-    width: "140px",
+    prop: 'addtime',
+    label: '创建时间',
+    width: '140px'
   },
   {
-    prop: "",
-    label: "操作",
-    fixed: "right",
+    prop: '',
+    label: '操作',
+    fixed: 'right',
     _noset_: true,
-    width: "110px",
-    _slot_: "operation",
-  },
-];
+    width: '110px',
+    _slot_: 'operation'
+  }
+]
 const rules = {
   platform: [
     {
       required: true,
-      message: "请选择所属平台",
-      trigger: "change",
-    },
+      message: '请选择所属平台',
+      trigger: 'change'
+    }
   ],
   online_reason: [
     {
       required: true,
-      message: "上线原因不能为空",
-      trigger: "blur",
-    },
+      message: '上线原因不能为空',
+      trigger: 'blur'
+    }
   ],
   online_remark: [
     {
       required: true,
-      message: "上线备注不能为空",
-      trigger: "blur",
-    },
-  ],
-};
+      message: '上线备注不能为空',
+      trigger: 'blur'
+    }
+  ]
+}
 const public_listCol = [
   {
-    prop: "good_name",
-    label: "商品名称",
-    _slot_: "good_name",
-    span: 24,
+    prop: 'good_name',
+    label: '商品名称',
+    _slot_: 'good_name',
+    span: 24
   },
   {
-    prop: "company",
-    label: "业务企业名称",
-    _slot_: "company",
+    prop: 'company',
+    label: '业务企业名称',
+    _slot_: 'company'
   },
   {
-    prop: "good_info_img",
-    _slot_: "good_info_img",
-    label: "详情图",
+    prop: 'good_info_img',
+    _slot_: 'good_info_img',
+    label: '详情图'
   },
   {
-    prop: "cat",
-    label: "分类",
-    span: 8,
+    prop: 'cat',
+    label: '分类',
+    span: 8
   },
 
   {
-    prop: "creater",
-    label: "申请人",
-    span: 4,
+    prop: 'creater',
+    label: '申请人',
+    span: 4
   },
   {
-    prop: "platform_name",
-    label: "上线平台",
-    span: 6,
+    prop: 'platform_name',
+    label: '上线平台',
+    span: 6
   },
   {
-    prop: "online_time",
-    label: "上线时间",
-    span: 6,
+    prop: 'online_time',
+    label: '上线时间',
+    span: 6
   },
   {
-    prop: "online_reason",
-    label: "上线原因",
+    prop: 'online_reason',
+    label: '上线原因'
   },
 
   {
-    prop: "online_remark",
-    label: "上线备注",
-    span: 12,
+    prop: 'online_remark',
+    label: '上线备注',
+    span: 12
   },
   {
-    prop: "brand_name",
-    label: "品牌",
-    span: 6,
+    prop: 'brand_name',
+    label: '品牌',
+    span: 6
   },
 
   {
-    prop: "exclusive",
-    label: "专属类型",
-    _slot_: "exclusive",
-    span: 6,
+    prop: 'exclusive',
+    label: '专属类型',
+    _slot_: 'exclusive',
+    span: 6
   },
   {
-    prop: "weight",
-    label: "商品总克重",
-    append: "g",
-    span: 6,
+    prop: 'weight',
+    label: '商品总克重',
+    append: 'g',
+    span: 6
   },
 
   {
-    prop: "packing_list",
-    label: "包装清单",
-    span: 6,
+    prop: 'packing_list',
+    label: '包装清单',
+    span: 6
   },
   {
-    prop: "packing_way",
-    label: "包装方式",
-    span: 6,
+    prop: 'packing_way',
+    label: '包装方式',
+    span: 6
   },
   {
-    prop: "packing_spec",
-    label: "装箱规格",
-    span: 6,
+    prop: 'packing_spec',
+    label: '装箱规格',
+    span: 6
   },
   {
-    prop: "packing_weight",
-    label: "装箱重量",
-    append: "g",
-    span: 6,
+    prop: 'packing_weight',
+    label: '装箱重量',
+    append: 'g',
+    span: 6
   },
   {
-    prop: "packing_size",
-    label: "装箱尺寸",
-    span: 6,
+    prop: 'packing_size',
+    label: '装箱尺寸',
+    span: 6
   },
   {
-    prop: "origin_place_cn",
-    label: "产地",
-    span: 8,
+    prop: 'origin_place_cn',
+    label: '产地',
+    span: 8
   },
   {
-    prop: "unit",
-    label: "单位",
-    span: 4,
+    prop: 'unit',
+    label: '单位',
+    span: 4
   },
   {
-    prop: "good_bar",
-    label: "商品条形码",
-    span: 6,
+    prop: 'good_bar',
+    label: '商品条形码',
+    span: 6
   },
   {
-    prop: "supply_area",
-    label: "供货区域",
-    _slot_: "supply_area",
-    span: 6,
+    prop: 'supply_area',
+    label: '供货区域',
+    _slot_: 'supply_area',
+    span: 6
   },
   {
-    prop: "delivery_place_cn",
-    label: "发货地",
-    span: 8,
+    prop: 'delivery_place_cn',
+    label: '发货地',
+    span: 8
   },
   {
-    prop: "is_stock",
-    label: "是否库存品",
-    _slot_: "is_stock",
-    span: 4,
+    prop: 'is_stock',
+    label: '是否库存品',
+    _slot_: 'is_stock',
+    span: 4
   },
   {
-    prop: "exam_status",
-    label: "状态",
-    _slot_: "exam_status",
-    span: 6,
+    prop: 'exam_status',
+    label: '状态',
+    _slot_: 'exam_status',
+    span: 6
   },
   {
-    prop: "good_type",
-    label: "是否定制",
-    _slot_: "good_type",
-    span: 6,
+    prop: 'good_type',
+    label: '是否定制',
+    _slot_: 'good_type',
+    span: 6
   },
 
   {
-    prop: "addtime",
-    label: "创建时间",
-    span: 8,
+    prop: 'addtime',
+    label: '创建时间',
+    span: 8
   },
   {
-    prop: "tax",
-    label: "税点",
-    append: "%",
-    span: 4,
+    prop: 'tax',
+    label: '税点',
+    append: '%',
+    span: 4
   },
 
   {
-    prop: "delivery_day",
-    label: "物流时间",
-    append: "天",
-    span: 4,
+    prop: 'delivery_day',
+    label: '物流时间',
+    append: '天',
+    span: 4
   },
   {
-    prop: "lead_time",
-    label: "供货周期",
-    append: "天",
-    span: 4,
+    prop: 'lead_time',
+    label: '供货周期',
+    append: '天',
+    span: 4
   },
   {
-    prop: "sample_day",
-    label: "调样周期",
-    append: "天",
-    span: 4,
+    prop: 'sample_day',
+    label: '调样周期',
+    append: '天',
+    span: 4
   },
 
   {
-    prop: "noble",
-    label: "贵金属信息",
-    _slot_: "noble",
-    span: 24,
+    prop: 'noble',
+    label: '贵金属信息',
+    _slot_: 'noble',
+    span: 24
   },
   {
-    prop: "good_remark",
-    label: "商品备注",
-    span: 24,
+    prop: 'good_remark',
+    label: '商品备注',
+    span: 24
   },
 
   {
-    prop: "after_sales",
-    label: "售后说明",
-    span: 24,
+    prop: 'after_sales',
+    label: '售后说明',
+    span: 24
   },
   {
-    prop: "craft_desc",
-    label: "工艺说明",
-    span: 24,
-  },
-];
+    prop: 'craft_desc',
+    label: '工艺说明',
+    span: 24
+  }
+]
 const sale_listCol = [
   {
-    prop: "yz_cat_info",
-    label: "有赞公有分类",
-    _slot_: "yz_cat_info",
-    span: 6,
+    prop: 'yz_cat_info',
+    label: '有赞公有分类',
+    _slot_: 'yz_cat_info',
+    span: 6
   },
   {
-    prop: "is_support_barter",
-    label: "是否支持退货",
-    _slot_: "is_support_barter",
-    span: 6,
+    prop: 'is_support_barter',
+    label: '是否支持退货',
+    _slot_: 'is_support_barter',
+    span: 6
   },
   {
-    prop: "reject_reason",
-    label: "驳回原因",
-    span: 12,
+    prop: 'reject_reason',
+    label: '驳回原因',
+    span: 12
   },
   {
-    prop: "nakelist",
-    label: "销售起订量",
-    _slot_: "nakelist",
-    span: 24,
-  },
-];
+    prop: 'nakelist',
+    label: '销售起订量',
+    _slot_: 'nakelist',
+    span: 24
+  }
+]
 const is_support_barter_list = [
   {
-    value: "1",
-    label: "支持",
+    value: '1',
+    label: '支持'
   },
   {
-    value: "0",
-    label: "不支持",
-  },
-];
+    value: '0',
+    label: '不支持'
+  }
+]
 const item_type_options = [
   {
-    value: "0",
-    label: "普通商品",
-    status: "1",
+    value: '0',
+    label: '普通商品',
+    status: '1'
   },
   {
-    value: "3",
-    label: "UMP降价拍",
-    status: "0",
+    value: '3',
+    label: 'UMP降价拍',
+    status: '0'
   },
   {
-    value: "5",
-    label: "外卖商品",
-    status: "0",
+    value: '5',
+    label: '外卖商品',
+    status: '0'
   },
   {
-    value: "10",
-    label: "分销商品",
-    status: "0",
+    value: '10',
+    label: '分销商品',
+    status: '0'
   },
   {
-    value: "20",
-    label: "会员卡商品",
-    status: "0",
+    value: '20',
+    label: '会员卡商品',
+    status: '0'
   },
   {
-    value: "21",
-    label: "礼品卡商品",
-    status: "0",
+    value: '21',
+    label: '礼品卡商品',
+    status: '0'
   },
   {
-    value: "22",
-    label: "团购券",
-    status: "0",
+    value: '22',
+    label: '团购券',
+    status: '0'
   },
   {
-    value: "25",
-    label: "批发商品",
-    status: "0",
+    value: '25',
+    label: '批发商品',
+    status: '0'
   },
   {
-    value: "30",
-    label: "收银台商品",
-    status: "0",
+    value: '30',
+    label: '收银台商品',
+    status: '0'
   },
   {
-    value: "31",
-    label: "知识付费商品",
-    status: "0",
+    value: '31',
+    label: '知识付费商品',
+    status: '0'
   },
   {
-    value: "35",
-    label: "酒店商品",
-    status: "0",
+    value: '35',
+    label: '酒店商品',
+    status: '0'
   },
   {
-    value: "40",
-    label: "美业商品",
-    status: "0",
+    value: '40',
+    label: '美业商品',
+    status: '0'
   },
   {
-    value: "60",
-    label: "虚拟商品",
-    status: "0",
+    value: '60',
+    label: '虚拟商品',
+    status: '0'
   },
   {
-    value: "61",
-    label: "电子卡券",
-    status: "0",
-  },
-];
+    value: '61',
+    label: '电子卡券',
+    status: '0'
+  }
+]
 const purchase_listCol = [
   // {
   //   prop: "spuCode",
@@ -475,59 +475,59 @@ const purchase_listCol = [
   //   span: 7,
   // },
   {
-    prop: "supplierName",
-    label: "供应商名称",
-    _slot_: "supplierName",
-    span: 12,
+    prop: 'supplierName',
+    label: '供应商名称',
+    _slot_: 'supplierName',
+    span: 12
   },
   {
-    prop: "cgd_gold_price",
-    label: "供应商采购金价",
-    append: "元/g",
-    span: 6,
+    prop: 'cgd_gold_price',
+    label: '供应商采购金价',
+    append: '元/g',
+    span: 6
   },
 
   {
-    prop: "is_auth",
-    label: "供应商权限",
-    _slot_: "is_auth",
-    span: 6,
+    prop: 'is_auth',
+    label: '供应商权限',
+    _slot_: 'is_auth',
+    span: 6
   },
   {
-    prop: "is_step",
-    label: "启用成本阶梯",
-    _slot_: "is_step",
-    span: 4,
+    prop: 'is_step',
+    label: '启用成本阶梯',
+    _slot_: 'is_step',
+    span: 4
   },
   {
-    prop: "demo_fee",
-    label: "打样费(元)",
-    span: 5,
+    prop: 'demo_fee',
+    label: '打样费(元)',
+    span: 5
   },
   {
-    prop: "open_fee",
-    label: "开模费(元/件)",
-    span: 5,
+    prop: 'open_fee',
+    label: '开模费(元/件)',
+    span: 5
   },
 
   {
-    prop: "sample_fee",
-    label: "调样费(元)",
-    span: 5,
+    prop: 'sample_fee',
+    label: '调样费(元)',
+    span: 5
   },
   {
-    prop: "market_price",
-    label: "市场价(元)",
-    span: 5,
+    prop: 'market_price',
+    label: '市场价(元)',
+    span: 5
   },
 
   {
-    prop: "nakelist",
-    label: "采购起订量",
-    _slot_: "nakelist",
-    span: 24,
-  },
-];
+    prop: 'nakelist',
+    label: '采购起订量',
+    _slot_: 'nakelist',
+    span: 24
+  }
+]
 export {
   options1,
   options2,
@@ -543,5 +543,5 @@ export {
   sale_listCol,
   is_support_barter_list,
   item_type_options,
-  purchase_listCol,
-};
+  purchase_listCol
+}

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