Explorar o código

模板计算sjs配置调整

MaiXinRong hai 1 día
pai
achega
e1a87689ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/calc_tmpl.js

+ 1 - 1
app/service/calc_tmpl.js

@@ -100,7 +100,7 @@ const Cost = (function(){
         { key: 'sf_percent', name: '实付比例', fields: ['sf_percent'], valid: ['title', 'width', 'calc_code'], def: { title: '实付比例', width: 80, type: 'sf_percent', decimal: 2} },
     ];
     ValidColInfo.forEach(vci => { return vci.count = vci.fields.length; });
-    return { EmptySpreadCache, BaseSpreadColSetting, ValidColInfo, ValidCount: 10, subSpreadReadOnly: ['code', 'name', 'party_b', 'settle_tp', 'in_excl_tax_tp'] };
+    return { EmptySpreadCache, BaseSpreadColSetting, ValidColInfo, ValidCount: 10, subSpreadReadOnly: ['code', 'name', 'party_b', 'yf_excl_tax_tp', 'sf_excl_tax_tp', 'in_excl_tax_tp'] };
 })();
 function randomWord(randomFlag, min, max){
     let str = "",