|
@@ -49,6 +49,16 @@
|
|
|
v-else-if="flowForm.flowKey == 'service_contract_flow'"
|
|
|
:queryData="queryData.data"
|
|
|
></ServiceContract>
|
|
|
+ <!-- 维多利亚 -->
|
|
|
+ <SendSubscribeWDLY
|
|
|
+ ref="makeDom"
|
|
|
+ v-if="flowForm.flowKey == 'wdly_apply_purchase'"
|
|
|
+ ></SendSubscribeWDLY>
|
|
|
+ <SendPurchaseWDLY
|
|
|
+ ref="makeDom"
|
|
|
+ v-else-if="flowForm.flowKey == 'wdly_purchase'"
|
|
|
+ :queryData="queryData.data"
|
|
|
+ ></SendPurchaseWDLY>
|
|
|
</div>
|
|
|
<div class="bottom">
|
|
|
<div class="commons-title title">处理意见</div>
|
|
@@ -90,7 +100,7 @@
|
|
|
<el-tab-pane label="决策辅助" name="second">决策辅助</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<el-dialog title="下一处理人" width="400" v-model="dialogVisible">
|
|
|
<el-form :model="flowForm">
|
|
|
<el-form-item prop="remark" label="处理人">
|
|
@@ -140,6 +150,11 @@ import PriceSheet from "@/components/process/PriceSheet";
|
|
|
import Contract from "@/components/process/Contract";
|
|
|
// 服务合同
|
|
|
import ServiceContract from "@/components/process/ServiceContract";
|
|
|
+// /``````````````````````````````维多利亚专属 /
|
|
|
+//申购发起
|
|
|
+import SendSubscribeWDLY from "@/components/WDLY/process/SendSubscribeWDLY";
|
|
|
+//采购发起
|
|
|
+import SendPurchaseWDLY from "@/components/WDLY/process/SendPurchaseWDLY";
|
|
|
|
|
|
const router = useRouter();
|
|
|
const route = useRoute();
|
|
@@ -207,6 +222,31 @@ const handleSubmit = async () => {
|
|
|
} else if (flowForm.flowKey == "account_request_funds_flow") {
|
|
|
} else if (flowForm.flowKey == "sales_return_flow") {
|
|
|
} else if (flowForm.flowKey == "refund_flow") {
|
|
|
+ } else if (flowForm.flowKey == "wdly_apply_purchase") {
|
|
|
+ data.subscribeDetailList = data.subscribeDetailList.map((x) => ({
|
|
|
+ bussinessId: x.bussinessId,
|
|
|
+ count: x.count,
|
|
|
+ remark: x.remark,
|
|
|
+ }));
|
|
|
+ const victoriatouristJson = {
|
|
|
+ planArrivalTime: data.planArrivalTime,
|
|
|
+ receiptWarehouseId: data.receiptWarehouseId,
|
|
|
+ };
|
|
|
+ data.victoriatouristJson = JSON.stringify(victoriatouristJson);
|
|
|
+ } else if (flowForm.flowKey == "wdly_purchase") {
|
|
|
+ data.purchaseDetailList = data.purchaseDetailList.map((x) => ({
|
|
|
+ bussinessId: x.bussinessId,
|
|
|
+ subscribeDetailId: x.id,
|
|
|
+ count: x.count,
|
|
|
+ price: x.price,
|
|
|
+ amount: x.amount,
|
|
|
+ }));
|
|
|
+ const victoriatouristJson = {
|
|
|
+ isAgreement: data.isAgreement,
|
|
|
+ paymentMethod: data.paymentMethod,
|
|
|
+ otherFeeList: data.otherFeeList,
|
|
|
+ };
|
|
|
+ data.victoriatouristJson = JSON.stringify(victoriatouristJson);
|
|
|
}
|
|
|
proxy
|
|
|
.post("/flowProcess/initiate", {
|
|
@@ -265,6 +305,14 @@ const skipPage = () => {
|
|
|
router.replace({
|
|
|
path: "/salesMange/saleContract/serviceContract",
|
|
|
});
|
|
|
+ } else if (flowForm.flowKey == "wdly_purchase") {
|
|
|
+ router.replace({
|
|
|
+ path: "/WDLY/purchaseManage/alreadyPurchase_wdly",
|
|
|
+ });
|
|
|
+ } else if (flowForm.flowKey == "wdly_apply_purchase") {
|
|
|
+ router.replace({
|
|
|
+ path: "/WDLY/purchaseManage/subscribe_wdly",
|
|
|
+ });
|
|
|
}
|
|
|
};
|
|
|
let queryData = reactive({
|