[update] 绑定零部件
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
<!-- 批量删除 -->
|
<!-- 批量删除 -->
|
||||||
<a-button icon="delete" type="primary" ghost @click="batchDel">{{ $t('batchDelete') }}</a-button>
|
<a-button icon="delete" type="primary" ghost @click="batchDel">{{ $t('batchDelete') }}</a-button>
|
||||||
<!-- 使用绑定关系 -->
|
<!-- 使用绑定关系 -->
|
||||||
<a-button icon="setting" type="primary" ghost @click="useBindingRelationship">{{ $t('system.bindingParts.useBindingRelationship') }}</a-button>
|
<!--<a-button icon="setting" type="primary" ghost @click="useBindingRelationship">{{ $t('system.bindingParts.useBindingRelationship') }}</a-button>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- table区域-begin -->
|
<!-- table区域-begin -->
|
||||||
@@ -122,7 +122,7 @@ import { JeroListMixin } from '../../../mixins/JeroListMixin'
|
|||||||
import JTable from '../../../components/jero/JTable'
|
import JTable from '../../../components/jero/JTable'
|
||||||
import BingingPartsModal from './modules/BingingPartsModal'
|
import BingingPartsModal from './modules/BingingPartsModal'
|
||||||
import ClauseModal from './modules/ClauseModal'
|
import ClauseModal from './modules/ClauseModal'
|
||||||
import { postAction } from '../../../api/manage'
|
// import { postAction } from '../../../api/manage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'BindingParts',
|
name: 'BindingParts',
|
||||||
|
|||||||
@@ -150,15 +150,27 @@ export default {
|
|||||||
},
|
},
|
||||||
// 标准编号改变
|
// 标准编号改变
|
||||||
handleStandardChange (value) {
|
handleStandardChange (value) {
|
||||||
this.sarFileSplitInfoId = value[0].infoId
|
if (value[0]) {
|
||||||
this.model.docSplitId = value[0].infoId
|
this.sarFileSplitInfoId = value[0].infoId
|
||||||
this.model.standardId = value[0].id
|
this.model.docSplitId = value[0].infoId
|
||||||
this.model.standardType = value[0].standardType
|
this.model.standardId = value[0].id
|
||||||
this.form.resetFields(['clauseIds'])
|
this.model.standardType = value[0].standardType
|
||||||
this.model.clauseNos = ''
|
this.form.resetFields(['clauseIds'])
|
||||||
this.$nextTick(() => {
|
this.model.clauseNos = ''
|
||||||
this.form.setFieldsValue(pick(value[0], 'standardName'))
|
this.$nextTick(() => {
|
||||||
})
|
this.form.setFieldsValue(pick(value[0], 'standardName'))
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.sarFileSplitInfoId = ''
|
||||||
|
this.model.docSplitId = ''
|
||||||
|
this.model.standardId = ''
|
||||||
|
this.model.standardType = ''
|
||||||
|
this.form.resetFields(['clauseIds'])
|
||||||
|
this.model.clauseNos = ''
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.form.setFieldsValue(pick({standardName: ''}, 'standardName'))
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 条款号变化
|
// 条款号变化
|
||||||
handleClauseNameChange (value) {
|
handleClauseNameChange (value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user