Przeglądaj źródła

报价管理详情和新增

hezhanp 7 miesięcy temu
rodzic
commit
858a2c9191

+ 2 - 2
src/BIZComponents/inventoryTable.vue

@@ -1200,8 +1200,8 @@ export default {
           {
             width: 150,
             prop: 'additionalTaxRate',
-            label: '税率(13%)',
-            slot: 'additionalTaxRate_tax',
+            label: '税率(%)',
+            slot: 'additionalTaxRate',
             align: 'center'
           },
           {

Plik diff jest za duży
+ 786 - 1488
src/BIZComponents/inventoryTableDetails.vue


+ 7 - 0
src/views/saleManage/quotation/components/addDialog.vue

@@ -27,6 +27,7 @@
               v-model="form.type"
               placeholder="请选择"
               style="width: 100%"
+    @change="handleTypeChange"
             >
               <el-option
                 v-for="item in typeOptions"
@@ -474,6 +475,12 @@ export default {
   },
 
   methods: {
+   handleTypeChange() {
+    // 调用inventoryTable的putTableValue方法,传入空数组清空数据
+    if (this.$refs.inventoryTable) {
+      this.$refs.inventoryTable.putTableValue([]);
+    }
+  },
     opportunityTypeChange() {
       if (this.form.opportunityType === 0) {
         this.form.opportunityId = '';

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików