This commit is contained in:
打豆豆
2023-12-11 17:36:14 +08:00
parent 9a0583dc08
commit b039bc4a96
49 changed files with 196 additions and 90 deletions

View File

@@ -130,7 +130,7 @@ export default {
updateBy: null,
updateTime: null
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 搜索按钮操作 */

View File

@@ -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

View File

@@ -396,7 +396,7 @@ export default {
status: "",
top: 0,
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 搜索按钮操作 */

View File

@@ -322,7 +322,7 @@ export default {
status: "",
top: 0,
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 搜索按钮操作 */

View File

@@ -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);
// });
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() {

View File

@@ -411,7 +411,7 @@ export default {
machineryIds: "",
machineryTypeName: "",
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 搜索按钮操作 */

View File

@@ -461,7 +461,7 @@ export default {
url: null,
originalName: null,
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 搜索按钮操作 */

View File

@@ -296,7 +296,7 @@ export default {
active: 0,
remark: null,
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 搜索按钮操作 */

View File

@@ -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){

View File

@@ -386,7 +386,7 @@ export default {
updateBy: null,
updateTime: null
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 搜索按钮操作 */

View File

@@ -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);
},

View File

@@ -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) {

View File

@@ -281,7 +281,7 @@ export default {
updateBy: null,
updateTime: null
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 搜索按钮操作 */

View File

@@ -464,7 +464,7 @@ export default {
maxStock: 0,
remark: undefined
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 搜索按钮操作 */

View File

@@ -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){

View File

@@ -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) {

View File

@@ -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){

View File

@@ -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){

View File

@@ -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){

View File

@@ -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){

View File

@@ -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){

View File

@@ -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) {

View File

@@ -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){

View File

@@ -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){

View File

@@ -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) {

View File

@@ -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){

View File

@@ -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) {

View File

@@ -95,7 +95,7 @@
data() {
return {
//自动生成编码
autoGenFlag:false,
autoGenFlag:true,
optType: undefined,
// 遮罩层
loading: true,

View File

@@ -286,7 +286,7 @@ export default {
updateBy: null,
updateTime: null
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 提交按钮 */

View File

@@ -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");
},
/** 提交按钮 */

View File

@@ -320,7 +320,7 @@ export default {
updateBy: null,
updateTime: null
};
this.autoGenFlag = false;
this.autoGenFlag = true;
this.resetForm("form");
},
/** 提交按钮 */

View File

@@ -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){

View File

@@ -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){

View File

@@ -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){

View File

@@ -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){

View File

@@ -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){

View File

@@ -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) {

View File

@@ -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){

View File

@@ -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){

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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){

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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){

View File

@@ -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){

View File

@@ -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){

View File

@@ -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){

View File

@@ -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){