|
@@ -882,6 +882,12 @@
|
|
|
totalPrice: totalPrice,
|
|
totalPrice: totalPrice,
|
|
|
discountTotalPrice: discountTotalPrice
|
|
discountTotalPrice: discountTotalPrice
|
|
|
});
|
|
});
|
|
|
|
|
+
|
|
|
|
|
+ if(this.enterprisePage.length === 1) {
|
|
|
|
|
+ this.form.partbName = this.enterprisePage[0].name;
|
|
|
|
|
+ this.getEnterprise()
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
this.$refs.inventoryTable &&
|
|
this.$refs.inventoryTable &&
|
|
|
this.$refs.inventoryTable.putTableValue(info);
|
|
this.$refs.inventoryTable.putTableValue(info);
|