|
|
@ -9,9 +9,6 @@ |
|
|
</div> |
|
|
</div> |
|
|
<el-button @click="getDataList('Y')" type="primary">{{ buttons.search }}</el-button> |
|
|
<el-button @click="getDataList('Y')" type="primary">{{ buttons.search }}</el-button> |
|
|
<el-button @click="initAddModel(null)" type="primary">{{ buttons.addLabelName }}</el-button> |
|
|
<el-button @click="initAddModel(null)" type="primary">{{ buttons.addLabelName }}</el-button> |
|
|
<el-button @click="saveColumnList()" type="primary" v-show="showDefault">{{ buttons.defaultTable }} |
|
|
|
|
|
</el-button> |
|
|
|
|
|
<el-button @click="userSetting()" type="primary">{{ buttons.settingTable }}</el-button> |
|
|
|
|
|
<download-excel |
|
|
<download-excel |
|
|
:fields="fields()" |
|
|
:fields="fields()" |
|
|
:data="exportData" |
|
|
:data="exportData" |
|
|
@ -231,6 +228,21 @@ |
|
|
<el-radio v-model="currentPRDetailData.addFlag" label="1">是</el-radio> |
|
|
<el-radio v-model="currentPRDetailData.addFlag" label="1">是</el-radio> |
|
|
<el-radio v-model="currentPRDetailData.addFlag" label="2">否</el-radio> |
|
|
<el-radio v-model="currentPRDetailData.addFlag" label="2">否</el-radio> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="'寿命'"> |
|
|
|
|
|
<el-input oninput="value=value.replace(/^\.+|[^\d.]/g,'')" style="text-align: right;width: 120px" |
|
|
|
|
|
v-model="currentPRDetailData.lifespan" |
|
|
|
|
|
></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="'实例号'"> |
|
|
|
|
|
<el-input style="text-align: right;width: 120px" |
|
|
|
|
|
v-model="currentPRDetailData.toolInstanceId" |
|
|
|
|
|
></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="'备注'"> |
|
|
|
|
|
<el-input style="text-align: right;width: 315px" |
|
|
|
|
|
v-model="currentPRDetailData.remark" |
|
|
|
|
|
></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
@ -1287,6 +1299,9 @@ |
|
|
this.currentPRDetailData.partdesc = '' |
|
|
this.currentPRDetailData.partdesc = '' |
|
|
this.currentPRDetailData.orderref1 = '' |
|
|
this.currentPRDetailData.orderref1 = '' |
|
|
this.currentPRDetailData.addFlag = '' |
|
|
this.currentPRDetailData.addFlag = '' |
|
|
|
|
|
this.currentPRDetailData.lifespan = '' |
|
|
|
|
|
this.currentPRDetailData.remark = '' |
|
|
|
|
|
this.currentPRDetailData.toolInstanceId = '' |
|
|
this.addFlagShow = true |
|
|
this.addFlagShow = true |
|
|
} else { |
|
|
} else { |
|
|
this.addFlagShow = false |
|
|
this.addFlagShow = false |
|
|
@ -1302,6 +1317,9 @@ |
|
|
this.currentPRDetailData.taxCode = row.taxCode |
|
|
this.currentPRDetailData.taxCode = row.taxCode |
|
|
this.currentPRDetailData.partDesc = row.partdesc |
|
|
this.currentPRDetailData.partDesc = row.partdesc |
|
|
this.currentPRDetailData.orderref1 = row.orderref1 |
|
|
this.currentPRDetailData.orderref1 = row.orderref1 |
|
|
|
|
|
this.currentPRDetailData.lifespan = row.lifespan |
|
|
|
|
|
this.currentPRDetailData.remark = row.remark |
|
|
|
|
|
this.currentPRDetailData.toolInstanceId = row.toolInstanceId |
|
|
this.getFileList(row) |
|
|
this.getFileList(row) |
|
|
} |
|
|
} |
|
|
/* if (val != 'Y') { |
|
|
/* if (val != 'Y') { |
|
|
|