修改
This commit is contained in:
parent
9a0583dc08
commit
b039bc4a96
@ -130,7 +130,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
@ -40,6 +40,14 @@ import DictData from '@/components/DictData'
|
||||
import webSite from '@/config/website'
|
||||
Vue.prototype.website = webSite
|
||||
|
||||
import ElementUI from 'element-ui'
|
||||
import 'element-ui/lib/theme-chalk/index.css' // 默认主题
|
||||
|
||||
//全局修改默认配置,点击空白处不能关闭弹窗
|
||||
ElementUI.Dialog.props.closeOnClickModal.default = false
|
||||
console.log(ElementUI.Dialog)
|
||||
Vue.use(ElementUI)
|
||||
|
||||
// 全局方法挂载
|
||||
Vue.prototype.getDicts = getDicts
|
||||
Vue.prototype.getConfigKey = getConfigKey
|
||||
|
@ -396,7 +396,7 @@ export default {
|
||||
status: "",
|
||||
top: 0,
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
@ -322,7 +322,7 @@ export default {
|
||||
status: "",
|
||||
top: 0,
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
@ -238,7 +238,7 @@ export default {
|
||||
// // 选中的人员
|
||||
// nowList: [],
|
||||
// 最终选中传给父组件的人员
|
||||
selectList: this.inputValue,
|
||||
selectList: [],
|
||||
// isshow=1,是单选,2是多选
|
||||
isshow: 2,
|
||||
// 遮罩层
|
||||
@ -275,14 +275,14 @@ export default {
|
||||
this.$nextTick(() => {});
|
||||
},
|
||||
mounted() {
|
||||
// this.$nextTick(() => {
|
||||
// this.inputValue.forEach((item) => {
|
||||
// this.selectList.push(item);
|
||||
// });
|
||||
// if (this.show) {
|
||||
// this.isshow = this.show;
|
||||
// }
|
||||
// });
|
||||
this.$nextTick(() => {
|
||||
this.inputValue.forEach((item) => {
|
||||
this.selectList.push(item);
|
||||
});
|
||||
// if (this.show) {
|
||||
// this.isshow = this.show;
|
||||
// }
|
||||
});
|
||||
},
|
||||
computed: {
|
||||
user() {
|
||||
@ -394,7 +394,6 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.$emit("getSelectList", this.selectList);
|
||||
},
|
||||
//表格全选事件
|
||||
@ -417,7 +416,6 @@ export default {
|
||||
this.selectList.splice(this.selectList.indexOf(item), 1);
|
||||
});
|
||||
}
|
||||
|
||||
this.submit();
|
||||
},
|
||||
submit() {
|
||||
|
@ -411,7 +411,7 @@ export default {
|
||||
machineryIds: "",
|
||||
machineryTypeName: "",
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
@ -461,7 +461,7 @@ export default {
|
||||
url: null,
|
||||
originalName: null,
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
@ -296,7 +296,7 @@ export default {
|
||||
active: 0,
|
||||
remark: null,
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
@ -191,7 +191,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -294,6 +294,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加班组";
|
||||
this.optType = "add";
|
||||
genCode('CAL_TEAM_CODE').then(response =>{
|
||||
this.form.teamCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -386,7 +386,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
@ -719,7 +719,7 @@ export default {
|
||||
updateTime: null,
|
||||
idList: "",
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -764,11 +764,13 @@ export default {
|
||||
this.optType = "add";
|
||||
this.open = true;
|
||||
this.title = "新增设备";
|
||||
genCode("MACHINERY_CODE").then((response) => {
|
||||
this.form.machineryCode = response;
|
||||
});
|
||||
},
|
||||
|
||||
saveInvolvedUserId() {
|
||||
this.addInvolvedUserIdVisible = false;
|
||||
|
||||
// this.$emit("getSelectList", this.selectList);
|
||||
},
|
||||
|
||||
|
@ -294,7 +294,7 @@ export default {
|
||||
components: {Repairline,MachinerySelectSingle},
|
||||
data() {
|
||||
return {
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -427,6 +427,9 @@ export default {
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = "添加设备维修单";
|
||||
genCode('REPAIR_CODE').then(response =>{
|
||||
this.form.repairCode = response;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
@ -281,7 +281,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
@ -464,7 +464,7 @@ export default {
|
||||
maxStock: 0,
|
||||
remark: undefined
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
@ -353,7 +353,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -485,7 +485,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -510,6 +510,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加客户";
|
||||
this.optType = "add";
|
||||
genCode('CLIENT_CODE').then(response =>{
|
||||
this.form.clientCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -531,7 +531,7 @@ export default {
|
||||
optType: undefined,
|
||||
remark: undefined
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -572,6 +572,9 @@ export default {
|
||||
this.optType = "add";
|
||||
this.open = true;
|
||||
this.title = "新增物料/产品";
|
||||
genCode('ITEM_CODE').then(response =>{
|
||||
this.form.itemCode = response;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
7
src/views/mes/md/vendor/index.vue
vendored
7
src/views/mes/md/vendor/index.vue
vendored
@ -346,7 +346,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -459,7 +459,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -484,6 +484,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加供应商";
|
||||
this.optType = "add";
|
||||
genCode('VENDOR_CODE').then(response =>{
|
||||
this.form.vendorCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -188,7 +188,7 @@ export default {
|
||||
dicts: ['sys_yes_no'],
|
||||
data() {
|
||||
return {
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -271,7 +271,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -296,6 +296,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加车间";
|
||||
this.optType = "add";
|
||||
genCode('WORKSHOP_CODE').then(response =>{
|
||||
this.form.workshopCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -301,7 +301,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseInfo:[],
|
||||
warehouseOptions:[],
|
||||
@ -454,7 +454,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -497,6 +497,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加工作站";
|
||||
this.optType = "add";
|
||||
genCode('WORKSTATION_CODE').then(response =>{
|
||||
this.form.workstationCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -202,7 +202,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -278,7 +278,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -303,6 +303,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加生产工序";
|
||||
this.optType = "add";
|
||||
genCode('PROCESS_CODE').then(response =>{
|
||||
this.form.processCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -210,7 +210,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -287,7 +287,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -312,6 +312,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加工艺路线";
|
||||
this.optType = "add";
|
||||
genCode('ROUTE_CODE').then(response =>{
|
||||
this.form.routeCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -119,10 +119,10 @@
|
||||
<el-form-item label="与下一道工序关系" prop="linkType">
|
||||
<el-tooltip effect="dark" placement="right">
|
||||
<div slot="content">
|
||||
S-to-S:当前工序开始生产,下一道工序才可开始生产 </br>
|
||||
F-to-F:当前工序结束生产,下一道工序才可结束生产 </br>
|
||||
F-to-S:当前工序结束生产,下一道工序才可开始生产 </br>
|
||||
S-to-F:当前工序开始生产,下一道工序才可结束生产 </br>
|
||||
F-to-S:当前工序结束生产,下一道工序才可开始生产
|
||||
F-to-F:当前工序结束生产,下一道工序才可结束生产 </br>
|
||||
S-to-S:当前工序开始生产,下一道工序才可开始生产 </br>
|
||||
</div>
|
||||
<el-select v-model="form.linkType" placeholder="请选择与下一道工序关系">
|
||||
<el-option
|
||||
@ -359,6 +359,8 @@ export default {
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = "添加工艺组成";
|
||||
var arr = Object.values(this.routeprocessList).pop()
|
||||
this.form.orderNum = arr.orderNum + 1;
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
@ -293,7 +293,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
activeProcess: 0,
|
||||
// 遮罩层
|
||||
@ -437,7 +437,7 @@ export default {
|
||||
updateTime: null
|
||||
};
|
||||
this.activeProcess =0;
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
//甘特图按钮点击
|
||||
@ -491,6 +491,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加生产工单";
|
||||
this.optType="add";
|
||||
genCode('WORKORDER_CODE').then(response =>{
|
||||
this.form.workorderCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -431,7 +431,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -581,7 +581,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -627,6 +627,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加生产工单";
|
||||
this.optType="add";
|
||||
genCode('WORKORDER_CODE').then(response =>{
|
||||
this.form.workorderCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -394,7 +394,7 @@ export default {
|
||||
dicts: ['mes_ipqc_type','mes_qc_result','mes_order_status'],
|
||||
data() {
|
||||
return {
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -544,7 +544,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -569,6 +569,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加过程检验单";
|
||||
this.optType = "add";
|
||||
genCode('IPQC_CODE').then(response =>{
|
||||
this.form.ipqcCode = response;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
@ -413,7 +413,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
acceptImg: require('@/assets/images/accept.png'),
|
||||
rejectImg: require('@/assets/images/reject.png'),
|
||||
@ -563,7 +563,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -588,6 +588,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加来料检验单";
|
||||
this.optType = 'add';
|
||||
genCode('QC_IQC_CODE').then(response =>{
|
||||
this.form.iqcCode = response;
|
||||
});
|
||||
},
|
||||
//查看明细
|
||||
handleView(row){
|
||||
|
@ -388,7 +388,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -531,7 +531,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -567,6 +567,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加出货检验单";
|
||||
this.optType = "add";
|
||||
genCode('OQC_CODE').then(response =>{
|
||||
this.form.oqcCode = response;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
@ -95,7 +95,7 @@
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
|
@ -286,7 +286,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 提交按钮 */
|
||||
|
@ -196,7 +196,7 @@ export default {
|
||||
data(){
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 表单参数
|
||||
form: {},
|
||||
@ -277,7 +277,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 提交按钮 */
|
||||
|
@ -320,7 +320,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 提交按钮 */
|
||||
|
@ -186,7 +186,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -267,7 +267,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -292,6 +292,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加检测项";
|
||||
this.optType = "add";
|
||||
genCode('QC_INDEX_CODE').then(response =>{
|
||||
this.form.indexCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -225,7 +225,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -305,7 +305,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -330,6 +330,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加检测模板";
|
||||
this.optType = "add";
|
||||
genCode('QC_TEMPLATE_CODE').then(response =>{
|
||||
this.form.templateCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -313,7 +313,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -415,7 +415,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
onToolTypeChanged(){
|
||||
@ -460,6 +460,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加工装夹具清单";
|
||||
this.optType = "add";
|
||||
genCode('TOOL_CODE').then(response =>{
|
||||
this.form.toolCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -223,7 +223,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -302,7 +302,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -327,6 +327,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加工装夹具类型";
|
||||
this.optType = "add";
|
||||
genCode('TOOL_TYPE_CODE').then(response =>{
|
||||
this.form.toolTypeCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -253,7 +253,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
locationId: undefined,
|
||||
// 遮罩层
|
||||
@ -345,7 +345,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -370,6 +370,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加库位";
|
||||
this.optType = "add";
|
||||
genCode('AREA_CODE').then(response =>{
|
||||
this.form.areaCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -272,7 +272,7 @@ export default {
|
||||
components: {Issueline,WorkstationSelect,WorkorderSelect},
|
||||
data() {
|
||||
return {
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseInfo:[],
|
||||
warehouseOptions:[],
|
||||
@ -420,7 +420,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -445,6 +445,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加生产领料单";
|
||||
this.optType = "add";
|
||||
genCode('ISSUE_CODE').then(response =>{
|
||||
this.form.issueCode = response;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
@ -266,7 +266,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseInfo:[],
|
||||
warehouseOptions:[],
|
||||
@ -407,7 +407,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -433,6 +433,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加物料入库单";
|
||||
this.optType = "add";
|
||||
genCode('ITEMRECPT_CODE').then(response =>{
|
||||
this.form.recptCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -157,7 +157,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseId: undefined,
|
||||
// 遮罩层
|
||||
@ -242,7 +242,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -267,6 +267,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加库区设置";
|
||||
this.optType = "add";
|
||||
genCode('LOCATION_CODE').then(response =>{
|
||||
this.form.locationCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -250,7 +250,7 @@ export default {
|
||||
components: {Issueline,WorkorderSelect},
|
||||
data() {
|
||||
return {
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseInfo:[],
|
||||
warehouseOptions:[],
|
||||
@ -376,7 +376,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -401,6 +401,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加外协发料单头";
|
||||
this.optType = "add";
|
||||
genCode('OUTSOURCE_ISSUE_CODE').then(response =>{
|
||||
this.form.issueCode = response;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
@ -258,7 +258,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseInfo:[],
|
||||
warehouseOptions:[],
|
||||
@ -347,7 +347,7 @@ export default {
|
||||
areaId: null, areaCode: null, areaName: null, recptDate: new Date(),
|
||||
status: "PREPARE", remark: null, attr1: null, attr2: null, attr3: null, attr4: null, createBy: null, createTime: null, updateBy: null, updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -372,6 +372,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加外协入库单";
|
||||
this.optType = "add";
|
||||
genCode('OUTSOURCE_RECPT_CODE').then(response =>{
|
||||
this.form.recptCode = response;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
@ -290,7 +290,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -430,7 +430,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -467,6 +467,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加装箱单";
|
||||
this.optType="add";
|
||||
genCode('PACKAGE_CODE').then(response =>{
|
||||
this.form.packageCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -223,7 +223,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseInfo:[],
|
||||
warehouseOptions:[],
|
||||
@ -359,7 +359,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -383,6 +383,9 @@ export default {
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = "添加产品入库单";
|
||||
genCode('PRODUCTRECPT_CODE').then(response =>{
|
||||
this.form.recptCode = response;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
@ -253,7 +253,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseInfo:[],
|
||||
warehouseOptions:[],
|
||||
@ -403,7 +403,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -442,6 +442,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加销售出库单";
|
||||
this.optType = "add";
|
||||
genCode('PRODUCTSALSE_CODE').then(response =>{
|
||||
this.form.salseCode = response;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
@ -220,7 +220,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseInfo:[],
|
||||
warehouseOptions:[],
|
||||
@ -349,7 +349,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -374,6 +374,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加生产退料单头";
|
||||
this.optType = "add";
|
||||
genCode('RTISSUE_CODE').then(response =>{
|
||||
this.form.rtCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -276,7 +276,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
warehouseInfo:[],
|
||||
warehouseOptions:[],
|
||||
@ -434,7 +434,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -471,6 +471,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加产品销售退货单";
|
||||
this.optType = "add";
|
||||
genCode('RTSALSE_CODE').then(response =>{
|
||||
this.form.rtCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -249,7 +249,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -363,6 +363,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加供应商退货";
|
||||
this.optType = "add";
|
||||
genCode('WM_RTVENDOR_CODE').then(response =>{
|
||||
this.form.rtCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -297,7 +297,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -401,7 +401,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -426,6 +426,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加转移单";
|
||||
this.optType = "add";
|
||||
genCode('TRANSFER_CODE').then(response =>{
|
||||
this.form.transferCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
@ -182,7 +182,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
//自动生成编码
|
||||
autoGenFlag:false,
|
||||
autoGenFlag:true,
|
||||
optType: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -262,7 +262,7 @@ export default {
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.autoGenFlag = false;
|
||||
this.autoGenFlag = true;
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
@ -287,6 +287,9 @@ export default {
|
||||
this.open = true;
|
||||
this.title = "添加仓库设置";
|
||||
this.optType = "add";
|
||||
genCode('WAREHOUSE_CODE').then(response =>{
|
||||
this.form.warehouseCode = response;
|
||||
});
|
||||
},
|
||||
// 查询明细按钮操作
|
||||
handleView(row){
|
||||
|
Loading…
Reference in New Issue
Block a user