|
@@ -1810,16 +1810,17 @@ export default {
|
|
|
scope.row.id - 1
|
|
scope.row.id - 1
|
|
|
].total = total;
|
|
].total = total;
|
|
|
|
|
|
|
|
|
|
+ const forceUpdate = (data) => Object.assign({}, data);
|
|
|
this.recipe_tabs[this.recipe_tabs_c].tableData = totalData.filter(
|
|
this.recipe_tabs[this.recipe_tabs_c].tableData = totalData.filter(
|
|
|
(item, index) => {
|
|
(item, index) => {
|
|
|
return item.id % 2 != 0;
|
|
return item.id % 2 != 0;
|
|
|
}
|
|
}
|
|
|
- );
|
|
|
|
|
|
|
+ ).map(forceUpdate);
|
|
|
this.recipe_tabs[this.recipe_tabs_c].tableData1 = totalData.filter(
|
|
this.recipe_tabs[this.recipe_tabs_c].tableData1 = totalData.filter(
|
|
|
(item, index) => {
|
|
(item, index) => {
|
|
|
return item.id % 2 == 0;
|
|
return item.id % 2 == 0;
|
|
|
}
|
|
}
|
|
|
- );
|
|
|
|
|
|
|
+ ).map(forceUpdate);
|
|
|
|
|
|
|
|
if (this.recipe_tabs[this.recipe_tabs_c].bottom_form.doseNum) {
|
|
if (this.recipe_tabs[this.recipe_tabs_c].bottom_form.doseNum) {
|
|
|
// this.countNowRecipeMoney();
|
|
// this.countNowRecipeMoney();
|