From 227b6fb711c6c48b04743721e5939367cb29da6a Mon Sep 17 00:00:00 2001
From: liuliufashi <lx19140000803@163.com>
Date: Thu, 21 Jul 2022 10:09:54 +0800
Subject: [PATCH] update

---
 web-vue-admin/dist.zip                                          | Bin 2578640 -> 0 bytes
 web-vue-admin/src/views/pay-list/components/createpay/index.vue | 6 ++++--
 web-vue-admin/src/views/pay-list/index.vue                      | 4 +---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/web-vue-admin/dist.zip b/web-vue-admin/dist.zip
index b9f280e..3a5115c 100644
Binary files a/web-vue-admin/dist.zip and b/web-vue-admin/dist.zip differ
diff --git a/web-vue-admin/src/views/pay-list/components/createpay/index.vue b/web-vue-admin/src/views/pay-list/components/createpay/index.vue
index 80135f7..7ee4293 100644
--- a/web-vue-admin/src/views/pay-list/components/createpay/index.vue
+++ b/web-vue-admin/src/views/pay-list/components/createpay/index.vue
@@ -176,6 +176,8 @@ const onSubmit = () => {
             const starttime  = (moment(toRaw(formState).starttime.$d).format('YYYY-MM-DD'))+(moment(startvalue.value.$d).format('THH:mm:[00][Z]'))
             const expireendtime  = (moment(toRaw(formState).expireendtime.$d).format('YYYY-MM-DD'))+(moment(endvalue.value.$d).format('THH:mm:[00][Z]'))
             goodspayditch.value.map((item:any)=>{return item.goodsid = toRaw(formState).subject.value})
+            console.log(goodspayditch.value,'goodspayditch.value');
+            
             const prarms = {
                 subject:toRaw(formState).subject.label,
                 shortname:toRaw(formState).shortname,
@@ -230,11 +232,11 @@ const showModal = () => {
 };
 const hideModal = () => {
       checkboxValue.value[radioValue.paytype-1] = optionsWithDisabled[radioValue.paytype-1].value
-      console.log(radioValue,'radioValue');
+      console.log(radioValue,'radioValue',formState);
         goodspayditch.value[radioValue.paytype-1] = {
             appointpay: radioValue.id,
             goodsid: radioValue.id,
-            goodspayid: formState.subject.label,
+            goodspayid: formState.subject.value,
             optpay: radioValue.paytype,
             payname: radioValue.name,
             random: '1',
diff --git a/web-vue-admin/src/views/pay-list/index.vue b/web-vue-admin/src/views/pay-list/index.vue
index 50e2a4c..8002a59 100644
--- a/web-vue-admin/src/views/pay-list/index.vue
+++ b/web-vue-admin/src/views/pay-list/index.vue
@@ -268,11 +268,9 @@ const onCreatePay = async () => {
     isShow.value = !isShow.value
 }
 const onCopy = async(e:any) => {
-    console.log(e,'e');
-    // ?ditch=1&goodsid=1&phone=1&studentid=1
     const value = localStorage.getItem('url') || ''
      try {
-        await toClipboard(`${value}?ditch=${uid}&goodsid=${e.goodsid}&phone=${e.fullphone}`)
+        await toClipboard(`${value}?ditch=${uid}&goodsid=${e.id}&phone=${e.fullphone}`)
         message.success('倍刢成功')
       } catch (e) {
         console.error(e)
--
libgit2 0.27.0