|
@@ -28,7 +28,7 @@
|
|
|
>
|
|
|
<el-option label="常规递增" :value="1" />
|
|
|
<el-option label="奇数递增" :value="2" />
|
|
|
- <el-option label="偶数递增" :value="2" />
|
|
|
+ <el-option label="偶数递增" :value="3" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
@@ -144,7 +144,7 @@
|
|
|
>
|
|
|
<el-option label="常规递增" value="1" />
|
|
|
<el-option label="奇数递增" value="2" />
|
|
|
- <el-option label="偶数递增" value="2" />
|
|
|
+ <el-option label="偶数递增" value="3" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
@@ -188,6 +188,7 @@ const props = defineProps({
|
|
|
tableId: [String, Number],
|
|
|
treeId: [String, Number],
|
|
|
classify:[String, Number],
|
|
|
+ keyVal:[String, Number],
|
|
|
})
|
|
|
|
|
|
//事件
|
|
@@ -198,7 +199,7 @@ const contractId = ref(props.contractId)
|
|
|
const table_id = ref(props.tableId)
|
|
|
const tree_id = ref(props.treeId)
|
|
|
const classify = ref(props.classify)
|
|
|
-const key = ref(props.key)
|
|
|
+const key = ref(props.keyVal)
|
|
|
|
|
|
//监听
|
|
|
watch(() => [
|
|
@@ -207,7 +208,7 @@ watch(() => [
|
|
|
props.tableId,
|
|
|
props.treeId,
|
|
|
props.classify,
|
|
|
- props.key,
|
|
|
+ props.keyVal,
|
|
|
], ([pid, cid, tableId, treeId, cfy, Key]) => {
|
|
|
projectId.value = pid
|
|
|
contractId.value = cid
|
|
@@ -216,7 +217,7 @@ watch(() => [
|
|
|
classify.value = cfy
|
|
|
key.value = Key
|
|
|
})
|
|
|
-const codeType = ref(1)
|
|
|
+
|
|
|
const formCode = ref({
|
|
|
type:1,
|
|
|
|
|
@@ -228,6 +229,8 @@ const getSeparatorOptions = async () => {
|
|
|
//渲染完成
|
|
|
onMounted(() => {
|
|
|
getSeparatorOptions()
|
|
|
+ console.log(key.value, 'key.value')
|
|
|
+
|
|
|
})
|
|
|
|
|
|
|