| | |
| | | <el-table-column :width="130" prop="cage" :label="$t('Cage No')"></el-table-column>
|
| | | <el-table-column :width="130" prop="cell" :label="$t('Slot No')"></el-table-column>
|
| | | <el-table-column :width="180" prop="glassId" :label="$t('Outfeed glass barcode')"></el-table-column>
|
| | | <el-table-column :width="130" prop="orderId"
|
| | | :label="$t('Order No')"></el-table-column>
|
| | | <el-table-column :width="130" prop="orderId" :label="$t('Order No')"></el-table-column>
|
| | | <el-table-column prop="orderId" :label="$t('List No')"></el-table-column>
|
| | | <el-table-column prop="orderId" :label="$t('Box No')"></el-table-column>
|
| | | <el-table-column :width="130" prop="lengthWidth" :label="$t('Dim')">
|
| | |
| | | <el-table-column :width="130" prop="cage" :label="$t('Cage No')"></el-table-column>
|
| | | <el-table-column :width="130" prop="cell" :label="$t('Slot No')"></el-table-column>
|
| | | <el-table-column :width="180" prop="glassId" :label="$t('Infeed glass barcode')"></el-table-column>
|
| | | <el-table-column :width="130" prop="orderId"
|
| | | :label="$t('Order No')"></el-table-column>
|
| | | <el-table-column :width="130" prop="orderId" :label="$t('Order No')"></el-table-column>
|
| | | <el-table-column prop="orderId" :label="$t('List No')"></el-table-column>
|
| | | <el-table-column prop="orderId" :label="$t('Box No')"></el-table-column>
|
| | | <el-table-column :width="130" prop="lengthWidth" :label="$t('Dim')">
|
| | |
| | | <el-table-column :width="55" prop="tier" :label="$t('The Side')"></el-table-column>
|
| | | <el-table-column :width="145" prop="glassId" :label="$t('Barcode')"></el-table-column>
|
| | | <el-table-column :width="100" prop="orderId" :label="$t('Order No')"></el-table-column>
|
| | | <el-table-column :width="80" prop="listId"
|
| | | :label="$t('List No')"></el-table-column>
|
| | | <el-table-column :width="80" prop="listId" :label="$t('List No')"></el-table-column>
|
| | | <el-table-column :width="100" prop="boxId" :label="$t('Box No')"></el-table-column>
|
| | | <el-table-column :width="100" prop="state" :label="$t('State')">
|
| | | <template slot-scope='scope'>
|
| | | {{ scope.row.state==1?$t('Normal'):scope.row.state==2?$t('Entering'):scope.row.state==3?$t('Outing'):"" }}
|
| | | {{
|
| | | scope.row.state == 1 ? $t('Normal') : scope.row.state == 2 ? $t('Entering') : scope.row.state == 3 ? $t('Outing') : ""
|
| | | }}
|
| | | </template>
|
| | | </el-table-column>
|
| | | <el-table-column :width="150" prop="lengthWidth" :label="$t('Dim')">
|
| | | <template slot-scope='scope'>
|
| | | {{ scope.row.glassWidthMm }}{{scope.row.glassWidthMm>0?"*":""}}{{ scope.row.glassHeightMm }}
|
| | | {{ scope.row.glassWidthMm }}{{ scope.row.glassWidthMm > 0 ? "*" : "" }}{{ scope.row.glassHeightMm }}
|
| | | </template>
|
| | | </el-table-column>
|
| | | <el-table-column :width="280" :label="$t('Operate')">
|
| | | <template slot-scope='scope'>
|
| | | <el-button type="primary" style="padding: 4px 10px;font-size: 12px;"
|
| | | @click="deleteglass(scope.row.glassId, scope.row.state)">{{ $t('Delete') }}</el-button>
|
| | | <el-button type="primary" style="padding: 4px 10px;font-size: 12px;" :disabled="scope.row.state==1?false:true"
|
| | | <el-button type="primary" style="padding: 4px 10px;font-size: 12px;"
|
| | | :disabled="scope.row.state == 1 ? false : true"
|
| | | @click="outglass(scope.row.glassId, scope.row.state)">{{ $t('Out') }}</el-button>
|
| | | <el-button type="primary" style="padding: 4px 10px;font-size: 12px;"
|
| | | @click="UpdateDisabled(scope.row.cage, scope.row.cell, scope.row.disabled == 0 ? 1 : 0)">
|
| | | {{ scope.row.disabled == 0 ? $t('Enable') : $t('Disable') }}</el-button>
|
| | | <el-button type="primary" style="padding: 4px 10px;font-size: 12px;" :disabled="scope.row.glassId!=null?true:false"
|
| | | <el-button type="primary" style="padding: 4px 10px;font-size: 12px;"
|
| | | :disabled="scope.row.glassId != null ? true : false"
|
| | | @click="insertglass(scope.row.cage, scope.row.cell, scope.row.tier)">{{ $t('Increase')
|
| | | }}</el-button>
|
| | | </template>
|
| | |
| | | <el-form-item>
|
| | | <el-input style="width:50%;margin-left: 20%;" :placeholder="$t('Enter the glass barcode')"
|
| | | v-model="glassid2"></el-input>
|
| | | <el-button type="primary" @click="SelectGlassByGlassIDs(1)" >{{ $t('Query')
|
| | | <el-button type="primary" @click="SelectGlassByGlassIDs(1)">{{ $t('Query')
|
| | | }}</el-button>
|
| | | </el-form-item>
|
| | | <el-form-item>
|
| | | <el-input style="width:50%;margin-left: 20%;" :placeholder="$t('Enter the glass barcode')"
|
| | | v-model="glassid1"></el-input>
|
| | | <el-button type="primary" @click="SelectGlassByGlassIDs(2)" >{{ $t('Query')
|
| | | <el-button type="primary" @click="SelectGlassByGlassIDs(2)">{{ $t('Query')
|
| | | }}</el-button>
|
| | | </el-form-item>
|
| | | </div>
|
| | |
| | | </el-form-item>
|
| | | </div>
|
| | | <div style="display: flex;justify-content: space-around;">
|
| | | <el-button @click="DeleteQueueGlasss(2)" type="primary" >{{ $t('Clear Current')
|
| | | <el-button @click="DeleteQueueGlasss(2)" type="primary">{{ $t('Clear Current')
|
| | | }}</el-button>
|
| | | <el-button @click="InsertQueueGlass(2)" type="primary" :disabled="disabled">
|
| | | {{ $t('Confirm Modification') }}</el-button>
|
| | | <el-button @click="DeleteQueueGlasss(1)" type="primary" >{{ $t('Clear Current')
|
| | | <el-button @click="DeleteQueueGlasss(1)" type="primary">{{ $t('Clear Current')
|
| | | }}</el-button>
|
| | | <el-button @click="InsertQueueGlass(1)" type="primary" :disabled="disabled1">
|
| | | {{ $t('Confirm Modification') }}</el-button>
|
| | |
| | |
|
| | | <el-dialog :visible.sync="dialogFormVisible6" :title="$t('Production queue')" top="5vh">
|
| | | <el-button type="primary" @click="showform7()">{{ $t('Increase') }}</el-button>
|
| | | <el-button type="primary" @click="isAllowQueueState()">{{ this.isAllowQueue==true?$t('Stop'):$t('Start') }}</el-button>
|
| | | |
| | | <el-button type="primary" @click="isAllowQueueState()">{{ this.isAllowQueue == true ? $t('Stop') : $t('Start')
|
| | | }}</el-button>
|
| | |
|
| | | <el-table :data="this.OutSlice" :height="700" border style="width: 100%;overflow: auto;">
|
| | | <el-table-column prop="glassId" :label="$t('Barcode')"></el-table-column>
|
| | | <el-table-column prop="storageCage.orderId" :label="$t('Order No')"></el-table-column>
|
| | |
| | | OutSlice: [],
|
| | | AluminumFrame: [],
|
| | | framebarcode: "",
|
| | | isAllowQueue:true
|
| | | isAllowQueue: true
|
| | | };
|
| | | },
|
| | | created() {
|
| | |
| | | this.tasklist2 = obj.tasklist2[0];
|
| | | this.alarm = obj.alarmmg[0];
|
| | |
|
| | | this.isAllowQueue=obj.isAllowQueue;
|
| | | console.log(obj);
|
| | | this.isAllowQueue = obj.isAllowQueue;
|
| | | //出片队列
|
| | | this.OutSlice = obj.listoutslice[0];
|
| | | this.loadglassheight = obj.loadglassheight;
|
| | |
| | | SelectGlassByGlassID(this.glassid).then(res => {
|
| | | if (res.data.form != null) {
|
| | | this.form = res.data.form;
|
| | | console.log(this.form);
|
| | | this.dialogFormVisible = true;
|
| | | this.$message.success(this.$t('query was successful'));
|
| | | } else {
|
| | |
| | | showform7() {
|
| | | SelectAluminumFrameInfoById(this.framebarcode).then(res => {
|
| | | this.AluminumFrame = res.data.listAluminumFrame;
|
| | | this.AluminumFrame.sort(function (x, y) {
|
| | | if(x['storageCage']!=null&&y['storageCage']!=null){
|
| | | return y['storageCage']['tier'] - x['storageCage']['tier'];
|
| | | }
|
| | | });
|
| | | this.AluminumFrame.forEach(item => {
|
| | | if (item.storageCage != null && item.out_slice == null) {
|
| | | item.isCheck = true;
|
| | |
| | | InsertQueueGlass(parameter) {
|
| | | if (parameter == 1 && this.form5.glassId != "") {
|
| | | if (this.form5.glassId != this.form2.glassId) {
|
| | | InsertQueueGlassId(1,this.form5).then(res => {
|
| | | InsertQueueGlassId(1, this.form5).then(res => {
|
| | | if (res.data.message == 200) {
|
| | | this.form5 = {};
|
| | | this.$message.success(this.$t('Operation successful'));
|
| | |
| | | }
|
| | | } else if (parameter == 2 && this.form4.glassId != "") {
|
| | | if (this.form4.glassId != this.form3.glassId) {
|
| | | InsertQueueGlassId(2,this.form4).then(res => {
|
| | | InsertQueueGlassId(2, this.form4).then(res => {
|
| | | if (res.data.message == 200) {
|
| | | this.form4 = {};
|
| | | this.$message.success(this.$t('Operation successful'));
|
| | |
| | | arr.splice(index, 1, ...arr.splice(index + 1, 1, arr[index]));
|
| | | },
|
| | | //切换出片队列状态
|
| | | isAllowQueueState(){
|
| | | isAllowQueues(!this.isAllowQueue).then(res=>{
|
| | | isAllowQueueState() {
|
| | | isAllowQueues(!this.isAllowQueue).then(res => {
|
| | | if (res.data.message == 200) {
|
| | | this.$message.success(this.$t('Operation successful'));
|
| | | }
|