去除组装单和拆卸单录入界面的合计行
This commit is contained in:
@@ -423,6 +423,8 @@ export const BillModalMixin = {
|
|||||||
target.statisticsColumns.taxLastMoney = taxLastMoneyTotal
|
target.statisticsColumns.taxLastMoney = taxLastMoneyTotal
|
||||||
}
|
}
|
||||||
that.autoChangePrice(target)
|
that.autoChangePrice(target)
|
||||||
|
//强制渲染
|
||||||
|
target.$forceUpdate()
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
//单个条码
|
//单个条码
|
||||||
@@ -443,6 +445,8 @@ export const BillModalMixin = {
|
|||||||
target.recalcAllStatisticsColumns()
|
target.recalcAllStatisticsColumns()
|
||||||
that.autoChangePrice(target)
|
that.autoChangePrice(target)
|
||||||
target.autoSelectBySpecialKey('operNumber', row.orderNum)
|
target.autoSelectBySpecialKey('operNumber', row.orderNum)
|
||||||
|
//强制渲染
|
||||||
|
target.$forceUpdate()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -151,11 +151,11 @@
|
|||||||
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
|
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
|
||||||
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
||||||
{ title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal },
|
{ title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal },
|
||||||
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber, statistics: true,
|
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber,
|
||||||
validateRules: [{ required: true, message: '${title}不能为空' }]
|
validateRules: [{ required: true, message: '${title}不能为空' }]
|
||||||
},
|
},
|
||||||
{ title: '单价', key: 'unitPrice', width: '5%', type: FormTypes.inputNumber},
|
{ title: '单价', key: 'unitPrice', width: '5%', type: FormTypes.inputNumber },
|
||||||
{ title: '金额', key: 'allPrice', width: '5%', type: FormTypes.inputNumber, statistics: true },
|
{ title: '金额', key: 'allPrice', width: '5%', type: FormTypes.inputNumber },
|
||||||
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input }
|
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -151,11 +151,11 @@
|
|||||||
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
|
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
|
||||||
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
||||||
{ title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal },
|
{ title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal },
|
||||||
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber, statistics: true,
|
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber,
|
||||||
validateRules: [{ required: true, message: '${title}不能为空' }]
|
validateRules: [{ required: true, message: '${title}不能为空' }]
|
||||||
},
|
},
|
||||||
{ title: '单价', key: 'unitPrice', width: '5%', type: FormTypes.inputNumber},
|
{ title: '单价', key: 'unitPrice', width: '5%', type: FormTypes.inputNumber },
|
||||||
{ title: '金额', key: 'allPrice', width: '5%', type: FormTypes.inputNumber, statistics: true },
|
{ title: '金额', key: 'allPrice', width: '5%', type: FormTypes.inputNumber },
|
||||||
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input }
|
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user