Parcourir la source

销售订单-基础协议字段改为技术协议

jingbb il y a 2 mois
Parent
commit
a9508ee49d

+ 1 - 1
src/views/saleCode/salesOrder/SaleOrderForm.data.ts

@@ -126,7 +126,7 @@ export const columns: BasicColumn[] = [
     }
    },
    {
-    title: '基础协议(base protocaol)',
+    title: '技术协议(T/A)',
     align:"center",
     dataIndex: 'baseProtocaol',
     width:250,

+ 1 - 1
src/views/saleCode/salesOrder/components/SlaeOrderFormForm.vue

@@ -904,7 +904,7 @@
       async function getLinkOptionsArr(customerId){
         var obj = await LinkOption({id:customerId})
         linkOption.value = obj
-        if(obj.lenght!==0){
+        if(obj.lenght!==0&&typeof obj === 'undefined'){
            formData.liaisonId = obj[0].id
           formData.liaisonInfo = obj[0].name
         }

+ 1 - 1
src/views/saleCode/salesOrder/components/ViewFileListModal.vue

@@ -81,7 +81,7 @@
       }
       function getTable(dataIndex,record){
           visible.value = true
-          title.value = dataIndex=='scanProtocaol'?'扫描合同查看(view scan contract)':'基础协议查看(view basic agreement)'
+          title.value = dataIndex=='scanProtocaol'?'扫描合同查看(view scan contract)':'技术协议查看(view T/A)'
           fatherId.value = record.id
           fatherTitle.value = dataIndex
           params.value.headId=record.id