فهرست منبع

采购询价单-’销售询价单附件‘字段取值调整

jingbb 5 ماه پیش
والد
کامیت
2e2fb9c5ea

+ 2 - 2
src/views/purchase/purchaseInquiryForm/PurchaseInquiryForm.data.ts

@@ -77,9 +77,9 @@ export const columns: BasicColumn[] = [
    {
       title: '销售询价单附件(sales inquiry form attachs)',
       align:"center",
-      dataIndex: 'attachs',
+      dataIndex: 'saleAttachs',
       width:'250',
-      slots: { customRender: 'attachs' },
+      slots: { customRender: 'saleAttachs' },
     },
    {
       title: '提交(submit)',

+ 3 - 1
src/views/purchase/purchaseInquiryForm/components/PurchaseInquiryFormForm.vue

@@ -236,7 +236,8 @@
         sourceCode:'',
         projectName:'',
         placeDelivery:'',
-        suppilerName:''
+        suppilerName:'',
+        saleAttachs:''
       });
 
       //表单验证
@@ -409,6 +410,7 @@
         formData.maker = data[0].maker
         formData.inquiryTeam =  data[0].inquiryTeam
         formData.productionClass =  data[0].productionClass_dictText
+        formData.saleAttachs =data[0].attachs
         getShipList(data[0].headId)
       }
       function getShipList(id){

+ 2 - 2
src/views/purchase/purchaseInquiryForm/purchaseInquiryFormList.vue

@@ -104,8 +104,8 @@
         </a-dropdown>
       </template>
        <!--附件-->
-       <template #attachs="{ record }">
-          <a :href="baseUrl+record.attachs">{{record.attachs}}</a>
+       <template #saleAttachs="{ record }">
+          <a :href="baseUrl+record.saleAttachs">{{record.saleAttachs}}</a>
        </template>
        <!--操作栏-->
       <template #action="{ record }">