|
@@ -141,7 +141,7 @@
|
|
|
<el-input v-model="inputForm.telPhone" placeholder="请填写电话" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col v-if="inputForm.billingType === '1'" :span="12">
|
|
|
+ <el-col v-if="inputForm.billingType === '1' && status !== 'audit'" :span="12">
|
|
|
<el-form-item label="开户银行" prop="openBank"
|
|
|
:rules="[
|
|
|
{required: true, message:'开户银行不能为空', trigger:'blur'},{required: true, message:'开户银行不能为空', trigger:'change'}
|
|
@@ -156,6 +156,14 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col v-else="inputForm.billingType === '1' && status === 'audit'" :span="12">
|
|
|
+ <el-form-item label="开户银行" prop="openBank"
|
|
|
+ :rules="[
|
|
|
+ {required: true, message:'开户银行不能为空', trigger:'blur'},{required: true, message:'开户银行不能为空', trigger:'change'}
|
|
|
+ ]">
|
|
|
+ <el-input :readonly="true" placeholder="请填写开户银行" v-model="inputForm.openBank" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col v-if="inputForm.billingType === '1'" :span="12">
|
|
|
<el-form-item label="银行账号" prop="bankAccount"
|
|
|
:rules="[
|
|
@@ -485,7 +493,6 @@
|
|
|
:precision="2"
|
|
|
placeholder="请填写开票金额"
|
|
|
:step="0.01"
|
|
|
- :min="0"
|
|
|
>
|
|
|
</el-input-number>
|
|
|
</template>
|
|
@@ -809,7 +816,6 @@
|
|
|
this.loading = false
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.inputForm.resetFields()
|
|
|
- this.loading = true
|
|
|
this.financeInvoiceService.queryById(this.inputForm.id).then(async (data) => {
|
|
|
await this.$refs.uploadComponent.clearUpload()
|
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
@@ -817,6 +823,9 @@
|
|
|
if (!this.commonJS.isEmpty(this.inputForm.billingWorkplaceRealId)) {
|
|
|
this.workClientService.findById(this.inputForm.billingWorkplaceRealId).then((data) => {
|
|
|
this.bankList = data.workClientBank
|
|
|
+ this.bankList.forEach(i=>{
|
|
|
+ this.inputForm.openBank=i.ourBank
|
|
|
+ })
|
|
|
})
|
|
|
}
|
|
|
if (this.commonJS.isEmpty(this.inputForm.workAttachmentDtoList) || this.inputForm.workAttachmentDtoList.length === 0) {
|