Browse Source

Merge branch 'sit'

xiaodai2022 2 years ago
parent
commit
7e98332e71

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


+ 0 - 0
dist/static/css/chunk-f478b414.cb931a24.css → dist/static/css/chunk-081534b4.cb931a24.css


+ 0 - 0
dist/static/css/chunk-f478b414.cb931a24.css.gz → dist/static/css/chunk-081534b4.cb931a24.css.gz


BIN
dist/static/js/app.464c8c2a.js.gz


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


BIN
dist/static/js/app.ce2e36b7.js.gz


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-081534b4.2fa350ac.js


BIN
dist/static/js/chunk-081534b4.2fa350ac.js.gz


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


BIN
dist/static/js/chunk-f478b414.5d71fe79.js.gz


+ 138 - 138
src/views/sellOut/sellOutOrder/columns.js

@@ -2,23 +2,23 @@ const columns = [
   {
     type: "selection",
     fixed: "left",
-    _noset_: true
+    _noset_: true,
   },
   {
     prop: "outCode",
     label: "发货申请单编号",
-    width: "156"
+    width: "156",
   },
 
   {
     prop: "orderCode",
     label: "订单编号",
-    width: "156"
+    width: "156",
   },
   {
     prop: "cgdNo",
     label: "采购单编号",
-    width: "156"
+    width: "156",
   },
   {
     prop: "company_name",
@@ -50,17 +50,17 @@ const columns = [
   {
     prop: "good_class",
     label: "商品分类",
-    width: "150"
+    width: "150",
   },
   {
     prop: "good_code",
     label: "商品编码",
-    width: "140"
+    width: "140",
   },
   {
     prop: "good_name",
     label: "商品名称",
-    width: "150"
+    width: "150",
   },
   // {
   //   prop: "supplierNo",
@@ -68,7 +68,6 @@ const columns = [
   //   width: "160"
   // },
 
-
   // {
   //   prop: "customer_code",
   //   label: "客户编码",
@@ -79,15 +78,22 @@ const columns = [
   //   label: "客户名称",
   //   width: "200"
   // },
+
+  {
+    prop: "order_type",
+    label: "商品来源",
+    _slot_: "order_type",
+    width: "70",
+  },
   {
     prop: "contactor",
     label: "联系人",
-    width: "70"
+    width: "70",
   },
   {
     prop: "mobile",
     label: "联系电话",
-    width: "100"
+    width: "100",
   },
   {
     prop: "post_name",
@@ -104,7 +110,7 @@ const columns = [
   {
     prop: "sendtime",
     label: "发货时间",
-    width: "140"
+    width: "140",
   },
   {
     prop: "send_num",
@@ -123,241 +129,235 @@ const columns = [
     _slot_: "operation",
     width: 80,
   },
-]
+];
 
 const showColumns = [
   {
     prop: "outCode",
     label: "发货申请单号",
-    span: 6
+    span: 6,
   },
   {
     prop: "status",
     label: "发货申请单状态",
     _slot_: "status",
-    span: 6
+    span: 6,
   },
   {
     prop: "orderCode",
     label: "订单编号",
-    span: 6
+    span: 6,
   },
   {
     prop: "order_type",
     label: "商品来源",
     _slot_: "order_type",
-    span: 6
+    span: 6,
   },
 
-
   {
     prop: "apply_name",
     label: "申请人",
-    span: 6
+    span: 6,
   },
 
-
   {
     prop: "sendtime",
     label: "发货时间",
-    span: 6
+    span: 6,
   },
 
   {
     prop: "send_num",
     label: "发货数量",
-    span: 6
+    span: 6,
   },
   {
     prop: "check_num",
     label: "验收数量",
-    span: 6
+    span: 6,
   },
 
   {
     prop: "error_num",
     label: "异常数量",
-    span: 6
+    span: 6,
   },
   {
     prop: "sale_price",
     label: "商品单价",
     _slot_: "sale_price",
-    span: 6
+    span: 6,
   },
   {
     prop: "total_price",
     label: "总价",
     _slot_: "total_price",
-    span: 6
+    span: 6,
   },
 
   {
     prop: "addtime",
     label: "创建时间",
-    span: 6
+    span: 6,
   },
   {
     prop: "post_name",
     label: "快递公司",
-    span: 6
+    span: 6,
   },
 
   {
     prop: "post_fee",
     label: "物流费用",
-    span: 6
+    span: 6,
   },
   {
     prop: "contactor",
     label: "收货联系人",
-    span: 6
+    span: 6,
   },
   {
     prop: "mobile",
     label: "收货联系人电话",
-    span: 6
+    span: 6,
   },
   {
     prop: "post_code",
     label: "物流编号",
-    span: 12
+    span: 12,
   },
   {
     prop: "addr",
     label: "收货地址",
-    span: 12
+    span: 12,
   },
 
   {
     prop: "remark",
     label: "发货申请备注",
-    span: 24
+    span: 24,
+  },
+];
+const rshowColumns = [
+  {
+    prop: "returnCode",
+    label: "售后申请单号",
+    span: 6,
+  },
+  {
+    prop: "addtime",
+    label: "创建时间",
+    span: 6,
   },
 
+  {
+    prop: "apply_name",
+    label: "申请人",
+    span: 6,
+  },
 
-]
-const rshowColumns = [{
-  prop: "returnCode",
-  label: "售后申请单号",
-  span: 6
-},
-{
-  prop: "addtime",
-  label: "创建时间",
-  span: 6
-},
-
-
-{
-  prop: "apply_name",
-  label: "申请人",
-  span: 6
-},
-
-{
-  prop: "post_name",
-  label: "快递公司",
-  span: 6
-},
-{
-  prop: "post_code",
-  label: "物流编号",
-  span: 6
-},
-{
-  prop: "post_fee",
-  label: "物流费用",
-  span: 6
-},
-{
-  prop: "sendtime",
-  label: "发货时间",
-  span: 6
-},
-
-{
-  prop: "send_num",
-  label: "发货数量",
-  span: 6
-},
-{
-  prop: "check_num",
-  label: "验收数量",
-  span: 6
-},
-
-{
-  prop: "error_num",
-  label: "异常数量",
-  span: 6
-},
-{
-  prop: "sale_price",
-  label: "商品单价",
-  span: 6
-},
-{
-  prop: "total_price",
-  label: "发货申请单总价",
-  span: 6
-},
-{
-  prop: "addtime",
-  label: "发货方式",
-  span: 6
-},
+  {
+    prop: "post_name",
+    label: "快递公司",
+    span: 6,
+  },
+  {
+    prop: "post_code",
+    label: "物流编号",
+    span: 6,
+  },
+  {
+    prop: "post_fee",
+    label: "物流费用",
+    span: 6,
+  },
+  {
+    prop: "sendtime",
+    label: "发货时间",
+    span: 6,
+  },
 
+  {
+    prop: "send_num",
+    label: "发货数量",
+    span: 6,
+  },
+  {
+    prop: "check_num",
+    label: "验收数量",
+    span: 6,
+  },
 
-{
-  prop: "mobile",
-  label: "收货联系人电话",
-  span: 6
-},
+  {
+    prop: "error_num",
+    label: "异常数量",
+    span: 6,
+  },
+  {
+    prop: "sale_price",
+    label: "商品单价",
+    span: 6,
+  },
+  {
+    prop: "total_price",
+    label: "发货申请单总价",
+    span: 6,
+  },
+  {
+    prop: "addtime",
+    label: "发货方式",
+    span: 6,
+  },
 
-// {
-//   prop: "收货仓库信息",
-//   label: "收货地址",
-//   span: 24
-// },
-{
-  prop: "error_remark",
-  label: "备注",
-  span: 24
-},
+  {
+    prop: "mobile",
+    label: "收货联系人电话",
+    span: 6,
+  },
 
-]
-const sendOutOrderColumns=[
+  // {
+  //   prop: "收货仓库信息",
+  //   label: "收货地址",
+  //   span: 24
+  // },
   {
-    type:'index',
+    prop: "error_remark",
+    label: "备注",
+    span: 24,
+  },
+];
+const sendOutOrderColumns = [
+  {
+    type: "index",
     label: "序号",
-    width: "70px"
+    width: "70px",
   },
   {
     prop: "value25",
     label: "发货申请单号",
-    width: "156px"
+    width: "156px",
   },
 
   {
     prop: "value5",
     label: "订单编号",
-    width: "156px"
+    width: "156px",
   },
   {
     prop: "value8",
     label: "产品名称",
-    'min-width': "180px"
+    "min-width": "180px",
   },
   {
     prop: "value9",
     label: "规格",
-    'min-width': "180px"
+    "min-width": "180px",
   },
   {
     prop: "value10",
     label: "单位",
-    width: "45px"
+    width: "45px",
   },
   {
     prop: "value20",
@@ -373,42 +373,42 @@ const sendOutOrderColumns=[
   {
     prop: "value22",
     label: "联系方式",
-    width: "110px"
+    width: "110px",
   },
   {
     prop: "value23",
     label: "收货地址",
-    width: "150px"
+    width: "150px",
   },
   {
     prop: "value26",
     label: "平台订单号",
-    width: "150px"
+    width: "150px",
   },
   {
     prop: "value27",
     label: "发货申请单物流公司",
-    width: "150px"
+    width: "150px",
   },
   {
     prop: "value28",
     label: "发货申请单物流单号",
-    width: "150px"
+    width: "150px",
   },
   {
     prop: "value29",
     label: "发货申请单物流费用",
-    width: "140px"
+    width: "140px",
   },
   {
     prop: "value30",
     label: "发货申请单备注",
-    'min-width': "150px"
+    "min-width": "150px",
   },
-]
+];
 const head = [
   "序号",
-  
+
   "创建时间",
   "采购单编号",
   "采购单状态",
@@ -442,4 +442,4 @@ const head = [
   "申请人",
   "商品分类",
 ];
-export { columns, showColumns, rshowColumns,sendOutOrderColumns,head }
+export { columns, showColumns, rshowColumns, sendOutOrderColumns, head };

+ 14 - 2
src/views/sellOut/sellOutOrder/index.vue

@@ -181,6 +181,17 @@
             "
           ></el-tag>
         </template>
+        <template #order_type="{ scope }">
+          <el-tag
+            :size="tablebtnSize"
+            v-text="
+              (
+                xs_order_type_options.find((item) => item.id == scope.row.order_type) ||
+                {}
+              ).label || '--'
+            "
+          ></el-tag>
+        </template>
 
         <template #operation="{ scope }">
           <el-tooltip
@@ -227,7 +238,7 @@ import asyncRequest from "@/apis/service/sellOut/sellOutOrder";
 import addEdit from "./components/addEdit.vue";
 import { columns } from "./columns";
 import { shareWebUrl } from "@/config";
-
+import { xs_order_type_options } from "@/assets/js/statusList";
 export default {
   name: "sellOutOrder",
   mixins: [mixinPage, resToken],
@@ -306,7 +317,8 @@ export default {
         total: 0,
       },
       // 表格 - 列参数
-      columns: columns,
+      columns,
+      xs_order_type_options,
     };
   },
   mounted() {

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