This commit is contained in:
lcw
2026-03-14 19:46:21 +08:00
parent 93489b06fa
commit 9fb505eb8e
248 changed files with 21714 additions and 1840 deletions

View File

@ -114,7 +114,13 @@ const showBut = ref(false)
const listQuery = ref({});
const butShow = ref(false)
const title = ref('新增')
const showData=ref(false)
const showData = ref(false)
const props = defineProps({
rylx: {
type: String,
default: '01'
}
})
// 初始化数据
const init = (type, row) => {
dialogForm.value = true;
@ -207,7 +213,7 @@ const submit = async () => {
info.value.throwData()
// personnelTags.value.throwData(),
]);
tbGsxtZdrySave({...infoData,rylx:'01'}).then(res => {
tbGsxtZdrySave({...infoData,rylx:props.rylx}).then(res => {
proxy.$message({
message: '新增成功',
type: 'success',

View File

@ -117,6 +117,7 @@ import AddForm from "./components/addForm.vue";
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
import { useRouter, useRoute } from 'vue-router'
import { getItem } from "@/utils/storage.js";
const router = useRouter()
const route = useRoute()
const { proxy } = getCurrentInstance();
@ -188,9 +189,11 @@ const pageData = reactive({
{ label: "入库时间", prop: "zdrRkkssj", },
]
});
const isShiQzDelet = ref(false)
onMounted(() => {
tabHeightFn();
tabHeightFn();
const isShiQz = getItem('roleList').find(item => item.roleCode == 'JS_777777') != undefined
if (isShiQz) isShiQzDelet.value = true
if (route.query.id) {
addEdit('x', {
id: route.query.id

View File

@ -17,7 +17,7 @@
<div class="phone-input-container">
<div class="inputGroup" v-for="(item, index) in listQuery.ryLxdh" :key="index">
<el-input v-model="listQuery.ryLxdh[index]" class="group" placeholder="请输入电话号码" />
<div class="flex align-center but" v-if="showBut">
<div class="flex align-center but" >
<el-button type="primary" :icon="Plus" circle @click="addPhone" title="添加电话号码"
v-if="listQuery.ryLxdh.length - 1 == index" />
<el-button type="success" :icon="Minus" circle @click="removePhone(index)" title="删除电话号码" />