| | |
| | | <template> |
| | | <div> |
| | | <el-button @click="HandlerSave" v-if="hasEditor" size="small" type="primary" style="margin-bottom: 20px">保存</el-button> |
| | | <el-button @click="HandlerSave" v-if="hasEditor" size="small" type="primary" style="margin-bottom: 10px">保存</el-button> |
| | | <el-table |
| | | v-loading="isLoading" |
| | | :data="tableData" |
| | |
| | | :prop="item.prop" |
| | | :sortable="item.sortable" |
| | | :formatter="item.formatter" |
| | | :width="item.label.length >=4 ?'150':item.label.length==3 ?'120':'90'" |
| | | :width="item.width" |
| | | :show-overflow-tooltip="true" |
| | | align="center" |
| | | > |
| | |
| | | :type="item.edit" :format="item.dateFormate" :value-format="item.dateFormate" |
| | | placeholder="选择日期"> |
| | | </el-date-picker> |
| | | <vciWebRefer v-if="editingRow === row && editShow== item.prop && item.edit == 'refer'" |
| | | <vciWebRefer |
| | | :key="item.prop" :data-key="item.prop" |
| | | v-if="editingRow === row && editShow== item.prop && item.edit == 'refer'" |
| | | :referConfig="item.referConfig || {}" |
| | | :value="row[item.referConfig.field] || row[item.prop]" |
| | | :text="row[item.referConfig.showField]" :disabled="item.disabled" :display="item.display" |
| | |
| | | return newitem; |
| | | }) |
| | | batchUpdateCode(datas).then(res => { |
| | | if (res.data.data.success) { |
| | | if (res.data.success) { |
| | | this.$message.success("修改成功"); |
| | | this.BuinseseRend() |
| | | } |
| | | }) |
| | | } |