Commit ea75f264 authored by 张伯涛's avatar 张伯涛

接口地址修改

parent 05b719ce
......@@ -59,7 +59,7 @@
</el-select>
</el-form-item>-->
<el-form-item label="合同语言" prop="CONLANGUAGE">
<el-select v-model="form.CONLANGUAGE" placeholder="请选择">
<el-select v-model="form.CONLANGUAGE" filterable placeholder="请选择">
<el-option
v-for="item in language"
:key="item.id"
......@@ -83,9 +83,6 @@
<el-form-item
label="内部合同关联校验码"
prop="OPPOSITECONMAINCODE"
:rules="[
{ required: true, message: '请输入项目名称', trigger: 'blur' }
]"
>
<el-input v-model.trim="form.OPPOSITECONMAINCODE" placeholder="请输入" maxlength="100" />
</el-form-item>
......@@ -363,7 +360,7 @@
<span>签约方编码(合同签约主体)</span>
</el-col>
<el-col :span="3" class="bigCol">
<span>签约核算组织</span>
<span>签约对方名称</span>
</el-col>
<el-col :span="3" class="bigCol">
<span>行政往来名称</span>
......@@ -446,7 +443,7 @@
<span>签约方编码(合同签约主体)</span>
</el-col>
<el-col :span="3" class="bigCol">
<span>签约核算组织</span>
<span>签约对方名称</span>
</el-col>
<el-col :span="3" class="bigCol">
<span>行政往来名称</span>
......@@ -538,7 +535,7 @@
<span>签约方编码(合同签约主体)</span>
</el-col>
<el-col :span="3" class="bigCol">
<span>签约核算组织</span>
<span>签约对方名称</span>
</el-col>
<el-col :span="3" class="bigCol">
<span>行政往来名称</span>
......@@ -636,7 +633,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="总金额币种" prop="CURRENCY">
<el-select v-model="form.CURRENCY" placeholder="请选择">
<el-select filterable v-model="form.CURRENCY" placeholder="请选择">
<el-option
v-for="item in ZCURRENCY"
:key="item.id"
......@@ -671,6 +668,7 @@
>
<el-select
v-model="form.TZXX.PAYMENTCURRENCY"
filterable
placeholder="请选择"
>
<el-option
......@@ -830,6 +828,7 @@
]"
>
<el-select
filterable
v-model="form.TZXX.INVOICETYPE"
placeholder="请选择"
style="width: 70%"
......@@ -1643,7 +1642,7 @@ export default {
CONCODE: [{ required: true, message: '合同编码', trigger: 'blur' }, { max: 64, message: '长度64个字符以内', trigger: 'blur' }],
ISSUPPLYCONTRACT: [{ required: true, message: '是否补充合同', trigger: 'blur' }, { max: 30, message: '长度30个字符以内', trigger: 'blur' }],
// SUPCONMAINCODE: [{ max: 64, message: '长度64个字符以内', trigger: 'blur' }],
OPPOSITECONMAINCODE: [{ max: 100, message: '长度100个字符以内', trigger: 'blur' }],
// OPPOSITECONMAINCODE: [{ max: 100, message: '长度100个字符以内', trigger: 'blur' }],
PROJNUMBER: [{ required: true, message: '项目编码', trigger: 'blur' }, { max: 100, message: '长度100个字符以内', trigger: 'blur' }],
// PROJNAME: [{ required: true, message: '项目名称', trigger: 'blur' }, { max: 100, message: '长度100个字符以内', trigger: 'blur' }],
INCOMEEXPENDTYPE: [{ required: true, message: '收支类型', trigger: 'blur' }, { max: 30, message: '长度30个字符以内', trigger: 'blur' }],
......@@ -1677,8 +1676,8 @@ export default {
// CONTRACTPAYMENTTERMS: [{ required: true, message: '请输入合同价款支付条件', trigger: 'blur' }, { max: 1024, message: '长度1024个字符以内', trigger: 'blur' }],
ISSFYYFK: [{ required: true, message: '是否存在预付款', trigger: 'blur' }, { max: 30, message: '长度30个字符以内', trigger: 'blur' }],
// PAYRULE: [{ required: true, message: '预付款支付条件', trigger: 'blur' }, { max: 1024, message: '长度1024个字符以内', trigger: 'blur' }],
TAXRATE: [{ required: true, message: '税率(%)', trigger: 'blur' },
{ validator: this.isNum, trigger: 'blur' }],
// TAXRATE: [{ required: true, message: '税率(%)', trigger: 'blur' },
// { validator: this.isNum, trigger: 'blur' }],
PAYRATIO: [{ required: true, message: '预付款比例', trigger: 'blur' },
{ validator: this.isNum, trigger: 'blur' }],
PAYAMT: [{ required: true, message: '预付款金额', trigger: 'blur' },
......@@ -1753,7 +1752,7 @@ export default {
getDetails() {
if (this.$route.query.type === 'update') {
const FROMID = this.$route.query.row.FROMID
this.$axios.get('http://10.19.103.15:8090/contract/contract/detail/' + FROMID).then(res => {
this.$axios.get('http://117.122.212.101:8090/contract/contract/detail/' + FROMID).then(res => {
this.form = res.data.data
this.form.BUSINESSTYPEName = this.$route.query.businessTypeName
if (this.form.PROJNAME === '') {
......@@ -1801,7 +1800,7 @@ export default {
}
},
findMap() {
this.$axios.get('http://10.19.103.15:8090/contract/contract/getDictData').then(res => {
this.$axios.get('http://117.122.212.101:8090/contract/contract/getDictData').then(res => {
console.log(res)
this.language = res.data.data.LANGUAGE
this.DM_BZJLX = res.data.data.DM_BZJLX
......@@ -1860,7 +1859,7 @@ export default {
downLoadFile(row) {
// 下载按钮
console.log(row)
this.$axios.get('http://10.19.103.15:8090/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
this.$axios.get('http://117.122.212.101:8090/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
if (!res.errno) {
console.log(this.data)
}
......@@ -1888,7 +1887,7 @@ export default {
console.log('参数参数', formData)
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contractjxx/contract-fjxx/upload',
url: 'http://117.122.212.101:8090/contractjxx/contract-fjxx/upload',
data: formData })
.then((res) => {
if (!res.errno) {
......@@ -1908,7 +1907,7 @@ export default {
formData.append('file', file.file)
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contractjxx/contract-fjxx/upload',
url: 'http://117.122.212.101:8090/contractjxx/contract-fjxx/upload',
data: formData })
.then((res) => {
if (!res.errno) {
......@@ -2007,7 +2006,7 @@ export default {
},
delFile(i, row) {
this.form.FJXX.splice(i, 1)
this.$axios.delete('http://10.19.103.15:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/' + row.BUSINESSID).then(res => {
this.$axios.delete('http://117.122.212.101:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/' + row.BUSINESSID).then(res => {
// eslint-disable-next-line no-empty
if (!res.errno) {}
})
......@@ -2069,7 +2068,7 @@ export default {
if (this.$route.query.type === 'add') {
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contract/contract/add',
url: 'http://117.122.212.101:8090/contract/contract/add',
data: this.form })
.then((res) => {
if (!res.errno) {
......@@ -2088,7 +2087,7 @@ export default {
} else if (this.$route.query.type === 'update') {
this.$axios({
method: 'put',
url: 'http://10.19.103.15:8090/contract/contract/merge',
url: 'http://117.122.212.101:8090/contract/contract/merge',
data: this.form })
.then((res) => {
if (!res.errno) {
......
......@@ -367,7 +367,7 @@ obj=this.typeform*/
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$axios.put('http://10.19.103.15:8090/contract/contract/mergeSynchronizationStatus/' + row.FROMID).then(res => {
this.$axios.put('http://117.122.212.101:8090/contract/contract/mergeSynchronizationStatus/' + row.FROMID).then(res => {
this.$message({
type: 'success',
message: '修改成功!'
......@@ -392,7 +392,7 @@ obj=this.typeform*/
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$axios.put('http://10.19.103.15:8090/contract/contract/push/' + row.FROMID).then(res => {
this.$axios.put('http://117.122.212.101:8090/contract/contract/push/' + row.FROMID).then(res => {
if (res.data.code === '200') {
this.$message({
type: 'success',
......@@ -414,7 +414,7 @@ obj=this.typeform*/
BatchExecution() {
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contract/contract/synchron'
url: 'http://117.122.212.101:8090/contract/contract/synchron'
})
.then((res) => {
if (!res.errno) {
......@@ -433,7 +433,7 @@ obj=this.typeform*/
this.findContract()
},
findContract() {
this.$axios.get('http://10.19.103.15:8090/contract/contract/queryDemoContractByPage',
this.$axios.get('http://117.122.212.101:8090/contract/contract/queryDemoContractByPage',
{
params: {
USERID: 123,
......@@ -463,7 +463,7 @@ obj=this.typeform*/
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$axios.delete('http://10.19.103.15:8090/contract/contract/realDelete/' + row.FROMID).then(res => {
this.$axios.delete('http://117.122.212.101:8090/contract/contract/realDelete/' + row.FROMID).then(res => {
if (!res.errno) {
this.$message({
type: 'success',
......
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