Merge branch 'dev' into 预订查询
Showing
4 changed files
with
13 additions
and
9 deletions
| ... | @@ -87,13 +87,15 @@ | ... | @@ -87,13 +87,15 @@ |
| 87 | </div> | 87 | </div> |
| 88 | </el-col> | 88 | </el-col> |
| 89 | <el-col :lg="3" :md="6" :sm="6" :xs="6" class="text-center"> | 89 | <el-col :lg="3" :md="6" :sm="6" :xs="6" class="text-center"> |
| 90 | <span class="text-warning"> {{ b.payType != '2' ? '¥' : '€' }} | 90 | <span class="text-warning"> {{ b.payType != '2' || !b.totalPayAmount ? '¥' : '€' }} |
| 91 | <span class="bigMoney">{{ b.totalPayAmount || b.totalAmount }}</span> | 91 | <span class="bigMoney">{{ b.totalPayAmount || b.totalAmount }}</span> |
| 92 | </span> | 92 | </span> |
| 93 | </el-col> | 93 | </el-col> |
| 94 | <el-col :lg="6" :md="16" :sm="16" :xs="16"> | 94 | <el-col :lg="6" :md="16" :sm="16" :xs="16"> |
| 95 | <div class="text-right"> | 95 | <div class="text-right"> |
| 96 | <el-button v-if="b.isInvoice == '0'&&!b.invoiceId" plain round type="primary" @click.stop="gokp(b)"> | 96 | <el-button v-if="b.isInvoice == '0'&&!b.invoiceId" :disabled="!b.totalPayAmount||b.totalAmount==0" plain |
| 97 | round type="primary" | ||
| 98 | @click.stop="gokp(b)"> | ||
| 97 | {{ language == 0 ? '申请开票' : 'Invoice' }} | 99 | {{ language == 0 ? '申请开票' : 'Invoice' }} |
| 98 | </el-button> | 100 | </el-button> |
| 99 | <el-button v-if="b.isInvoice == '0'&&b.invoiceId" plain round type="primary" @click.stop="editkp(b)"> | 101 | <el-button v-if="b.isInvoice == '0'&&b.invoiceId" plain round type="primary" @click.stop="editkp(b)"> |
| ... | @@ -322,7 +324,7 @@ const handleClick = (e) => { | ... | @@ -322,7 +324,7 @@ const handleClick = (e) => { |
| 322 | 324 | ||
| 323 | } | 325 | } |
| 324 | const gokp = (item) => { | 326 | const gokp = (item) => { |
| 325 | if (query.value.orderType) { | 327 | if (query.value.orderType == 6) { |
| 326 | router.push({ | 328 | router.push({ |
| 327 | name: 'ticketAddInvoice', | 329 | name: 'ticketAddInvoice', |
| 328 | query: { | 330 | query: { | ... | ... |
| ... | @@ -30,12 +30,14 @@ | ... | @@ -30,12 +30,14 @@ |
| 30 | </el-select> | 30 | </el-select> |
| 31 | </el-form-item> | 31 | </el-form-item> |
| 32 | <el-form-item :label="language==0?'团体类型':'Group type'" prop="type"> | 32 | <el-form-item :label="language==0?'团体类型':'Group type'" prop="type"> |
| 33 | <el-select :disabled="form.type=='4'" v-model="form.type" :placeholder="language==0?'请选择团体类型':''" style="width: 100%;"> | 33 | <el-select v-model="form.type" :placeholder="language==0?'请选择团体类型':''" style="width: 100%;"> |
| 34 | <el-option :label="language==0?'普通院校':'School'" value="0" /> | 34 | <el-option :label="language==0?'普通院校':'School'" value="0" /> |
| 35 | <el-option :label="language==0?'专业舞蹈学校':'Professional dance school'" value="1" /> | 35 | <el-option :label="language==0?'专业舞蹈学校':'Professional dance school'" value="1" /> |
| 36 | <el-option :label="language==0?'培训机构/俱乐部':'Company/Club'" value="2" /> | 36 | <el-option :label="language==0?'培训机构/俱乐部':'Company/Club'" value="2" /> |
| 37 | <el-option :label="language==0?'地方协会':'Local Association'" value="3" /> | 37 | <el-option :label="language==0?'地方协会':'Local Association'" value="3" /> |
| 38 | <el-option :label="language==0?'国家协会':'National Association'" value="4" :disabled="form.type!='4'"/> | 38 | <el-option :label="language==0?'国家协会':'National Association'" value="4" /> |
| 39 | <!-- :disabled="form.type!='4'"--> | ||
| 40 | |||
| 39 | </el-select> | 41 | </el-select> |
| 40 | </el-form-item> | 42 | </el-form-item> |
| 41 | <el-form-item :label="language==0?'联系人姓名':'Contact Person'" required prop="contactPerson"> | 43 | <el-form-item :label="language==0?'联系人姓名':'Contact Person'" required prop="contactPerson"> | ... | ... |
| ... | @@ -272,7 +272,7 @@ function goPrev() { | ... | @@ -272,7 +272,7 @@ function goPrev() { |
| 272 | function submitForm() { | 272 | function submitForm() { |
| 273 | proxy.$refs['ruleFormRef'].validate((valid, fields) => { | 273 | proxy.$refs['ruleFormRef'].validate((valid, fields) => { |
| 274 | if (valid) { | 274 | if (valid) { |
| 275 | if(form.value.type!='4'&&(form.value.abreviations=='')){ | 275 | if(form.value.type!='4'&&(form.value.abreviations==''||!form.value.abreviations)){ |
| 276 | ElMessage.warning(language.value==0?`请输入参赛队名称`:`Please complete Name of participating team`) | 276 | ElMessage.warning(language.value==0?`请输入参赛队名称`:`Please complete Name of participating team`) |
| 277 | return | 277 | return |
| 278 | } | 278 | } | ... | ... |
| ... | @@ -71,7 +71,7 @@ export default defineConfig(({ mode, command }) => { | ... | @@ -71,7 +71,7 @@ export default defineConfig(({ mode, command }) => { |
| 71 | }, | 71 | }, |
| 72 | '/dev-api/ztx-match': { | 72 | '/dev-api/ztx-match': { |
| 73 | // target: 'http://192.168.1.118:8083', | 73 | // target: 'http://192.168.1.118:8083', |
| 74 | target: 'https://jijin.wtwuxicenter.com/stage-api', | 74 | target: 'https://wdsfwuxicenter.com/stage-api/', |
| 75 | changeOrigin: true, | 75 | changeOrigin: true, |
| 76 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '') | 76 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-match/, '') |
| 77 | }, | 77 | }, |
| ... | @@ -83,9 +83,9 @@ export default defineConfig(({ mode, command }) => { | ... | @@ -83,9 +83,9 @@ export default defineConfig(({ mode, command }) => { |
| 83 | '/dev-api': { | 83 | '/dev-api': { |
| 84 | // target: 'http://192.168.1.118:8081/', | 84 | // target: 'http://192.168.1.118:8081/', |
| 85 | // target: 'http://192.168.1.131:8081/', | 85 | // target: 'http://192.168.1.131:8081/', |
| 86 | // target: 'https://jijin.wtwuxicenter.com/stage-api', | 86 | target: 'https://jijin.wtwuxicenter.com/stage-api', |
| 87 | // target: 'http://124.70.181.90:1880/stage-api', | 87 | // target: 'http://124.70.181.90:1880/stage-api', |
| 88 | target: 'https://wdsfwuxicenter.com/stage-api/', | 88 | // target: 'https://wdsfwuxicenter.com/stage-api/', |
| 89 | changeOrigin: true, | 89 | changeOrigin: true, |
| 90 | rewrite: (p) => p.replace(/^\/dev-api/, '') | 90 | rewrite: (p) => p.replace(/^\/dev-api/, '') |
| 91 | }, | 91 | }, | ... | ... |
-
Please register or sign in to post a comment