Browse Source

2025-04-30

master
qiezi 9 months ago
parent
commit
651475b768
  1. 2
      src/views/modules/quotation/requestForQuote.vue
  2. 20
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
  3. 7
      src/views/modules/sys/role.vue
  4. 11
      src/views/modules/test/requestForTest.vue
  5. 8
      src/views/modules/tooling/searchToolApply.vue

2
src/views/modules/quotation/requestForQuote.vue

@ -272,7 +272,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="place" prop="place">
<el-form-item label="地点" prop="place">
<el-input v-model="modalData.place" :disabled="(quotationInformationFlag('place') === 'N' && modalData.flag === '2') || detailVisible" clearable></el-input> <el-input v-model="modalData.place" :disabled="(quotationInformationFlag('place') === 'N' && modalData.flag === '2') || detailVisible" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

20
src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue

@ -879,24 +879,33 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.dataForm.engineerList = [];
this.dataForm.engineerList.push(this.dataForm.engineerNo);
this.dataForm.technicianList = [];
this.dataForm.technicianList.push(this.dataForm.technicianNo);
let tempData = { let tempData = {
...this.dataForm,
site: this.searchData.site, site: this.searchData.site,
userName: this.$store.state.user.name, userName: this.$store.state.user.name,
codeNo: this.searchData.codeNo, codeNo: this.searchData.codeNo,
menuId: '103002',
nodeConclusion: 'Y'
menuId: '103002'
} }
this.submitData(tempData) this.submitData(tempData)
}) })
}, },
// //
issueModal (row) {
issueModal () {
this.$confirm(`是否确认下达?`, '提示', { this.$confirm(`是否确认下达?`, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.dataForm.engineerList = [];
this.dataForm.engineerList.push(this.dataForm.engineerNo);
this.dataForm.technicianList = [];
this.dataForm.technicianList.push(this.dataForm.technicianNo);
let tempData = { let tempData = {
...this.dataForm,
site: this.searchData.site, site: this.searchData.site,
userName: this.$store.state.user.name, userName: this.$store.state.user.name,
codeNo: this.searchData.codeNo, codeNo: this.searchData.codeNo,
@ -928,7 +937,12 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.dataForm.engineerList = [];
this.dataForm.engineerList.push(this.dataForm.engineerNo);
this.dataForm.technicianList = [];
this.dataForm.technicianList.push(this.dataForm.technicianNo);
let tempData = { let tempData = {
...this.dataForm,
site: this.searchData.site, site: this.searchData.site,
userName: this.$store.state.user.name, userName: this.$store.state.user.name,
codeNo: this.searchData.codeNo, codeNo: this.searchData.codeNo,

7
src/views/modules/sys/role.vue

@ -21,6 +21,13 @@
align="center" align="center"
:label="buttons.roleName||'权限集名称'"> :label="buttons.roleName||'权限集名称'">
</el-table-column> </el-table-column>
<el-table-column
prop="superFlag"
header-align="center"
width="80"
align="center"
:label="buttons.superFlag||'超级管理员'">
</el-table-column>
<el-table-column <el-table-column
prop="remark" prop="remark"
header-align="center" header-align="center"

11
src/views/modules/test/requestForTest.vue

@ -157,7 +157,6 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<selectDiv ref="selectDiv"></selectDiv> <selectDiv ref="selectDiv"></selectDiv>
<!-- 分页插件 --> <!-- 分页插件 -->
@ -242,7 +241,7 @@
<el-input :disabled="(testInformationFlag('productName') === 'N' && modalData.flag === '2') || detailFlag" v-model="modalData.productName"></el-input> <el-input :disabled="(testInformationFlag('productName') === 'N' && modalData.flag === '2') || detailFlag" v-model="modalData.productName"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4">
<el-col :span="8">
<el-form-item label="So Number" prop="soNumber"> <el-form-item label="So Number" prop="soNumber">
<el-input :disabled="(testInformationFlag('soNumber') === 'N' && modalData.flag === '2') || detailFlag" v-model="modalData.soNumber"></el-input> <el-input :disabled="(testInformationFlag('soNumber') === 'N' && modalData.flag === '2') || detailFlag" v-model="modalData.soNumber"></el-input>
</el-form-item> </el-form-item>
@ -2647,10 +2646,10 @@
this.$message.warning('请选择客户名称!') this.$message.warning('请选择客户名称!')
return return
} }
if (this.modalData.tracker === '' || this.modalData.tracker == null) {
this.$message.warning('请选择Artwork!')
return
}
// if (this.modalData.tracker === '' || this.modalData.tracker == null) {
// this.$message.warning('Artwork')
// return
// }
// if (this.modalData.trackerName === '' || this.modalData.trackerName == null) { // if (this.modalData.trackerName === '' || this.modalData.trackerName == null) {
// this.$message.warning('Artwork') // this.$message.warning('Artwork')
// return // return

8
src/views/modules/tooling/searchToolApply.vue

@ -2117,7 +2117,7 @@
this.searchData.page = this.pageIndex this.searchData.page = this.pageIndex
searchProjectToolApplyHeader(this.searchData).then(({data}) => { searchProjectToolApplyHeader(this.searchData).then(({data}) => {
if (data.code == 0) {
if (data && data.code === 0) {
this.dataList1 = data.page.list this.dataList1 = data.page.list
this.pageIndex = data.page.currPage this.pageIndex = data.page.currPage
this.pageSize = data.page.pageSize this.pageSize = data.page.pageSize
@ -2136,14 +2136,14 @@
}) })
} }
if (localStorage.getItem('ToolApplyData') != null&&localStorage.getItem('ToolApplyData') != undefined) {
if (localStorage.getItem('ToolApplyData') != null && localStorage.getItem('ToolApplyData') !== undefined) {
let data = JSON.parse(localStorage.getItem('ToolApplyData')); let data = JSON.parse(localStorage.getItem('ToolApplyData'));
if (data){ if (data){
this.searchData.applyNo = data.applyNo this.searchData.applyNo = data.applyNo
} }
this.searchData.limit = this.pageSize this.searchData.limit = this.pageSize
this.searchData.page = this.pageIndex this.searchData.page = this.pageIndex
console.log(this.searchData)
// console.log(this.searchData)
searchProjectToolApplyHeader(this.searchData).then(({data}) => { searchProjectToolApplyHeader(this.searchData).then(({data}) => {
if (data.code == 0) { if (data.code == 0) {
this.dataList1 = data.page.list this.dataList1 = data.page.list
@ -2154,7 +2154,7 @@
this.$refs.mainTable.setCurrentRow(this.dataList1[0]); this.$refs.mainTable.setCurrentRow(this.dataList1[0]);
this.currentRow = JSON.parse( JSON.stringify(this.dataList1[0])); this.currentRow = JSON.parse( JSON.stringify(this.dataList1[0]));
// //
this.editModalU(this.dataList1[0])
// this.editModalU(this.dataList1[0])
}else { }else {
this.currentRow ={} this.currentRow ={}
} }

Loading…
Cancel
Save