Ver código fonte

feat:添加销售主单号

snow 2 anos atrás
pai
commit
a7e982f6f2

+ 7 - 5
src/components/OrderRecordDetail/src/index.vue

@@ -73,10 +73,7 @@ defineExpose({
 </script>
 
 <template>
-  <BasicDescriptions
-    :data="orderRecordDetail"
-    :columns="columns"
-  />
+  <BasicDescriptions :data="orderRecordDetail" :columns="columns" />
   <div flex justify-between w-full my-1>
     <el-tag type="warning">共计:{{ total }}个订单</el-tag>
   </div>
@@ -88,7 +85,12 @@ defineExpose({
     :data="(orderRecordDetail as any).cgdlist || []"
     max-height="400"
   >
-    <el-table-column label="采购单编号" prop="sequenceNo" width="150" />
+    <el-table-column
+      label="采购单编号"
+      prop="sequenceNo"
+      width="150"
+      show-overflow-tooltip
+    />
     <el-table-column label="采购单信息">
       <el-table-column
         label="供货商"

+ 7 - 1
src/components/ReconciliationForm/src/cpns/purchase-table.vue

@@ -67,8 +67,14 @@ function handleAddPurchase() {
       :data="purchaseOrders"
       max-height="400"
     >
-      <ElTableColumn label="采购单编号" prop="sequenceNo" width="150" />
+      <ElTableColumn
+        label="采购单编号"
+        prop="sequenceNo"
+        width="150"
+        show-overflow-tooltip
+      />
       <ElTableColumn label="确认单编号" prop="qrdCode" width="150" />
+      <ElTableColumn label="销售主单号" prop="cxCode" width="150" />
       <ElTableColumn label="采购单信息">
         <ElTableColumn
           label="供货商"

+ 2 - 1
src/views/InvoiceSales/capitalClaim/components/basic-claim/related-order.vue

@@ -55,7 +55,7 @@ function handleDelete(sequenceNo: string) {
 <template>
   <div>
     <div flex justify-between items-center>
-      <h1 my-4>关联订单:</h1>
+      <h1 my-4>添加关联订单:</h1>
       <el-button
         v-if="disabled"
         type="primary"
@@ -71,6 +71,7 @@ function handleDelete(sequenceNo: string) {
         :key="index"
         :label="col.label"
         :prop="col.prop"
+        :width="col.width"
         show-overflow-tooltip
       >
         <template #default="{ row }">

+ 6 - 0
src/views/InvoiceSales/capitalClaim/index.vue

@@ -180,6 +180,12 @@ async function onDownloadOpenInv() {
                 width="160"
                 show-overflow-tooltip
               />
+              <el-table-column
+                label="销售主单号"
+                prop="cxCode"
+                width="160"
+                show-overflow-tooltip
+              />
               <el-table-column
                 label="订单来源"
                 prop="qrdSource"

+ 5 - 1
src/views/InvoiceSales/capitalPool/config/content.config.ts

@@ -37,9 +37,13 @@ const columns = [
   {
     label: "销售单编号",
     prop: "orderCode",
+    width: "155px"
+  },
+  {
+    label: "销售主单号",
+    prop: "cxCode",
     width: "160px"
   },
-
   {
     label: "资金认领状态",
     prop: "status",

+ 5 - 0
src/views/InvoiceSales/capitalPool/config/search.config.ts

@@ -18,6 +18,11 @@ const searchFormConfig: FormConfig = {
       type: "input",
       placeholder: "销售单编号"
     },
+    {
+      field: "cxCode",
+      type: "input",
+      placeholder: "销售主单号"
+    },
     {
       field: "status",
       type: "select",