Jelajahi Sumber

采购付款bug解决

cz 1 tahun lalu
induk
melakukan
6ef16fa4a1

+ 1 - 0
src/components/testForm/index.vue

@@ -214,6 +214,7 @@
             @click="handleRemove(index, btnConfigCopy)"
             size="mini"
             style="border: none; background: #ecebeb"
+            :disabled="formOption.readonly"
             v-if="formOption.btnConfig !== undefined && formOption.btnConfig.isNeed"
             >删除</van-button
           >

+ 4 - 0
src/views/processApproval/components/SendPurchasePayment.vue

@@ -559,6 +559,10 @@ watch(
       formDom.value.formDataListShowLabelOne();
       formDomOne.value.formDataShowLabelOne();
     }
+    if (route.query.processType == 10 || route.query.processType == 20) {
+      formOption.readonly = true;
+      formOptionOne.readonly = true;
+    }
   },
   {
     deep: true,

+ 1 - 1
src/views/processApproval/processDtl.vue

@@ -181,7 +181,7 @@ const handleSubmit = async (_type) => {
 				proxy
 					.post('/flowExample/setStartData', {
 						exampleId: route.query.id,
-						startDate: childrenData,
+						startData: childrenData,
 					})
 					.then()
 			}