|
|
@@ -38,7 +38,7 @@
|
|
|
{{ totalPackage }}
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <!-- <el-form-item label="单位:" prop="packingUnit">
|
|
|
+ <!-- <el-form-item label="单位:" prop="packingUnit">
|
|
|
{{ form.packingUnit }}
|
|
|
</el-form-item> -->
|
|
|
<el-col :span="6">
|
|
|
@@ -69,6 +69,7 @@
|
|
|
ref="add"
|
|
|
:form="form"
|
|
|
:bizType="1"
|
|
|
+ v-if="form.code"
|
|
|
:sourceBizNo="form.code"
|
|
|
:detailList="form.detailList"
|
|
|
></add>
|
|
|
@@ -110,8 +111,8 @@
|
|
|
rules: {},
|
|
|
form: {},
|
|
|
detailData: {},
|
|
|
- totalPackage:'',
|
|
|
- totalCount:''
|
|
|
+ totalPackage: '',
|
|
|
+ totalCount: ''
|
|
|
};
|
|
|
},
|
|
|
async created() {
|
|
|
@@ -153,8 +154,10 @@
|
|
|
);
|
|
|
data.categoryLevelTopId = filterCategoryLevelTopIds.join(',');
|
|
|
this.form = data;
|
|
|
- this.totalPackage = this.form.detailList.length +this.form?.detailList[0]?.packingUnit;
|
|
|
- this.totalCount = this.form.totalCount +this.form?.detailList[0]?.measuringUnit;
|
|
|
+ this.totalPackage =
|
|
|
+ this.form.detailList.length + this.form?.detailList[0]?.packingUnit;
|
|
|
+ this.totalCount =
|
|
|
+ this.form.totalCount + this.form?.detailList[0]?.measuringUnit;
|
|
|
this.detailData = data;
|
|
|
}
|
|
|
}
|