浏览代码

销售合同-增加汇率来源、汇率币种不可修改

jingbb 5 月之前
父节点
当前提交
a85e212631

+ 2 - 0
src/views/saleCode/saleContract/SaleContract.data.ts

@@ -328,6 +328,7 @@ export const formSchema: FormSchema[] = [
     labelWidth: 200,
     field: 'currency',
     component: 'JDictSelectTag',
+    dynamicDisabled:true,  
     componentProps:{
       dictCode:"currency"
     },
@@ -395,6 +396,7 @@ export const formSchema: FormSchema[] = [
     field: 'exchangeRate',
     labelWidth: 200,
     component: 'Input',
+    dynamicDisabled:true,  
     componentProps:{
       AutoComplete:'off'
     },

+ 1 - 0
src/views/saleCode/saleContract/components/SaleContractModal.vue

@@ -288,6 +288,7 @@
            model:data[0].headModel,
            maker:data[0].maker,
            currency:data[0].currency,
+           exchangeRate:data[0].exchangeRate,
           }) 
           getShipList(data[0].headId)
       }