|
|
@@ -269,19 +269,19 @@
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
- <el-dialog v-model="copyshow" :before-close="closepositioningVisible" :title="复制" destroy-on-close>
|
|
|
+ <el-dialog v-model="copyshow" :before-close="closepositioningVisible" :title="复制" destroy-on-close width="700px" >
|
|
|
<el-row :gutter="24">
|
|
|
- <el-col :span="7">
|
|
|
+ <el-col :span="9">
|
|
|
<el-form-item label="日期:" prop="name" class="mab">
|
|
|
<el-input type="date" max="9999-12-31" v-model="formData.old_time" @blur="getcopylist" @keyup.enter.native="getcopylist" :clearable="true" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="7">
|
|
|
+ <el-col :span="9">
|
|
|
<el-form-item label="复制成:" prop="name" class="mab">
|
|
|
<el-input type="date" max="9999-12-31" v-model="formData.new_time" :clearable="true" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="3">
|
|
|
+ <el-col :span="6">
|
|
|
<el-button type="primary" @click="oncopyup">执行</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -671,6 +671,7 @@ const oncopyup = () => {
|
|
|
copySelection.value.forEach(subArr => {
|
|
|
subArr.old_time = formData.value.old_time;
|
|
|
subArr.new_time = formData.value.new_time;
|
|
|
+ subArr.sys_id = sys_id;
|
|
|
});
|
|
|
copy(copySelection.value).then(response=>{
|
|
|
if (response.code === 0) {
|
|
|
@@ -678,6 +679,7 @@ const oncopyup = () => {
|
|
|
type: 'success',
|
|
|
message: '复制成功'
|
|
|
})
|
|
|
+ getTableData()
|
|
|
copyshow.value=false
|
|
|
}
|
|
|
})
|