|
@@ -32,8 +32,8 @@
|
|
|
<el-card shadow="always" style="padding: 15px 5px 5px 15px">
|
|
|
<el-row :gutter="15">
|
|
|
<el-col :span="24">
|
|
|
- <el-form-item label="标题" prop="title">
|
|
|
- <el-input v-model="formData.title" placeholder="付款领用单-年月日" />
|
|
|
+ <el-form-item label="标题" prop="titlexxx">
|
|
|
+ <el-input v-model="formData.title" placeholder="付款领用单-年月日" readonly/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -615,17 +615,25 @@ export default {
|
|
|
this.formData.deptName = userinfo.deptName
|
|
|
console.log(this.userinfo)
|
|
|
},
|
|
|
+ async getMaxNum() {
|
|
|
+ const { data: maxNum } = await this.baseRequest1('ApplyPaymentSettleController', 'getMaxNum', { })
|
|
|
+
|
|
|
+ this.formData.title = maxNum
|
|
|
+
|
|
|
+ console.log(maxNum)
|
|
|
+ },
|
|
|
baseRequest1(prefix, opUrl, postData) {
|
|
|
return this.$channel.globleRequest(prefix, opUrl, postData, 'project task')
|
|
|
},
|
|
|
|
|
|
setVisible(status) {
|
|
|
+
|
|
|
this.formData = {
|
|
|
payerName: '无锡市安居投资发展有限公司'
|
|
|
|
|
|
}
|
|
|
this.formData.fileUrlList = []
|
|
|
-
|
|
|
+ this.getMaxNum()
|
|
|
this.getUserInfo()
|
|
|
this.dialogVisible = status
|
|
|
},
|