Browse Source

前端业务

master
Rui_Li 12 months ago
parent
commit
15d99dd4dd
  1. 2
      src/views/modules/tooling/components/com_tool_info_add_update.vue
  2. 2
      src/views/modules/tooling/components/com_tool_instance_add_update.vue
  3. 6
      src/views/modules/tooling/components/com_tool_property_show.vue
  4. 6
      src/views/modules/tooling/components/orderProperties.vue

2
src/views/modules/tooling/components/com_tool_info_add_update.vue

@ -372,7 +372,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
let strVal = '' let strVal = ''
if(val === 1019 || val === 1023){ if(val === 1019 || val === 1023){
let strCon = ' AND site = \''+ this.pageData.site+'\'';
let strCon = ' AND site = \'*\'';
this.$refs.baseList.init(val, strVal, strCon) this.$refs.baseList.init(val, strVal, strCon)
}else{ }else{
this.$refs.baseList.init(val, strVal) this.$refs.baseList.init(val, strVal)

2
src/views/modules/tooling/components/com_tool_instance_add_update.vue

@ -375,7 +375,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
let strVal = '' let strVal = ''
if(val === 1020 || val === 1021 || val === 1022 || val === 1024){ if(val === 1020 || val === 1021 || val === 1022 || val === 1024){
let strCon = ' AND site = \''+ this.pageData.site+'\'';
let strCon = ' AND site = \'*\'';
this.$refs.baseList.init(val, strVal, strCon) this.$refs.baseList.init(val, strVal, strCon)
}else{ }else{
this.$refs.baseList.init(val, strVal) this.$refs.baseList.init(val, strVal)

6
src/views/modules/tooling/components/com_tool_property_show.vue

@ -24,7 +24,7 @@
</el-row> </el-row>
<!--工具属性的使用记录--> <!--工具属性的使用记录-->
<fieldset class="customer-fieldset" style="width: 650px;"> <fieldset class="customer-fieldset" style="width: 650px;">
<legend>生命周期维护</legend>
<legend>属性维护</legend>
<propertyTable ref="propertyTable" v-if="visible" :order-no="dataNo" :code-no="propertyNo" :function-type="propertyType"></propertyTable> <propertyTable ref="propertyTable" v-if="visible" :order-no="dataNo" :code-no="propertyNo" :function-type="propertyType"></propertyTable>
</fieldset> </fieldset>
</el-form> </el-form>
@ -70,7 +70,7 @@ export default {
this.propertyNo = toolInfo.propertyNo; this.propertyNo = toolInfo.propertyNo;
this.propertyType = 'TL'; this.propertyType = 'TL';
this.titleCon = '工具属性维护'; this.titleCon = '工具属性维护';
this.pageData.site = toolInfo.site;
this.pageData.site = '*';
this.pageData.toolId = toolInfo.toolId; this.pageData.toolId = toolInfo.toolId;
this.pageData.toolInstance = ''; this.pageData.toolInstance = '';
}else if(dataType === 'TLI'){ }else if(dataType === 'TLI'){
@ -79,7 +79,7 @@ export default {
this.propertyNo = toolInfo.propertyNo; this.propertyNo = toolInfo.propertyNo;
this.propertyType = 'TLI'; this.propertyType = 'TLI';
this.titleCon = '工具实例属性维护'; this.titleCon = '工具实例属性维护';
this.pageData.site = toolInfo.site;
this.pageData.site = '*';
this.pageData.toolId = toolInfo.toolId; this.pageData.toolId = toolInfo.toolId;
this.pageData.toolInstance = toolInfo.toolInstance; this.pageData.toolInstance = toolInfo.toolInstance;
} }

6
src/views/modules/tooling/components/orderProperties.vue

@ -287,7 +287,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let params = { let params = {
site: this.$store.state.user.site,
site: '*',
partNo: this.orderNo, partNo: this.orderNo,
codeNo: this.codeNo, codeNo: this.codeNo,
recordType: this.functionType, recordType: this.functionType,
@ -309,7 +309,7 @@ export default {
}, },
getProperties(){ getProperties(){
let params = { let params = {
site:this.$store.state.user.site,
site: '*',
partNo: this.orderNo, partNo: this.orderNo,
codeNo: this.codeNo, codeNo: this.codeNo,
recordType: this.functionType, recordType: this.functionType,
@ -414,7 +414,7 @@ export default {
this.searchDataList = []; this.searchDataList = [];
} }
let inData={ let inData={
site:this.$store.state.user.site,
site: '*',
functionType: this.functionType, functionType: this.functionType,
list :this.dataList, list :this.dataList,
} }

Loading…
Cancel
Save