- 2023-07-06【滨州学院】办公用纸报销-JS-金额计算
JS:报销单:pcvarA4ShuLiang=mini.get('A4ShuLiang');varA4DanJia=mini.get('A4DanJia');varA3ShuLiang=mini.get('A3ShuLiang');varA3DanJia=mini.get('A3DanJia');A4ShuLiang.on('valuechanged',codeV
- 2023-07-06【滨州学院】空闲资产申请计算差额JS
PC//获取控件'KXSL'、'SQSL'的值varJinE01=mini.get('KXSL');varJinE02=mini.get('SQSL');//一旦值发生改变,触发codeValue函数JinE01.on('valuechanged',codeValue);JinE02.on('valuechanged',codeValue);funct
- 2023-07-06【滨州学院】空闲资产申请-JS
PC://获取控件'SL'的值varJinE01=mini.get('SL');//一旦值发生改变,触发codeValue函数JinE01.on('valuechanged',codeValue);functioncodeValue(){varH1Value=JinE01.getValue()==''?0:JinE01.getValue();//若控件值为空赋值为0,否则取对应的值