| | |
| | | // 折扣率输入 |
| | | discountInputHandle(value, index, clean) { |
| | | this.showWeigh[index].cinderWeight = Number(value) |
| | | let x = new BigNumber(clean) |
| | | let y = new BigNumber(value) |
| | | this.showWeigh[index].weight = x.minus(y).toFixed(2) |
| | | if (clean) { |
| | | let x = new BigNumber(clean) |
| | | let y = new BigNumber(value) |
| | | this.showWeigh[index].weight = x.minus(y).toFixed(2) |
| | | } |
| | | }, |
| | | // 选择不合格品名 |
| | | selectunqualifiedBreed(index) { |
| | |
| | | index: '' |
| | | }; |
| | | }, |
| | | onShow() { |
| | | onLoad() { |
| | | this.messageReq(); |
| | | }, |
| | | onHide() { |
| | |
| | | uni.hideLoading(); |
| | | this.total = res.data.total; |
| | | this.messageList = []; |
| | | this.pageNum = 1 |
| | | this.messageList = res.data.records; |
| | | this.pageNum = 1; |
| | | this.messageReq() |
| | | }); |
| | | }, 800); |
| | | } else { |