急:请教各位大神一个棘手的问题
- 当前 Bug 的表现 [图片] - 预期表现 [图片] - 附代码 <!--pages/audit/audit.wxml--> <view class="container"> <view wx:for="{{tableData1}}" wx:for-item="item" wx:key="id" class="block-section"> <view class="section-title"> <view class="section-title-left">{{item.contractNum}}</view> <view class="alarm-attr">{{item.contractName}}</view> </view> <view class="section-body"> <view class="alarm-attr">规定到货时间: {{item.requiredTime !== null ? item.requiredTime : ' '}}</view> <view class="alarm-attr">实际到货时间: {{item.trueTime !== null ? item.trueTime : ' '}}</view> <view class="alarm-attr">供应商: {{item.supplier !== null ? item.supplier : ' '}}</view> <view class="alarm-attr">付款方式: {{item.payType !== null ? item.payType : ' '}}</view> <view class="alarm-attr">采购员: {{item.buyer !== null ? item.buyer : ' '}}</view> <view class="alarm-attr">总金额: {{item.sum !== null ? item.sum : ' '}}</view> <view class="alarm-attr">欠款金额: {{item.arrears !== null ? item.arrears : ' '}}</view> <view class="alarm-attr">已付金额: {{item.paid !== null ? item.paid : ' '}}</view> <view class="alarm-attr">请款金额: {{item.requestMoney !== null ? item.requestMoney : ' '}}</view> <view class="alarm-attr" style="width:100%"> <button class="submit1" plain="true" type="primary" size="primary" bindtap="yesPass" data-id="{{item.paymentNum}}"> <icon type="success" size="14" /> 通过</button> <button class="submit2" plain="true" type="warn" size="primary" bindtap="noPass" data-id="{{item.paymentNum}}"> <icon type="clear" size="14" color="red" /> 不通过</button> </view> </view> </view> </view> <modal title="{{dialogTitle}}" confirm-text="确认" cancel-text="取消" hidden="{{modalHidden}}" bindconfirm="confirm" bindcancel="cancel"> <input type="text" class="reason" hidden="{{inputHidden}}" placeholder="未通过原因" placeholder-class="reason-placeholder" bindinput="paymentProblems" /> </modal>