|
@@ -1080,7 +1080,7 @@ export default {
|
|
|
(String(row.basis).indexOf('.') + 1) >
|
|
|
2) ||
|
|
|
row.basis > 100000 ||
|
|
|
- row.basis < 0
|
|
|
+ row.basis < -100000
|
|
|
) {
|
|
|
this.$message({
|
|
|
message: '基差输入错误',
|
|
@@ -1103,7 +1103,7 @@ export default {
|
|
|
.then(() => {
|
|
|
editStatus({
|
|
|
flag: 3,
|
|
|
- basis: '-'+row.basis,
|
|
|
+ basis: '-'+Math.abs(row.basis),
|
|
|
id: row.id,
|
|
|
})
|
|
|
.toPromise()
|
|
@@ -1428,9 +1428,9 @@ export default {
|
|
|
this.$set(this.aduitlist, 'basis', Math.abs(item.basis))
|
|
|
this.$set(this.aduitlist, 'depositRatio', item.customerInfo.depositRatio)
|
|
|
this.$set(this.aduitlist, 'totalDeposit', item.customerInfo.totalDeposit)
|
|
|
+ this.$set(this.aduitlist, 'baggingNotes', item.baggingNotes)
|
|
|
},
|
|
|
aduitconfirm() {
|
|
|
- debugger
|
|
|
if (!this.aduitlist.unitPrice) {
|
|
|
this.$message({
|
|
|
message: '单价不能为空!',
|