| | |
| | | let language = ref(localStorage.getItem('lang') || 'zh') |
| | | const selectedProjectNoa = ref(null); |
| | | const configName = ref(''); |
| | | const configNamesearch = ref(''); |
| | | const configCode = ref(''); |
| | | const configCodesearch = ref(''); |
| | | const tableData = ref([]) |
| | | const currentPage2 = ref(1) |
| | | const totalRecords = ref(0) |
| | |
| | | formattedUpdateTime: formatTimestamp(record.updateTime), |
| | | })); |
| | | tableData.value = formattedData; |
| | | totalRecords.value = response.data.total/2 || 0 |
| | | totalRecords.value = response.data.pages*10 |
| | | } else { |
| | | ElMessage.warning(response.data); |
| | | } |
| | |
| | | const response = await request.post('/loadGlass/sys/sysConfig/queryConfigPage',{ |
| | | pageNo: 1, |
| | | pageSize: 10, |
| | | configName: configName.value, |
| | | configCode: configCode.value, |
| | | configName: configNamesearch.value, |
| | | configCode: configCodesearch.value, |
| | | configValue: configValuesearch.value, |
| | | isEnable: isEnablesearch.value !== '' ? isEnablesearch.value : -1, |
| | | |
| | |
| | | formattedUpdateTime: formatTimestamp(record.updateTime), |
| | | })); |
| | | tableData.value = formattedData; |
| | | totalRecords.value = response.data.total/2 || 0 |
| | | totalRecords.value = response.data.pages*10 |
| | | } else { |
| | | ElMessage.warning(response.data); |
| | | } |
| | |
| | | formattedUpdateTime: formatTimestamp(record.updateTime), |
| | | })); |
| | | tableData.value = formattedData; |
| | | totalRecords.value = response.data.total/2 || 0 |
| | | totalRecords.value = response.data.pages*10 |
| | | } else { |
| | | ElMessage.warning(response.data); |
| | | } |
| | |
| | | adda.value = true; |
| | | configValue.value = row.configValue |
| | | isEnable.value = row.isEnable |
| | | configName.value = row.configName |
| | | window.localStorage.setItem('id', row.id) |
| | | window.localStorage.setItem('configName', row.configName) |
| | | window.localStorage.setItem('configCode', row.configCode) |
| | |
| | | <div> |
| | | <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > |
| | | <div style="display: flex;width: 1770px;"> |
| | | <el-input v-model="configName" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" :placeholder="$t('productStock.configName')" /> |
| | | <el-input v-model="configCode" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" @input="handleInputa" :placeholder="$t('productStock.configCode')" /> |
| | | <el-input v-model="configNamesearch" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" :placeholder="$t('productStock.configName')" /> |
| | | <el-input v-model="configCodesearch" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" @input="handleInputa" :placeholder="$t('productStock.configCode')" /> |
| | | <el-input v-model="configValuesearch" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" @input="handleInputb" :placeholder="$t('productStock.configValue')" /> |
| | | <el-select v-model="isEnablesearch" clearable style="margin-left: 10px;margin-bottom: 10px;width: 200px;" :placeholder="$t('sorter.startstatus')"> |
| | | <el-option :label="$t('sorter.start')" value="1"></el-option> |
| | |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | <el-dialog v-model="adda" top="23vh" width="37%" :title="$t('productStock.reusername')" > |
| | | <el-dialog v-model="adda" top="23vh" width="37%" > |
| | | <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> |
| | | <el-form ref="formRef" label-width="150px"> |
| | | <el-form label-width="120px" label-position="right"> |
| | |
| | | <el-col :span="6"> |
| | | <div id="dt" style="font-size: 15px;"> |
| | | <div> |
| | | <el-form-item :label="$t('productStock.configNamea')" :required="true" style="width: 25vw"> |
| | | <el-input :placeholder="$t('productStock.configName')" disabled v-model="configName" autocomplete="off" style="width: 350px;"/> |
| | | </el-form-item></div></div> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 10px;margin-bottom: -2px;"> |
| | | <el-col :span="6"> |
| | | <div id="dt" style="font-size: 15px;"> |
| | | <div> |
| | | <el-form-item :label="$t('productStock.configValuea')" :required="true" style="width: 25vw"> |
| | | <el-input :placeholder="$t('productStock.configValue')" v-model="configValue" autocomplete="off" style="width: 350px;"/> |
| | | </el-form-item></div></div> |