[需求变更]-支出合同详情、去掉支出合同的是否打包、收入合同新增查询条件
This commit is contained in:
@@ -163,6 +163,7 @@
|
||||
<a-input placeholder="请输入已收金额"
|
||||
v-decorator="['amountReceived',validatorRules.amountReceived]"
|
||||
:maxLength='50'
|
||||
:disabled="true"
|
||||
@blur="addZero"
|
||||
@change="amountReceivedChange"></a-input>
|
||||
</a-form-item>
|
||||
@@ -208,7 +209,7 @@
|
||||
<a-col :xxl="6" :xl="8" :sm="12">
|
||||
<a-form-item label="是否打包" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<j-dict-select-tag v-decorator="['pack', validatorRules.pack]"
|
||||
:triggerChange="true"
|
||||
:trigger-change="true"
|
||||
placeholder="请选择是否打包"
|
||||
dictCode="yn"
|
||||
:disabled="isSaved"
|
||||
@@ -449,10 +450,15 @@ export default {
|
||||
add() {
|
||||
this.title = '新建收入合同'
|
||||
this.$refs.installmentForm.initInstallmentList([])
|
||||
// 税率默认为6
|
||||
// 税率默认为6,已收金额默认为0
|
||||
let obj = {
|
||||
rate: 6,
|
||||
amountReceived: '0.00'
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue({ rate: 6 })
|
||||
this.form.setFieldsValue(pick(obj, 'rate', 'amountReceived'))
|
||||
})
|
||||
this.amountReceivedNum = 0
|
||||
this.rateNum = 6 / 100
|
||||
},
|
||||
edit(id) {
|
||||
|
||||
Reference in New Issue
Block a user