Commit 227b6fb7 by liuliufashi

update

parent 2d8d200a
No preview for this file type
......@@ -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',
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment