|
|
|
@ -6,23 +6,23 @@ |
|
|
|
label-width="80px"> |
|
|
|
<!-- 数量统计 班次信息 --> |
|
|
|
<fieldset class="customer-fieldset" style="margin-top: -10px; width: 260px;"> |
|
|
|
<legend>数量</legend> |
|
|
|
<legend>{{labels.scheduleQty}}</legend> |
|
|
|
<el-col :span="9" style="margin-left: 35px; margin-top: -8px;"> |
|
|
|
<el-form-item class="customer-item" label="总良品数量(PCS):" style="margin-top: -10px;"> |
|
|
|
<el-form-item class="customer-item" :label='labels.totalApprovedQty+"(PCS):"' style="margin-top: -10px;"> |
|
|
|
<el-input v-model="pageData.approvedQty" type="number" @blur="checkValidApprovedQty" |
|
|
|
style="width: 80px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="9" style="margin-top: -8px;"> |
|
|
|
<el-form-item class="customer-item" label="总不良品数量(PCS):" style="margin-top: -10px;"> |
|
|
|
<el-form-item class="customer-item" :label='labels.totalDefectedQty+"(PCS):"' style="margin-top: -10px;"> |
|
|
|
<el-input v-model="pageData.defectedQty" disabled="disabled" style="width: 100px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</fieldset> |
|
|
|
<fieldset class="customer-fieldset" style="margin-left: 266px; margin-top: -57px; width: 400px;"> |
|
|
|
<legend>排程班次</legend> |
|
|
|
<legend>{{labels.scheduleShift}}</legend> |
|
|
|
<el-col :span="8" style="margin-left: 55px; margin-top: -18px;"> |
|
|
|
<el-form-item :label="'当前时间'"> |
|
|
|
<el-form-item :label=labels.currentTime> |
|
|
|
<el-date-picker disabled="disabled" style="width: 145px;" |
|
|
|
v-model="pageData.reportedTime" |
|
|
|
format="yyyy-MM-dd HH:mm:ss" |
|
|
|
@ -32,12 +32,12 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" style="margin-left: 20px; margin-top: -8px;"> |
|
|
|
<el-form-item class="customer-item" label="排产日期:"> |
|
|
|
<el-form-item class="customer-item" :label=labels.scheduledDate> |
|
|
|
<el-input v-model="pageData.scheduledDate" disabled="disabled" style="width: 80px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5" style="margin-left: 5px; margin-top: -8px;"> |
|
|
|
<el-form-item class="customer-item" label="班次:"> |
|
|
|
<el-form-item class="customer-item" :label=labels.shiftNo> |
|
|
|
<el-input v-model="pageData.shiftDesc" disabled="disabled" style="width: 80px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -45,18 +45,18 @@ |
|
|
|
<!-- 生产时间的统计信息 --> |
|
|
|
<fieldset class="customer-fieldset" |
|
|
|
style="width: 666px;"> |
|
|
|
<legend>生产时间(只有结束的记录才会被统计)</legend> |
|
|
|
<legend>{{labels.prodTitle}}</legend> |
|
|
|
<!-- 调机时间 --> |
|
|
|
<el-row style="margin-top: -10px;"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="总调机时间(A1):"> |
|
|
|
<el-form-item :label='labels.totalTuningTime+"(A1):"'> |
|
|
|
<el-input v-model="pageData.totalSetupTime" disabled="disabled" style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="总调机过程停机时间(A2):"> |
|
|
|
<el-form-item :label='labels.totalTuningDownTime+"(A2):"'> |
|
|
|
<el-input v-model="pageData.totalDowntimeTimeSetup" disabled="disabled" |
|
|
|
style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="净调机时间(A3 = A1 - A2):"> |
|
|
|
<el-form-item :label='labels.totalPureTuningTime+"(A3 = A1 - A2):"'> |
|
|
|
<el-input v-model="pageData.totalPureSetupTime" disabled="disabled" style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -64,13 +64,13 @@ |
|
|
|
<!-- 生产时间 --> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="总生产时间(B1)"> |
|
|
|
<el-form-item :label='labels.totalProdTime+"(B1)"'> |
|
|
|
<el-input v-model="pageData.totalProdTime" disabled="disabled" style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="总生产过程停机时间(B2):"> |
|
|
|
<el-form-item :label='labels.totalProdDownTime+"(B2):"'> |
|
|
|
<el-input v-model="pageData.totalDowntimeTimeProd" disabled="disabled" style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="净生产时间(B3 = B1 - B2):"> |
|
|
|
<el-form-item :label='labels.totalPureProdTime+"(B3 = B1 - B2):"'> |
|
|
|
<el-input v-model="pageData.totalPureProdTime" disabled="disabled" style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -78,14 +78,14 @@ |
|
|
|
<!-- 制造时间 --> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="总制造时间(C1 = A1 + B1):"> |
|
|
|
<el-form-item :label='labels.totalManufTime+"(C1 = A1 + B1):"'> |
|
|
|
<el-input v-model="pageData.totalManufactureTime" disabled="disabled" style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="总制造过程停机时间(C2 = A2 + B2):"> |
|
|
|
<el-form-item :label='labels.totalManufDownTime+"(C2 = A2 + B2):"'> |
|
|
|
<el-input v-model="pageData.totalManufactureDowntimeTime" disabled="disabled" |
|
|
|
style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="净制造时间(C3 = A3 + B3):"> |
|
|
|
<el-form-item :label='labels.totalPureManufTime+"(C3 = A3 + B3):"'> |
|
|
|
<el-input v-model="pageData.totalPureManufactureTime" disabled="disabled" |
|
|
|
style="width: 200px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
@ -93,14 +93,14 @@ |
|
|
|
</el-row> |
|
|
|
</fieldset> |
|
|
|
<fieldset class="customer-fieldset" style="margin-left: 675px; margin-top: -209px; width: 180px;"> |
|
|
|
<legend class="customer-legend">功能</legend> |
|
|
|
<legend class="customer-legend">{{labels.functionTitle}}</legend> |
|
|
|
<el-form> |
|
|
|
<el-row style="margin-top: 18px; height: 55px;"> |
|
|
|
<el-col style="text-align: center"> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="finishScheduleBun" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
结单关闭 |
|
|
|
{{ buttons.finishScheduleButton }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -110,7 +110,7 @@ |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="closeDialog" |
|
|
|
style="margin-left: 10px; margin-bottom: 5px; width: 75px;"> |
|
|
|
关闭 |
|
|
|
{{ buttons.closeButton }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -119,28 +119,29 @@ |
|
|
|
<el-col style="text-align: center"> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="refreshPageData" style="margin-left: 10px; margin-bottom: 5px;"> |
|
|
|
刷新数据 |
|
|
|
{{ buttons.refreshButton }} |
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-button v-if="showDefault" @click="saveMultiLanguage()" type="primary">对语言设置</el-button> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
</fieldset> |
|
|
|
<!--时间记录的数据--> |
|
|
|
<fieldset class="customer-fieldset" style="width: 846px;"> |
|
|
|
<legend>时间记录</legend> |
|
|
|
<legend>{{labels.timeList}}</legend> |
|
|
|
<el-row style="margin-top: -35px; width: 280px;"> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item :label="''" style="margin-left: 15px;"> |
|
|
|
<el-checkbox style="margin-top: 28px;" true-label="N" false-label="Y" disabled="disabled" |
|
|
|
v-model="pageData.timeFinishedFlag">有记录未结束 |
|
|
|
v-model="pageData.timeFinishedFlag">{{labels.timeListNoFinish}} |
|
|
|
</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item :label="''" style="margin-left: 65px;"> |
|
|
|
<el-checkbox style="margin-top: 28px;" true-label="true" false-label="N" |
|
|
|
v-model="pageData.showNoFinishedTimeFlag">仅显示未结束记录 |
|
|
|
v-model="pageData.showNoFinishedTimeFlag">{{labels.timeListShowNoFinish}} |
|
|
|
</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -171,19 +172,19 @@ |
|
|
|
</fieldset> |
|
|
|
<!--刀模的使用记录--> |
|
|
|
<fieldset class="customer-fieldset" style="width: 846px;"> |
|
|
|
<legend>刀模使用</legend> |
|
|
|
<legend>{{labels.toolList}}</legend> |
|
|
|
<el-row style="margin-top: -35px; width: 280px;"> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item :label="''" style="margin-left: 15px;"> |
|
|
|
<el-checkbox style="margin-top: 28px;" true-label="N" false-label="Y" disabled="disabled" |
|
|
|
v-model="pageData.toolFinishedFlag">有记录未结束 |
|
|
|
v-model="pageData.toolFinishedFlag">{{labels.toolListNoFinish}} |
|
|
|
</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item :label="''" style="margin-left: 65px;"> |
|
|
|
<el-checkbox style="margin-top: 28px;" true-label="Y" false-label="N" |
|
|
|
v-model="pageData.showNoFinishedToolFlag">仅显示未结束使用刀模记录 |
|
|
|
v-model="pageData.showNoFinishedToolFlag">{{labels.toolListShowNoFinish}} |
|
|
|
</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -214,19 +215,19 @@ |
|
|
|
</fieldset> |
|
|
|
<!--材料的使用记录--> |
|
|
|
<fieldset class="customer-fieldset" style="width: 846px;"> |
|
|
|
<legend>材料使用</legend> |
|
|
|
<legend>{{labels.materialList}}</legend> |
|
|
|
<el-row style="margin-top: -35px; width: 280px;"> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item :label="''" style="margin-left: 15px;"> |
|
|
|
<el-checkbox style="margin-top: 28px;" true-label="N" false-label="Y" disabled="disabled" |
|
|
|
v-model="pageData.materialFinishedFlag">有记录未结束 |
|
|
|
v-model="pageData.materialFinishedFlag">{{labels.materialListNoFinish}} |
|
|
|
</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item :label="''" style="margin-left: 65px;"> |
|
|
|
<el-checkbox style="margin-top: 28px;" true-label="Y" false-label="N" |
|
|
|
v-model="pageData.showNoFinishedMaterialFlag">仅显示未结束使用材料记录 |
|
|
|
v-model="pageData.showNoFinishedMaterialFlag">{{labels.materialListShowNoFinish}} |
|
|
|
</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -283,10 +284,26 @@ |
|
|
|
repackFinishScheduleWithNoFqc |
|
|
|
} from '@/api/yieldReport/com_finish_schedule.js'; |
|
|
|
|
|
|
|
import { |
|
|
|
searchSysLanguagePackList, |
|
|
|
searchSysLanguageParam, |
|
|
|
searchFunctionButtonList, |
|
|
|
saveButtonList, |
|
|
|
searchSysLanguage, |
|
|
|
searchLanguageListByLanguageCode, |
|
|
|
saveSysLanguageOne, |
|
|
|
searchPageLanguageData, |
|
|
|
removerLanguage, |
|
|
|
saveSysLanguageList |
|
|
|
} from "@/api/sysLanguage.js"; |
|
|
|
|
|
|
|
var functionId = 'C10000007'; |
|
|
|
|
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
titleCon: '', |
|
|
|
showDefault: false, |
|
|
|
showExceptionFlag: false, |
|
|
|
scheduleNo: 0, |
|
|
|
pageData: { |
|
|
|
@ -882,6 +899,252 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
dataListLoading: false, |
|
|
|
buttons: { |
|
|
|
finishScheduleButton: '结单关闭', |
|
|
|
closeButton: '关闭', |
|
|
|
refreshButton: '刷新数据', |
|
|
|
}, |
|
|
|
buttonList: [ |
|
|
|
{ |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '结单关闭', |
|
|
|
objectId: 'finishScheduleButton', |
|
|
|
objectType: 'button', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '关闭', |
|
|
|
objectId: 'closeButton', |
|
|
|
objectType: 'button', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '刷新数据', |
|
|
|
objectId: 'refreshButton', |
|
|
|
objectType: 'button', |
|
|
|
tableId: '*' |
|
|
|
}, |
|
|
|
], |
|
|
|
queryButton: { |
|
|
|
functionId: functionId, |
|
|
|
table_id: '*', |
|
|
|
languageCode: this.$i18n.locale, |
|
|
|
objectType: 'button' |
|
|
|
}, |
|
|
|
labels: { |
|
|
|
titleCon: '结束派工单 ', |
|
|
|
seqNoName: '派工单号:', |
|
|
|
scheduleQty: '数量', |
|
|
|
totalApprovedQty: '总良品数量:', |
|
|
|
totalDefectedQty: '总不良数量:', |
|
|
|
scheduleShift: '排程班次', |
|
|
|
currentTime: '当前时间:', |
|
|
|
scheduledDate: '排程日期:', |
|
|
|
shiftNo: '班次:', |
|
|
|
prodTitle: '生产时间(只有结束的记录才会被统计)', |
|
|
|
totalTuningTime: '总调机时间', |
|
|
|
totalTuningDownTime: '总调机过程停机时间', |
|
|
|
totalPureTuningTime: '净调机时间', |
|
|
|
totalProdTime: '总生产时间', |
|
|
|
totalProdDownTime: '总生产过程停机时间', |
|
|
|
totalPureProdTime: '净生产时间', |
|
|
|
totalManufTime: '总制造时间', |
|
|
|
totalManufDownTime: '总制造过程停机时间', |
|
|
|
totalPureManufTime: '净制造时间', |
|
|
|
functionTitle: '功能', |
|
|
|
timeList: '时间记录', |
|
|
|
timeListNoFinish: '有记录未结束', |
|
|
|
timeListShowNoFinish: '仅显示未结束记录', |
|
|
|
toolList: '刀模使用', |
|
|
|
totalListNoFinish: '有记录未结束', |
|
|
|
totalListShowNoFinish: '仅显示未结束使用刀模记录', |
|
|
|
materialList: '材料使用', |
|
|
|
materialListNoFinish: '有记录未结束', |
|
|
|
materialListShowNoFinish: '仅显示未结束使用材料记录', |
|
|
|
}, |
|
|
|
labelsList: [ |
|
|
|
{ |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '结束派工单 ', |
|
|
|
objectId: 'titleCon', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '派工单号:', |
|
|
|
objectId: 'seqNoName', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '数量', |
|
|
|
objectId: 'scheduleQty', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '总良品数量:', |
|
|
|
objectId: 'totalApprovedQty', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '总不良数量:', |
|
|
|
objectId: 'totalDefectedQty', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '排程班次', |
|
|
|
objectId: 'scheduleShift', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '当前时间:', |
|
|
|
objectId: 'currentTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '排程日期:', |
|
|
|
objectId: 'scheduledDate', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '班次:', |
|
|
|
objectId: 'shiftNo', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '生产时间(只有结束的记录才会被统计)', |
|
|
|
objectId: 'prodTitle', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '总调机时间', |
|
|
|
objectId: 'totalTuningTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '总调机过程停机时间', |
|
|
|
objectId: 'totalTuningDownTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '净调机时间', |
|
|
|
objectId: 'totalPureTuningTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '总生产时间', |
|
|
|
objectId: 'totalProdTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '总生产过程停机时间', |
|
|
|
objectId: 'totalProdDownTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '净生产时间', |
|
|
|
objectId: 'totalPureProdTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '总制造时间', |
|
|
|
objectId: 'totalManufTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '总制造过程停机时间', |
|
|
|
objectId: 'totalManufDownTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '净制造时间', |
|
|
|
objectId: 'totalPureManufTime', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '时间记录', |
|
|
|
objectId: 'timeList', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '功能', |
|
|
|
objectId: 'functionTitle', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '有记录未结束', |
|
|
|
objectId: 'timeListNoFinish', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '仅显示未结束时间记录:', |
|
|
|
objectId: 'timeListShowNoFinish', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '刀模使用', |
|
|
|
objectId: 'toolList', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '有记录未结束:', |
|
|
|
objectId: 'toolListNoFinish', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '仅显示未结束使用刀模记录', |
|
|
|
objectId: 'toolListShowNoFinish', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '材料使用:', |
|
|
|
objectId: 'materialList', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '有记录未结束', |
|
|
|
objectId: 'materialListNoFinish: ', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, { |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '仅显示未结束使用材料记录:', |
|
|
|
objectId: 'materialListShowNoFinish', |
|
|
|
objectType: 'label', |
|
|
|
tableId: '*' |
|
|
|
}, |
|
|
|
], |
|
|
|
queryLabel: { |
|
|
|
functionId: functionId, |
|
|
|
table_id: '*', |
|
|
|
languageCode: this.$i18n.locale, |
|
|
|
objectType: 'label' |
|
|
|
}, |
|
|
|
} |
|
|
|
}, |
|
|
|
components: { |
|
|
|
@ -902,8 +1165,7 @@ |
|
|
|
//初始化操作员对象 |
|
|
|
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|
|
|
//初始化标题 |
|
|
|
this.titleCon = '结束派工单 \ |
|
|
|
派工单号:' + scheduleData.seqNo; |
|
|
|
this.titleCon = this.labels.titleCon+this.labels.seqNoName+ scheduleData.seqNo; |
|
|
|
//处理异常的原因 |
|
|
|
this.pageData.exceptionFlag = 'N'; |
|
|
|
this.pageData.exceptionReason = ''; |
|
|
|
@ -1145,11 +1407,44 @@ |
|
|
|
this.pageData.exceptionReason = exceptionReason; |
|
|
|
//然后提交结束派工单的数据 |
|
|
|
this.finishScheduleOperation(); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 保存 默认配置 列 |
|
|
|
async saveMultiLanguage() { |
|
|
|
// 保存页面 button label title 属性 |
|
|
|
let buttons = this.buttonList; |
|
|
|
let labels = this.labelsList; |
|
|
|
await saveButtonList(buttons) |
|
|
|
await saveButtonList(labels) |
|
|
|
this.getMultiLanguageList() |
|
|
|
}, |
|
|
|
|
|
|
|
getMultiLanguageList() { |
|
|
|
//首先查询当前按钮的多语言 |
|
|
|
searchFunctionButtonList(this.queryButton).then(({data}) => { |
|
|
|
if (JSON.stringify(data.data) != '{}') { |
|
|
|
this.buttons = data.data |
|
|
|
} else { |
|
|
|
// saveButtonList(this.buttonList).then(({data}) => { |
|
|
|
// }) |
|
|
|
} |
|
|
|
}); |
|
|
|
//其次查询当前标签的多语言 |
|
|
|
searchFunctionButtonList(this.queryLabel).then(({data}) => { |
|
|
|
if (JSON.stringify(data.data) != '{}') { |
|
|
|
this.labels = data.data |
|
|
|
} else { |
|
|
|
// saveButtonList(this.buttonList).then(({data}) => { |
|
|
|
// }) |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
created() { |
|
|
|
// this.factoryList() |
|
|
|
// this.getLanguageList() |
|
|
|
this.getMultiLanguageList()//刷新按钮 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|