|
@@ -71,7 +71,7 @@
|
|
<el-col>
|
|
<el-col>
|
|
<!-- 刀具校验 -->
|
|
<!-- 刀具校验 -->
|
|
<el-button type="primary" icon="el-icon-data-analysis" size="medium" v-has-permission="['order:checkCuttingTool']" @click="checkCuttingTool">{{$t("runCenter.buttons.checkCuttingTool")}}</el-button>
|
|
<el-button type="primary" icon="el-icon-data-analysis" size="medium" v-has-permission="['order:checkCuttingTool']" @click="checkCuttingTool">{{$t("runCenter.buttons.checkCuttingTool")}}</el-button>
|
|
-
|
|
|
|
|
|
+
|
|
<el-button type="primary" icon="el-icon-finished" size="medium" v-has-permission="['order:onebtn']" @click="viewPg">{{$t("runCenter.buttons.onebtn")}}</el-button>
|
|
<el-button type="primary" icon="el-icon-finished" size="medium" v-has-permission="['order:onebtn']" @click="viewPg">{{$t("runCenter.buttons.onebtn")}}</el-button>
|
|
<!--<el-button type="success" icon="el-icon-finished" size="medium" v-has-permission="['order:gostBtn']" @click="editOne">{{$t("runCenter.buttons.gostBtn")}}</el-button>-->
|
|
<!--<el-button type="success" icon="el-icon-finished" size="medium" v-has-permission="['order:gostBtn']" @click="editOne">{{$t("runCenter.buttons.gostBtn")}}</el-button>-->
|
|
<el-button type="primary" icon="el-icon-finished" size="medium" v-has-permission="['order:onebtn']" @click="viewConf" v-show="false">高级排产配置</el-button>
|
|
<el-button type="primary" icon="el-icon-finished" size="medium" v-has-permission="['order:onebtn']" @click="viewConf" v-show="false">高级排产配置</el-button>
|
|
@@ -236,7 +236,7 @@
|
|
style="color: #2db7f5;"
|
|
style="color: #2db7f5;"
|
|
@click="dyPriority(row)"
|
|
@click="dyPriority(row)"
|
|
/>
|
|
/>
|
|
- </el-tooltip>
|
|
|
|
|
|
+ </el-tooltip>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -358,7 +358,7 @@
|
|
|
|
|
|
<dy-priority
|
|
<dy-priority
|
|
ref="dyPriority"
|
|
ref="dyPriority"
|
|
- :dialog-visible.sync="dyPriorityVisible"
|
|
|
|
|
|
+ :dialog-visible.sync="dyPriorityVisible"
|
|
@close="dyClose"
|
|
@close="dyClose"
|
|
@success="editSuccess"
|
|
@success="editSuccess"
|
|
/>
|
|
/>
|
|
@@ -586,8 +586,8 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
dyPriority(row){
|
|
dyPriority(row){
|
|
- this.$refs.dyPriority.setTenant(row)
|
|
|
|
- this.dyPriorityVisible = true
|
|
|
|
|
|
+ this.$refs.dyPriority.setTenant(row)
|
|
|
|
+ this.dyPriorityVisible = true
|
|
},
|
|
},
|
|
orderOperateBtn(row,command){
|
|
orderOperateBtn(row,command){
|
|
// 如果是:【暂停】
|
|
// 如果是:【暂停】
|
|
@@ -664,7 +664,7 @@
|
|
},
|
|
},
|
|
// 【删除】按钮-事件
|
|
// 【删除】按钮-事件
|
|
orderDelete(){
|
|
orderDelete(){
|
|
- if(this.checkData()){
|
|
|
|
|
|
+ if(this.checkData()){
|
|
this.$confirm(this.$t("runCenter.tips.orderTips"), this.$t("common.tips"), {
|
|
this.$confirm(this.$t("runCenter.tips.orderTips"), this.$t("common.tips"), {
|
|
distinguishCancelAndClose: true,
|
|
distinguishCancelAndClose: true,
|
|
confirmButtonText: this.$t("common.confirm"),
|
|
confirmButtonText: this.$t("common.confirm"),
|
|
@@ -774,7 +774,7 @@
|
|
}
|
|
}
|
|
if(this.selection.length == 1){
|
|
if(this.selection.length == 1){
|
|
this.tenant.prority = this.selection[0].prority
|
|
this.tenant.prority = this.selection[0].prority
|
|
- }
|
|
|
|
|
|
+ }
|
|
return flag
|
|
return flag
|
|
},
|
|
},
|
|
// 【提交审核】按钮-事件
|
|
// 【提交审核】按钮-事件
|
|
@@ -841,7 +841,7 @@
|
|
this.$emit("audioStatus", val)
|
|
this.$emit("audioStatus", val)
|
|
},
|
|
},
|
|
dyClose(){
|
|
dyClose(){
|
|
- this.dyPriorityVisible = false
|
|
|
|
|
|
+ this.dyPriorityVisible = false
|
|
},
|
|
},
|
|
viewClose () {
|
|
viewClose () {
|
|
this.tenantViewVisible = false
|
|
this.tenantViewVisible = false
|
|
@@ -1113,6 +1113,7 @@
|
|
})
|
|
})
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+
|
|
let planIds = ""
|
|
let planIds = ""
|
|
this.selection.forEach(item => {
|
|
this.selection.forEach(item => {
|
|
planIds = planIds + item.id + ","
|
|
planIds = planIds + item.id + ","
|
|
@@ -1123,6 +1124,7 @@
|
|
|
|
|
|
this.planId = planIds
|
|
this.planId = planIds
|
|
this.checkCuttingToolsVisible = true
|
|
this.checkCuttingToolsVisible = true
|
|
|
|
+
|
|
},
|
|
},
|
|
|
|
|
|
checkCuttingToolsClose(){
|
|
checkCuttingToolsClose(){
|