yshop1.6.3新增微信退款及其模板消息,后台新增支付证书配置,修复手机端管理端拒绝退款bug

This commit is contained in:
hupeng
2019-12-29 11:05:45 +08:00
parent 9bf7b98ce8
commit 48fa7adea6
2 changed files with 78 additions and 5 deletions

View File

@ -10,13 +10,14 @@
<el-form-item label="商户密钥" >
<el-input v-model="form.wxpay_mchKey" style="width: 370px;" type="password" />
</el-form-item>
<el-form-item label="微信证书" >
<file-upload v-model="form.wxpay_keyPath" style="width: 500px;"/>
</el-form-item>
<el-form-item label="" >
<el-button type="primary" @click="doSubmit">提交</el-button>
</el-form-item>
</el-form>
</div>
</template>
@ -25,10 +26,10 @@ import checkPermission from '@/utils/permission'
import initData from '@/mixins/initData'
import { del, add, get } from '@/api/yxSystemConfig'
import eForm from './form'
import picUpload from '@/components/pic-upload'
import fileUpload from '@/components/file-upload'
import { Message } from 'element-ui'
export default {
components: { eForm, picUpload },
components: { eForm, fileUpload },
mixins: [initData],
data() {
return {
@ -36,7 +37,8 @@ export default {
form: {
wxpay_appId: '',
wxpay_mchId: '',
wxpay_mchKey: ''
wxpay_mchKey: '',
wxpay_keyPath: ''
},
rules: {
}