|
@ -15,7 +15,6 @@ const addRe = ref({ |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//这是获取用户信息的接口 |
|
|
//这是获取用户信息的接口 |
|
|
const adminData = ref({}) |
|
|
const adminData = ref({}) |
|
|
const getAdminData = async function () { |
|
|
const getAdminData = async function () { |
|
@ -85,7 +84,8 @@ const add = async function () { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 发送POST请求 |
|
|
// 发送POST请求 |
|
|
const result = await API({ url: '/refund/add', |
|
|
|
|
|
|
|
|
const result = await API({ |
|
|
|
|
|
url: '/refund/add', |
|
|
data: processedRefund |
|
|
data: processedRefund |
|
|
}) |
|
|
}) |
|
|
if (result.code === 0) { |
|
|
if (result.code === 0) { |
|
@ -139,7 +139,8 @@ const addBefore = () => { |
|
|
// 表单验证 |
|
|
// 表单验证 |
|
|
// 开始时间改变时,重新验证结束时间 |
|
|
// 开始时间改变时,重新验证结束时间 |
|
|
const Ref = ref(null) |
|
|
const Ref = ref(null) |
|
|
const startChange = (val) => {} |
|
|
|
|
|
|
|
|
const startChange = (val) => { |
|
|
|
|
|
} |
|
|
const validateJwCode = (rule, value, callback) => { |
|
|
const validateJwCode = (rule, value, callback) => { |
|
|
if (!value) { |
|
|
if (!value) { |
|
|
callback(new Error('精网号不能为空')); |
|
|
callback(new Error('精网号不能为空')); |
|
@ -236,8 +237,6 @@ const getUser = async function (jwcode) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 退款类型,写死为商品退款 |
|
|
// 退款类型,写死为商品退款 |
|
|
const refundType = ref([{value: '商品退款', label: '商品退款'}]); |
|
|
const refundType = ref([{value: '商品退款', label: '商品退款'}]); |
|
|
|
|
|
|
|
@ -264,8 +263,6 @@ const refundType = ref([{ value: '商品退款', label: '商品退款' }]); |
|
|
// } |
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 根据精网号查询商品 |
|
|
// 根据精网号查询商品 |
|
|
const goodsName = ref([]) |
|
|
const goodsName = ref([]) |
|
|
const getGoods = async function (jwcode) { |
|
|
const getGoods = async function (jwcode) { |
|
@ -444,7 +441,8 @@ onMounted(async function () { |
|
|
type="primary" |
|
|
type="primary" |
|
|
@click="getUser(addRefund.jwcode)" |
|
|
@click="getUser(addRefund.jwcode)" |
|
|
style="margin-left: 20px" |
|
|
style="margin-left: 20px" |
|
|
>查询</el-button |
|
|
|
|
|
|
|
|
>查询 |
|
|
|
|
|
</el-button |
|
|
> |
|
|
> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item prop="refundType" label="退款类型"> |
|
|
<el-form-item prop="refundType" label="退款类型"> |
|
|