@@ -930,7 +930,7 @@
},
// 是否税率必填
isTaxRate: {
- type: Number,
+ type: [Number, String],
default: 0
defTaxRate: {
@@ -882,6 +882,12 @@
totalPrice: totalPrice,
discountTotalPrice: discountTotalPrice
});
+
+ if(this.enterprisePage.length === 1) {
+ this.form.partbName = this.enterprisePage[0].name;
+ this.getEnterprise()
+ }
this.$nextTick(() => {
this.$refs.inventoryTable &&
this.$refs.inventoryTable.putTableValue(info);