Explorar o código

fix: 调整创建PO接口参数名.

peter hai 1 ano
pai
achega
a31cbdf197
Modificáronse 2 ficheiros con 7 adicións e 5 borrados
  1. 1 1
      src/interface.ts
  2. 6 4
      src/pages/purchase-order/edit.vue

+ 1 - 1
src/interface.ts

@@ -38,7 +38,7 @@ export interface IForm {
   Artwork_Link: string
   Currency: string
   PO_Date: string
-  Payment_Terms: string
+  Supplier_Payment_Terms: string
   Title: string
   field9: string
   field7: string

+ 6 - 4
src/pages/purchase-order/edit.vue

@@ -205,7 +205,7 @@
                 </el-form-item>
                 <el-form-item label="付款方式 :">
                   <el-select
-                    v-model="form.Payment_Terms"
+                    v-model="form.Supplier_Payment_Terms"
                     style="width: 100%"
                   >
                     <el-option
@@ -602,7 +602,9 @@
                 <div class="column-form-label">付款方式 :</div>
                 <div class="column-form-value">
                   {{
-                    form.Payment_Terms !== '-None-' ? form.Payment_Terms : ''
+                    form.Supplier_Payment_Terms !== '-None-'
+                      ? form.Supplier_Payment_Terms
+                      : ''
                   }}
                 </div>
               </div>
@@ -877,7 +879,7 @@
               <div class="right flex">
                 <div class="base-info-label">Payment Term:</div>
                 <div class="base-info-value">
-                  {{ computedVendor.Payment_Terms }}
+                  {{ computedVendor.Supplier_Payment_Terms }}
                 </div>
               </div>
             </div>
@@ -1442,7 +1444,7 @@ const form = ref<IForm>({
   // 日期
   PO_Date: '',
   // 付款方式
-  Payment_Terms: '-None-',
+  Supplier_Payment_Terms: '-None-',
   // 参考, so的job name
   Title: '',
   // 收货地址