|
@@ -85,7 +85,7 @@
|
|
|
<el-form-item label="金额">
|
|
|
<el-input v-model="amount" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="申请人">
|
|
|
+ <el-form-item label="申请人">
|
|
|
<el-input v-model="applicant " autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="付款截图">
|
|
@@ -183,7 +183,7 @@
|
|
|
deptBudgetList: {},
|
|
|
historyList: [],
|
|
|
count: 0,
|
|
|
- applicant:'',
|
|
|
+ applicant: '',
|
|
|
deptBudgetTotal: 0,
|
|
|
pickerBeginDateBefore: {
|
|
|
disabledDate: (time) => {
|
|
@@ -213,8 +213,8 @@
|
|
|
|
|
|
this.showType = this.isShow
|
|
|
},
|
|
|
- mounted(){
|
|
|
-
|
|
|
+ mounted() {
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
returnsales() {
|
|
@@ -278,7 +278,7 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- if (!this.applicant) {
|
|
|
+ if (!this.applicant) {
|
|
|
this.$message({
|
|
|
message: '申请人不能为空!',
|
|
|
type: 'warning'
|
|
@@ -315,7 +315,7 @@
|
|
|
amount: this.amount,
|
|
|
warehouseId: this.cangid,
|
|
|
warehouseName: this.warehouseName,
|
|
|
- applicant:this.applicant
|
|
|
+ applicant: this.applicant
|
|
|
}).toPromise()
|
|
|
.then((response) => {
|
|
|
this.$notify.success({
|
|
@@ -351,6 +351,13 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
+ if (!this.applicant) {
|
|
|
+ this.$message({
|
|
|
+ message: '申请人不能为空!',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
if (this.amount < 0 || this.amount > 100000000) {
|
|
|
this.$message({
|
|
|
message: '金额输入错误!',
|
|
@@ -364,7 +371,8 @@
|
|
|
expenseName: this.expenseName,
|
|
|
amount: this.amount,
|
|
|
warehouseId: this.cangid,
|
|
|
- warehouseName: this.warehouseName
|
|
|
+ warehouseName: this.warehouseName,
|
|
|
+ applicant: this.applicant
|
|
|
}).toPromise()
|
|
|
.then((response) => {
|
|
|
this.$notify.success({
|
|
@@ -754,13 +762,14 @@
|
|
|
height: 178px;
|
|
|
display: block;
|
|
|
}
|
|
|
- .top-row{
|
|
|
+
|
|
|
+ .top-row {
|
|
|
display: flex;
|
|
|
padding-left: 20px;
|
|
|
- .left{
|
|
|
+
|
|
|
+ .left {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
</style>
|