戴艳蓉 3 år sedan
förälder
incheckning
15f1e6122a

+ 26 - 88
src/views/sellOut/zixunOrder/columns.js

@@ -219,64 +219,28 @@ const rules = {
 
 const listCol = [
   {
-    prop: "returnCode",
-    label: "售后申请单",
+    prop: "zxNo",
+    label: "咨询编号",
     width: "160"
   },
   {
-    prop: "apply_name",
+    prop: "creater",
     label: "申请人",
     width: "60"
   },
-  {
-    prop: "orderCode",
-    label: "确认单编号",
-    width: "150"
-  },
-  {
-    prop: "outCode",
-    label: "销售出库单编号",
-    "min-width": "150"
-  },
-  {
-    prop: "total_num",
-    label: "出库单商品数量",
-    "min-width": "105"
-  },
-  {
-    prop: "good_code",
-    label: "商品编码",
-    "min-width": "125"
-  },
   {
     prop: "good_name",
     label: "商品名称",
-    "min-width": "150"
+    "width": "100"
   },
-  // {
-  //   prop: "error_num",
-  //   label: "异常数量",
-  // },
-  // {
-  //     prop:"error_msg",
-  //     label:"异常原因",
-  // },
-  // {
-  //   prop:"error_img",
-  //   label:"异常图片",
-  // },
-  // {
-  //     prop:"error_remark",
-  //     label:"备注"
-  // },
-  {
-    prop: "except_code",
-    label: "期望意愿",
-    _slot_: "except_code",
-    width: 100,
 
-  },
 
+  {
+    prop: "good_img",
+    label: "图片",
+    _slot_: "good_img",
+    "width": "50"
+  },
   {
     prop: "status",
     label: "状态",
@@ -284,53 +248,27 @@ const listCol = [
     width: "120px",
   },
 
-
-  // {
-  //   prop:"good_name",
-  //   label:"商品名称",
-  // },
-  // {
-  //   prop: "return_wsm",
-  //   label: "退回仓库编码",
-  //   width: "120"
-  // },
-  // {
-  //   prop:"contactor",
-  //   label:"联系人",
-  // },
-  // {
-  //   prop:"mobile",
-  //   label:"联系方式",
-  // },
-  // {
-  //   prop:"addr",
-  //   label:"退货地址",
-  // },
-  // {
-  //   prop:"post_company",
-  //   label:"快递名称",
-  // },
-  // {
-  //   prop:"post_fee",
-  //   label:"物流费",
-  // },
-  // {
-  //   prop: "post_own",
-  //   label: "费用承担方",
-  //   width: "100",
-  //   _slot_: "post_own",
-
-  // },
   {
-    prop: "customer_code",
-    label: "客户编",
-    width: "123"
+    prop: "khNo",
+    label: "客户编号",
+    "width": "125"
   },
   {
-    prop: "customer_name",
+    prop: "khname",
     label: "客户名称",
-    width: "160"
+    "width": "135"
+  },
+
+  {
+    prop: "except_code",
+    label: "预算单价",
+    _slot_: "except_code",
+    width: 110,
+
   },
+
+
+  
   {
     prop: "addtime",
     label: "添加时间",

+ 28 - 12
src/views/sellOut/zixunOrder/index.vue

@@ -29,9 +29,9 @@
               <el-col :span="4" style="width: 130px">
                 <el-select
                   :size="searchSize"
-                  v-model="parmValue.except_code"
+                  v-model="parmValue.status"
                   clearable
-                  placeholder="期望意愿"
+                  placeholder="状态"
                   @change="
                     pageInfo.curr = 1;
                     parmValue.page = 1;
@@ -166,6 +166,20 @@
             </el-row>
           </div>
         </template>
+        <template #good_img="{ scope }">
+          <div
+            v-if="scope.row.good_img"
+            style="width: 20px; height: 20px"
+            class="hover"
+            v-viewer
+          >
+            <img
+              :src="scope.row.good_img"
+              style="display: inline-block; width: 100%; height: 100%"
+              alt=""
+            />
+          </div>
+        </template>
         <template #status="{ scope }">
           <el-tag
             :size="tablebtnSize"
@@ -195,11 +209,8 @@
             :size="tablebtnSize"
             :type="scope.row.status == '0' ? 'warning' : ''"
             v-text="
-              (
-                except_codeOptions.find(
-                  (item) => item.id == scope.row.except_code
-                ) || {}
-              ).label || '--'
+              (options.find((item) => item.id == scope.row.except_code) || {})
+                .label || '--'
             "
           ></el-tag>
         </template>
@@ -230,7 +241,7 @@ import mixinPage from "@/mixins/elPaginationHandle";
 import resToken from "@/mixins/resToken";
 import statusList from "@/assets/js/statusList";
 import asyncRequest from "@/apis/service/sellOut/zixunOrder";
-import {listCol} from "./columns";
+import { listCol } from "./columns";
 import { mapGetters } from "vuex";
 
 export default {
@@ -255,10 +266,15 @@ export default {
       select: "1",
       s_input: "",
       customerCode: [], //客户公司code
-      except_codeOptions: [
-        { id: "1", label: "退货" },
-        { id: "2", label: "换货" },
-        { id: "3", label: "改变售价" },
+      options: [
+        { id: "0", label: "待发布竞标" },
+        { id: "1", label: "招标进行中" },
+        { id: "2", label: "招标已结束" },
+        { id: "3", label: "等待议价结果" },
+        { id: "4", label: "待选择商品" },
+        { id: "5", label: "已成功转单" },
+        { id: "6", label: "已取消转单" },
+        { id: "7", label: "招标已暂停" },
       ],
       post_ownOptions: [
         { id: "1", label: "客户承担" },

+ 0 - 0
src/views/sellOut/zixunOrder/咨询-售后申请单 → src/views/sellOut/zixunOrder/咨询单管理