Jelajahi Sumber

流程修改

yusheng 2 tahun lalu
induk
melakukan
c070be1d5d

+ 1 - 1
src/views/purchasingManage/purchaseNeedManage/components/addDialog.vue

@@ -394,7 +394,7 @@
       },
       saleOrderSubmit(res) {
         submit({
-          businessId: this.businessId || res.id
+          businessId: this.businessId || res
           // productionSupervisorId
         }).then((res) => {
           this.cancel();

+ 12 - 7
src/views/purchasingManage/purchaseOrder/components/inventoryTable.vue

@@ -272,6 +272,9 @@
             </el-date-picker>
           </el-form-item>
         </template>
+        <template v-slot:headerDeadline="{ column }">
+          <span class="is-required">{{ column.label }}</span>
+        </template>
         <template v-slot:headerProductName="{ column }">
           <span class="is-required">{{ column.label }}</span>
         </template>
@@ -417,17 +420,18 @@
             label: '合计',
             slot: 'totalPrice'
           },
-          {
-            width: 80,
-            prop: 'deliveryDays',
-            label: '交期(天)',
-            slot: 'deliveryDays'
-          },
+          // {
+          //   width: 80,
+          //   prop: 'deliveryDays',
+          //   label: '交期(天)',
+          //   slot: 'deliveryDays'
+          // },
           {
             width: 160,
             prop: 'deliveryDeadline',
             label: '交期截止日期',
-            slot: 'deliveryDeadline'
+            slot: 'deliveryDeadline',
+            headerSlot: 'headerDeadline'
           },
           {
             width: 200,
@@ -544,6 +548,7 @@
             // }
           });
           this.form.datasource = data;
+          console.log('form',this.form)
         }
       },
       //选择产品

+ 1 - 1
src/views/purchasingManage/purchaseOrder/invoice/components/detailDialog.vue

@@ -26,7 +26,7 @@
     </div>
     <div v-show="activeComp == 'main'">
       <el-form ref="form" :model="form" :rules="rules" label-width="120px">
-        <headerTitle title="货信息"></headerTitle>
+        <headerTitle title="货信息"></headerTitle>
         <el-row>
           <el-col :span="12">
             <el-form-item