合同
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
layout="total, sizes, prev, pager, next, jumper">
|
||||
</el-pagination>
|
||||
<!-- 弹窗, 新增 / 修改 -->
|
||||
<add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" :contractOpt="contractOpt" :clientIdOpt="clientIdOpt" :dictsOpt="dictsOpt" @refreshDataList="getDataList"></add-or-update>
|
||||
<add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" :cartypeOpt="cartypeOpt" :contractOpt="contractOpt" :clientIdOpt="clientIdOpt" :dictsOpt="dictsOpt" @refreshDataList="getDataList"></add-or-update>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -147,11 +147,12 @@
|
||||
dataListLoading: false,
|
||||
dataListSelections: [],
|
||||
addOrUpdateVisible: false,
|
||||
cartypeOpt: [],
|
||||
contractOpt: [],
|
||||
clientIdOpt: []
|
||||
}
|
||||
},
|
||||
mixins: [dictDetail(['car_type', 'error_type'])],
|
||||
mixins: [dictDetail(['error_type'])],
|
||||
components: {
|
||||
AddOrUpdate
|
||||
},
|
||||
@@ -161,6 +162,16 @@
|
||||
},
|
||||
methods: {
|
||||
getDictDetail () {
|
||||
this.$http({
|
||||
url: this.$http.adornUrl('/car/car/list?page=0&limit=9999'),
|
||||
method: 'get'
|
||||
}).then(({data}) => {
|
||||
this.cartypeOpt = data.page.list
|
||||
this.cartypeOpt.map(el => {
|
||||
this.$set(el, 'value', el.carId)
|
||||
this.$set(el, 'label', el.carName)
|
||||
})
|
||||
})
|
||||
this.$http({
|
||||
url: this.$http.adornUrl('/flow/contract/list?page=0&limit=9999'),
|
||||
method: 'get'
|
||||
|
||||
Reference in New Issue
Block a user