前端最新版本同步
This commit is contained in:
@@ -871,6 +871,7 @@ function getTransferProductDetails() {
|
||||
// 编辑
|
||||
getTransferProductDetail(receiptHeaderForm.busNo).then((res) => {
|
||||
form.purchaseinventoryList = res.data;
|
||||
receiptHeaderForm.occurrenceTime = res.data[0].occurrenceTime ? formatDate(res.data[0].occurrenceTime) : new Date()
|
||||
form.purchaseinventoryList.map((e, index) => {
|
||||
e.isSave = true;
|
||||
form.purchaseinventoryList[index].statusMaxvalue = false;
|
||||
@@ -1132,7 +1133,8 @@ function selectRow(rowValue, index) {
|
||||
form.purchaseinventoryList[index].unitList.minUnitCode;
|
||||
form.purchaseinventoryList[index].unitCode_dictText =
|
||||
form.purchaseinventoryList[index].unitList.minUnitCode_dictText;
|
||||
|
||||
// 存一下大单位价格 切换单位会有除不尽的情况 临时处理一下
|
||||
form.purchaseinventoryList[index].unitPrice = res.data[0].price
|
||||
// 单价 大单位单价
|
||||
if (
|
||||
form.purchaseinventoryList[index].unitCode ==
|
||||
@@ -1338,7 +1340,7 @@ function getMaxCounts(row, index, counts) {
|
||||
}
|
||||
} else {
|
||||
form.purchaseinventoryList[index].price =
|
||||
form.purchaseinventoryList[index].price * row.partPercent;
|
||||
form.purchaseinventoryList[index].unitPrice;
|
||||
form.purchaseinventoryList[index].price = form.purchaseinventoryList[index].price.toFixed(4);
|
||||
}
|
||||
console.log(form.purchaseinventoryList[index].price, '121212121');
|
||||
|
||||
Reference in New Issue
Block a user