Browse Source

2025/6/3

master
Aoi_Tori 11 months ago
parent
commit
bdec0bfeb7
  1. 11
      src/views/modules/oss/ossComponents.vue
  2. 19
      src/views/modules/part/partCatalogInformation.vue
  3. 13
      src/views/modules/part/partInformation.vue
  4. 7
      src/views/modules/part/routingManagement.vue
  5. 8
      src/views/modules/quotation/requestForQuote.vue
  6. 2
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue
  7. 6
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue

11
src/views/modules/oss/ossComponents.vue

@ -109,6 +109,8 @@ export default {
this.fileList = fileList this.fileList = fileList
}, },
handleUploadFiles(){ handleUploadFiles(){
console.log('单号为:')
console.log(this.ossForm.orderRef2)
if (this.fileList.length === 0){ if (this.fileList.length === 0){
this.$message.error('请选择文件'); this.$message.error('请选择文件');
return; return;
@ -255,7 +257,16 @@ export default {
this.dataList = []; this.dataList = [];
this.handleQuery(); this.handleQuery();
} }
},
orderRef2(newVal) {
this.ossForm.orderRef2 = newVal;
},
'ossForm.orderRef2'(newVal) {
this.$emit('update:orderRef2', newVal);
} }
},
mounted() {
this.ossForm.orderRef2 = this.orderRef2;
} }
} }
</script> </script>

19
src/views/modules/part/partCatalogInformation.vue

@ -435,6 +435,13 @@
Chooselist Chooselist
}, },
watch: { watch: {
'$route'(to) {
const newPartNo = to.params.ifsPartNo
if (newPartNo && newPartNo !== this.searchData.partNo) {
this.searchData.partNo = newPartNo
this.getDataList()
}
},
searchData: { searchData: {
deep: true, deep: true,
handler: function (newV, oldV) { handler: function (newV, oldV) {
@ -1124,6 +1131,18 @@
}, },
created () { created () {
this.searchData = {
site: this.$store.state.user.site,
partNo: '',
partDesc: '',
page: 1,
limit: 10
}
const {ifsPartNo} = this.$route.params;
if (ifsPartNo) {
this.searchData.partNo = ifsPartNo;
console.log('赋值成功')
}
this.getDataList() this.getDataList()
}, },

13
src/views/modules/part/partInformation.vue

@ -112,7 +112,7 @@
fixed="right" fixed="right"
header-align="center" header-align="center"
align="center" align="center"
width="120"
width="100"
label="操作"> label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-link v-if="isAuth('104001001:details')" style="cursor: pointer" @click="detailsModal(scope.row)">详情</el-link> <el-link v-if="isAuth('104001001:details')" style="cursor: pointer" @click="detailsModal(scope.row)">详情</el-link>
@ -511,12 +511,11 @@
<el-tab-pane label="Characteristics" style="margin-top: -15px" name="Characteristics"> <el-tab-pane label="Characteristics" style="margin-top: -15px" name="Characteristics">
<el-form label-position="top" style="margin-left: 2px;"> <el-form label-position="top" style="margin-left: 2px;">
<el-form-item> <el-form-item>
<span v-if="modalData.flag === '4'" slot="label">属性模板</span>
<span v-else style="cursor: pointer" slot="label" @click="getBaseList(20)"><a herf="#">属性模板</a></span>
<el-input v-model="modalData.codeNo" :disabled="modalData.flag === '4'" @change="codeNoBlur(20)" style="width: 128px"></el-input>
<span style="cursor: pointer" slot="label" @click="getBaseList(20)"><a herf="#">属性模板</a></span>
<el-input v-model="modalData.codeNo" @change="codeNoBlur(20)" style="width: 128px"></el-input>
<el-input v-model="modalData.codeDesc" disabled style="width: 330px"></el-input> <el-input v-model="modalData.codeDesc" disabled style="width: 330px"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="modalData.flag !== '4'" label=" ">
<el-form-item label=" ">
<el-button type="primary" @click="savePartItemModal">新增</el-button> <el-button type="primary" @click="savePartItemModal">新增</el-button>
<el-button type="primary" @click="deletePartItemModal">删除</el-button> <el-button type="primary" @click="deletePartItemModal">删除</el-button>
</el-form-item> </el-form-item>
@ -565,7 +564,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="modalDisableFlag" style="margin-top: -10px" label="Revisions" name="Revisions"> <el-tab-pane v-if="modalDisableFlag" style="margin-top: -10px" label="Revisions" name="Revisions">
<el-button v-if="modalData.flag !== '4'" type="primary" @click="savePartRevisionModal">新增</el-button>
<el-button type="primary" @click="savePartRevisionModal">新增</el-button>
<el-table <el-table
:data="revisionList" :data="revisionList"
height="355px" height="355px"
@ -593,7 +592,7 @@
align="center" align="center"
width="100" width="100"
label="操作"> label="操作">
<template v-if="modalData.flag !== '4'" slot-scope="scope">
<template slot-scope="scope">
<el-link style="cursor: pointer" @click="updateRevisionModal(scope.row)">编辑</el-link> <el-link style="cursor: pointer" @click="updateRevisionModal(scope.row)">编辑</el-link>
<el-link style="cursor: pointer" @click="deleteRevisionModal(scope.row)">删除</el-link> <el-link style="cursor: pointer" @click="deleteRevisionModal(scope.row)">删除</el-link>
</template> </template>

7
src/views/modules/part/routingManagement.vue

@ -651,7 +651,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-footer style="height:35px;margin-top:25px;text-align:center"> <el-footer style="height:35px;margin-top:25px;text-align:center">
<el-button type="primary" @click="routingToolSave()">保存</el-button>
<el-button type="primary" :loading="loading" @click="routingToolSave()">保存</el-button>
<el-button type="primary" @click="saveRoutingToolModal = false">关闭</el-button> <el-button type="primary" @click="saveRoutingToolModal = false">关闭</el-button>
</el-footer> </el-footer>
</el-dialog> </el-dialog>
@ -1289,6 +1289,7 @@ export default {
data() { data() {
return { return {
initPage: false, initPage: false,
loading: false,
// //
exportData: [], exportData: [],
exportName: 'Routing列表' + this.dayjs().format('YYYYMMDDHHmmss'), exportName: 'Routing列表' + this.dayjs().format('YYYYMMDDHHmmss'),
@ -4856,9 +4857,11 @@ export default {
return return
} }
if (this.routingToolData.flag === '1') { if (this.routingToolData.flag === '1') {
this.loading = true
routingToolSave(this.routingToolData).then(({data}) => { routingToolSave(this.routingToolData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.searchRoutingTools() this.searchRoutingTools()
this.loading = false
this.saveRoutingToolModal = false this.saveRoutingToolModal = false
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
@ -4874,9 +4877,11 @@ export default {
} }
}) })
} else { } else {
this.loading = true
routingToolEdit(this.routingToolData).then(({data}) => { routingToolEdit(this.routingToolData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.searchRoutingTools() this.searchRoutingTools()
this.loading = false
this.saveRoutingToolModal = false this.saveRoutingToolModal = false
this.$message({ this.$message({
message: '操作成功', message: '操作成功',

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

@ -600,7 +600,7 @@
</el-form> </el-form>
<el-footer style="text-align:center;height: 30px;line-height: 30px;"> <el-footer style="text-align:center;height: 30px;line-height: 30px;">
<el-button type="primary" @click="rejectSubmit">确定</el-button> <el-button type="primary" @click="rejectSubmit">确定</el-button>
<el-button type="primary" @click="rejectVisible = false">取消</el-button>
<el-button type="primary" @click="closeRejectForm">取消</el-button>
</el-footer> </el-footer>
</el-dialog> </el-dialog>
@ -3567,7 +3567,11 @@ export default {
handleCurrentChange(val){ handleCurrentChange(val){
this.no = val this.no = val
this.getProjectPartList(); this.getProjectPartList();
}
},
closeRejectForm(){
this.rejectVisible = false
this.rejectOpinion = ''
},
} }
} }
</script> </script>

2
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue

@ -74,7 +74,7 @@
<div v-highlight-container> <div v-highlight-container>
<el-input v-if="scope.row.valueTypeDb === 'T'&&scope.row.valueChooseFlag === 'N'" v-model="scope.row.textValue" style="height: 11px;padding: 0px ;width:98%" allow-create :disabled="ifDisableFlag" ></el-input> <el-input v-if="scope.row.valueTypeDb === 'T'&&scope.row.valueChooseFlag === 'N'" v-model="scope.row.textValue" style="height: 11px;padding: 0px ;width:98%" allow-create :disabled="ifDisableFlag" ></el-input>
<div v-if="scope.row.valueTypeDb === 'S'&&scope.row.valueChooseFlag === 'N'"><el-input v-model="scope.row.textValue" style="height: 11px;padding: 0px ;width:98%" allow-create :disabled="ifDisableFlag"></el-input></div> <div v-if="scope.row.valueTypeDb === 'S'&&scope.row.valueChooseFlag === 'N'"><el-input v-model="scope.row.textValue" style="height: 11px;padding: 0px ;width:98%" allow-create :disabled="ifDisableFlag"></el-input></div>
<el-input v-if="scope.row.valueTypeDb === 'N'&&scope.row.valueChooseFlag === 'N'" v-model="scope.row.numValue" type="number" style="height: 11px;padding: 0px;width:98%" allow-create :disabled="ifDisableFlag"></el-input>
<el-input v-if="scope.row.valueTypeDb === 'N'&&scope.row.valueChooseFlag === 'N'" v-model="scope.row.numValue" type="number" @input="(value) => scope.row.numValue = value.replace(/[^0-9.]/g, '')" style="height: 11px;padding: 0px;width:98%" allow-create :disabled="ifDisableFlag"></el-input>
<el-select v-if="scope.row.valueTypeDb === 'T'&&scope.row.valueChooseFlag === 'Y'" v-model="scope.row.textValue" placeholder="请选择" style="height: 11px;padding: 0px " allow-create :disabled="ifDisableFlag"> <el-select v-if="scope.row.valueTypeDb === 'T'&&scope.row.valueChooseFlag === 'Y'" v-model="scope.row.textValue" placeholder="请选择" style="height: 11px;padding: 0px " allow-create :disabled="ifDisableFlag">
<el-option <el-option
v-for="item in scope.row.availableValueList" v-for="item in scope.row.availableValueList"

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

@ -104,8 +104,11 @@
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="3"> <el-col :span="3">
<el-form-item label="ECN Number">
<!-- <el-form-item label="ECN Number">
<el-input @focus="jumpPage('A')" ref="jumpA" class="blue-input yzz2" v-model="dataForm.ecnUpgradeVersion" readonly></el-input> <el-input @focus="jumpPage('A')" ref="jumpA" class="blue-input yzz2" v-model="dataForm.ecnUpgradeVersion" readonly></el-input>
</el-form-item>-->
<el-form-item label="ECN Number">
<el-input @focus="jumpPage('A')" ref="jumpA" class="blue-input yzz2" v-model="dataForm.ecnNo" readonly></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
@ -471,6 +474,7 @@
cqcOperatorList:[], cqcOperatorList:[],
faiOperatorList:[], faiOperatorList:[],
relevancePartNo:'', relevancePartNo:'',
ecnUpgradeVersion:''
}, },
dataRole: { dataRole: {
partTypeDesc: [ partTypeDesc: [

Loading…
Cancel
Save