+
+
+
+
+
+
+
@@ -180,6 +196,7 @@ export default {
productLineIds: [],
type: '',
workers: '',
+ roomNameDict: '',
status: 1
},
rules: {
@@ -187,6 +204,7 @@ export default {
planProductId: [{ required: true, message: "产品名称不能为空", trigger: "change" }],
planAssignQuantity: [{ required: true, message: "计划投入数量不能为空", trigger: "blur" }],
planQuantity: [{ required: true, message: "计划生产数量不能为空", trigger: "blur" }],
+ roomNameDict: [{ required: true, message: "车间名称不能为空", trigger: "blur" }],
productLineIds: [{ required: true, message: "关联产线不能为空", trigger: "change" }]
},
productList: [],
@@ -264,19 +282,19 @@ export default {
this.urlOptions.createURL(this.dataForm).then(response => {
this.$modal.msgSuccess("新增成功");
this.visible = false;
- this.$confirm('是否添加预使用主原料信息?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- console.log('121', this.dataForm.name)
- this.$emit("refreshDataList", {
- id: response.data,
- name: this.dataForm.name
- });
- }).catch(() => {
- this.$emit("refreshDataList");
- });
+ // this.$confirm('是否添加预使用主原料信息?', '提示', {
+ // confirmButtonText: '确定',
+ // cancelButtonText: '取消',
+ // type: 'warning'
+ // }).then(() => {
+ // console.log('121', this.dataForm.name)
+ // this.$emit("refreshDataList", {
+ // id: response.data,
+ // name: this.dataForm.name
+ // });
+ // }).catch(() => {
+ // this.$emit("refreshDataList");
+ // });
});
});
},
diff --git a/src/views/base/coreWorkOrder/index.vue b/src/views/base/coreWorkOrder/index.vue
index c34c1553..184464b5 100644
--- a/src/views/base/coreWorkOrder/index.vue
+++ b/src/views/base/coreWorkOrder/index.vue
@@ -60,6 +60,7 @@ import {
getConOrderList,
getCoreWOList
} from '@/api/base/coreWorkOrder';
+import { publicFormatter } from '@/utils/dict';
const tableProps = [
@@ -82,6 +83,13 @@ const tableProps = [
minWidth: 150,
showOverflowtooltip: true
},
+ {
+ prop: 'roomNameDict',
+ label: '负责车间',
+ minWidth: 120,
+ filter: publicFormatter('workshop'),
+ showOverflowtooltip: true
+ },
{
prop: 'workers',
label: '负责人',
@@ -101,7 +109,7 @@ const tableProps = [
{
prop: 'status',
label: '工单状态',
- filter: (val) => ['', '等待', '激活', '暂停', '完成', '', '', '', '', '作废'][val]
+ filter: (val) => ['', '等待', '激活', '暂停', '完成', '作废', '终止'][val]
},
{
prop: 'planFinishTime',
@@ -223,6 +231,20 @@ export default {
]
}
},
+ {
+ type: 'stop',
+ btnName: '终止',
+ showParam: {
+ type: '|',
+ data: [
+ {
+ name: 'status',
+ type: 'equal',
+ value: 2
+ }
+ ]
+ }
+ },
this.$auth.hasPermi(`base:core-work-order:detail`)
? {
type: 'detail',
@@ -289,7 +311,8 @@ export default {
{ id: 2, name: '激活' },
{ id: 3, name: '暂停' },
{ id: 4, name: '完成' },
- { id: 9, name: '作废' }
+ { id: 5, name: '作废' },
+ { id: 6, name: '终止' }
],
param: 'status',
clearable: true
@@ -401,13 +424,17 @@ export default {
opration = '暂停'
}
if (val.type === 'nullify') {
- param.status = 9
- opration = '报废'
+ param.status = 5
+ opration = '作废'
}
if (val.type === 'finish') {
param.status = 4
opration = '完成'
}
+ if (val.type === 'stop') {
+ param.status = 6
+ opration = '终止'
+ }
console.log('22',val)
this.$confirm(`确定${opration}${'"工单' + val.data.name + '"'}?`, "提示", {
confirmButtonText: "确定",
diff --git a/src/views/base/material/add-or-updata.vue b/src/views/base/material/add-or-updata.vue
index b88d7e9d..e5393ac0 100644
--- a/src/views/base/material/add-or-updata.vue
+++ b/src/views/base/material/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: DY
- * @LastEditTime: 2023-12-04 15:10:11
+ * @LastEditTime: 2024-02-21 09:41:39
* @Description:
-->
@@ -59,7 +59,7 @@
style="width: 100%"
placeholder="请选择物料类型">
@@ -238,7 +238,7 @@ export default {
remark: undefined,
unit: ''
},
- materialList: [],
+ // materialList: [],
supplierList: [],
materialAttrList: [],
unitList: [],
@@ -258,17 +258,18 @@ export default {
methods: {
async getDict() {
// 物料类型列表
- const res = await listData({
- pageNo: 1,
- pageSize: 99,
- dictType: 'material_type',
- });
- this.materialList = res.data.list.map(item => {
- return {
- label: item.label,
- value: Number(item.value)
- }
- });
+ // const res = await listData({
+ // pageNo: 1,
+ // pageSize: 99,
+ // dictType: 'material_type',
+ // });
+ // this.materialList = res.data.list
+ // this.materialList = res.data.list.map(item => {
+ // return {
+ // label: item.label,
+ // value: Number(item.value)
+ // }
+ // });
// 供应商列表
const supplierRes = await getSupplierList();
this.supplierList = supplierRes.data;
@@ -348,6 +349,9 @@ export default {
if (this.dataForm.unit) {
this.dataForm.unit = String(this.dataForm.unit)
}
+ if (this.dataForm.type) {
+ this.dataForm.type = String(this.dataForm.type)
+ }
});
// 获取物料的属性列表
this.getList();
diff --git a/src/views/bpm/processInstance/detail.vue b/src/views/bpm/processInstance/detail.vue
index 7ecc5343..b8a843a1 100644
--- a/src/views/bpm/processInstance/detail.vue
+++ b/src/views/bpm/processInstance/detail.vue
@@ -89,7 +89,7 @@
-
+
diff --git a/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue b/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
index ec503b40..c0d922be 100644
--- a/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
+++ b/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
@@ -41,7 +41,7 @@
-
+
@@ -50,17 +50,17 @@
-
+
-
+
-
+
diff --git a/src/views/cost/rawMaterialConfig/add-or-updata.vue b/src/views/cost/rawMaterialConfig/add-or-updata.vue
index 6de75d00..1196e9ae 100644
--- a/src/views/cost/rawMaterialConfig/add-or-updata.vue
+++ b/src/views/cost/rawMaterialConfig/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 13:52:10
* @LastEditors: zwq
- * @LastEditTime: 2023-12-05 15:41:39
+ * @LastEditTime: 2024-02-19 09:36:50
* @Description:
-->
@@ -44,7 +44,7 @@
v-for="item in urlOptions.dictList.dict0"
:key="item.id"
:label="item.label"
- :value="parseInt(item.value)">
+ :value="item.value">
diff --git a/src/views/databoard/components/GasChart.vue b/src/views/databoard/components/GasChart.vue
index a808d48b..9daab55c 100644
--- a/src/views/databoard/components/GasChart.vue
+++ b/src/views/databoard/components/GasChart.vue
@@ -246,9 +246,7 @@ export default {
.map((_, index) => {
const today = new Date();
const dtimestamp = today - (index+1) * 24 * 60 * 60 * 1000;
- return `${currentMonth < 10?'0'+currentMonth:currentMonth }.${new Date(
- dtimestamp
- ).getDate()}`;}).reverse()
+ return `${new Date(dtimestamp).getMonth()+1}.${new Date(dtimestamp).getDate()}`;}).reverse()
}else if (this.chartTime == "月") {
if (currentMonth in [1, 3, 5, 7, 8, 10, 12]) {
days = 31;
diff --git a/src/views/equipment/base/config/DataCollection/CollectionConfig.vue b/src/views/equipment/base/config/DataCollection/CollectionConfig.vue
index abba9d4d..99d87f01 100644
--- a/src/views/equipment/base/config/DataCollection/CollectionConfig.vue
+++ b/src/views/equipment/base/config/DataCollection/CollectionConfig.vue
@@ -45,7 +45,10 @@
@close="cancel"
@cancel="cancel"
@confirm="submitForm">
-
+
+
@@ -123,11 +126,12 @@ import basicPageMixin from '@/mixins/lb/basicPageMixin';
// import './http';
import BasicDrawer from './components/BasicDrawer.vue';
import { publicFormatter } from '@/utils/dict';
+import AddOrUpdate from './add-or-updata';
export default {
name: 'EquipmentPlcConnect',
mixins: [basicPageMixin],
- components: { BasicDrawer },
+ components: { BasicDrawer, AddOrUpdate },
data() {
return {
searchBarKeys: ['equipmentId', 'plcId'],
@@ -343,6 +347,10 @@ export default {
this.initSearchOptions();
},
methods: {
+ successSubmit() {
+ this.cancel()
+ this.getList()
+ },
async getEquipmentOptions() {
const res = await this.$axios({
url: '/base/core-equipment/listAll',
@@ -469,26 +477,7 @@ export default {
},
/** 提交按钮 */
submitForm() {
- this.$refs['form'].validate((valid) => {
- if (!valid) {
- return;
- }
- // 修改的提交
- if (this.form.id != null) {
- updateEquipmentPlcConnect(this.form).then((response) => {
- this.$modal.msgSuccess('修改成功');
- this.open = false;
- this.getList();
- });
- return;
- }
- // 添加的提交
- createEquipmentPlcConnect(this.form).then((response) => {
- this.$modal.msgSuccess('新增成功');
- this.open = false;
- this.getList();
- });
- });
+ this.$refs.addOrUpdate.dataFormSubmit()
},
// 查看报警
diff --git a/src/views/equipment/base/config/DataCollection/add-or-updata.vue b/src/views/equipment/base/config/DataCollection/add-or-updata.vue
new file mode 100644
index 00000000..3dc513a5
--- /dev/null
+++ b/src/views/equipment/base/config/DataCollection/add-or-updata.vue
@@ -0,0 +1,149 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/login.vue b/src/views/login.vue
index 453819d6..16fc39db 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -86,18 +86,18 @@
:model="loginForm"
:rules="LoginRules"
class="login-form">
-
+
+ class="el-input__icon input-icon" />
-
+ -->
@@ -244,25 +244,25 @@ export default {
trigger: 'blur',
},
],
- tenantName: [
- { required: true, trigger: 'blur', message: '租户不能为空' },
- {
- validator: (rule, value, callback) => {
- // debugger
- getTenantIdByName(value).then((res) => {
- const tenantId = res.data;
- if (tenantId && tenantId >= 0) {
- // 设置租户
- setTenantId(tenantId);
- callback();
- } else {
- callback('租户不存在');
- }
- });
- },
- trigger: 'blur',
- },
- ],
+ // tenantName: [
+ // { required: true, trigger: 'blur', message: '租户不能为空' },
+ // {
+ // validator: (rule, value, callback) => {
+ // // debugger
+ // getTenantIdByName(value).then((res) => {
+ // const tenantId = res.data;
+ // if (tenantId && tenantId >= 0) {
+ // // 设置租户
+ // setTenantId(tenantId);
+ // callback();
+ // } else {
+ // callback('租户不存在');
+ // }
+ // });
+ // },
+ // trigger: 'blur',
+ // },
+ // ],
},
loading: false,
redirect: undefined,
diff --git a/src/views/mp/autoReply/index.vue b/src/views/mp/autoReply/index.vue
index 3a1ff618..aa83cd15 100644
--- a/src/views/mp/autoReply/index.vue
+++ b/src/views/mp/autoReply/index.vue
@@ -32,7 +32,7 @@ SOFTWARE.
-
+
diff --git a/src/views/mp/draft/index.vue b/src/views/mp/draft/index.vue
index 52db04ff..311b8cb8 100644
--- a/src/views/mp/draft/index.vue
+++ b/src/views/mp/draft/index.vue
@@ -33,7 +33,7 @@ SOFTWARE.
-
+
diff --git a/src/views/mp/freePublish/index.vue b/src/views/mp/freePublish/index.vue
index 59a09478..5acac293 100644
--- a/src/views/mp/freePublish/index.vue
+++ b/src/views/mp/freePublish/index.vue
@@ -31,7 +31,7 @@ SOFTWARE.
-
+
diff --git a/src/views/mp/material/index.vue b/src/views/mp/material/index.vue
index 5f81abf3..9745f2d3 100644
--- a/src/views/mp/material/index.vue
+++ b/src/views/mp/material/index.vue
@@ -33,7 +33,7 @@ SOFTWARE.
-
+
diff --git a/src/views/mp/menu/index.vue b/src/views/mp/menu/index.vue
index 518a988a..578b4389 100644
--- a/src/views/mp/menu/index.vue
+++ b/src/views/mp/menu/index.vue
@@ -32,7 +32,7 @@ SOFTWARE.
-
+
diff --git a/src/views/mp/message/index.vue b/src/views/mp/message/index.vue
index ccf568ee..4a14896c 100644
--- a/src/views/mp/message/index.vue
+++ b/src/views/mp/message/index.vue
@@ -6,7 +6,7 @@
-
+
diff --git a/src/views/mp/statistics/index.vue b/src/views/mp/statistics/index.vue
index fc194632..e7319e06 100644
--- a/src/views/mp/statistics/index.vue
+++ b/src/views/mp/statistics/index.vue
@@ -6,7 +6,7 @@
-
+
diff --git a/src/views/mp/tag/index.vue b/src/views/mp/tag/index.vue
index 90843a51..c0829a71 100644
--- a/src/views/mp/tag/index.vue
+++ b/src/views/mp/tag/index.vue
@@ -6,7 +6,7 @@
-
+
diff --git a/src/views/mp/user/index.vue b/src/views/mp/user/index.vue
index ef344352..415e7487 100644
--- a/src/views/mp/user/index.vue
+++ b/src/views/mp/user/index.vue
@@ -6,7 +6,7 @@
-
+
diff --git a/src/views/quality/base/basicData/qualityInspectionBoxPermissions/BomSelector.vue b/src/views/quality/base/basicData/qualityInspectionBoxPermissions/BomSelector.vue
index b3327c53..e3ff7445 100644
--- a/src/views/quality/base/basicData/qualityInspectionBoxPermissions/BomSelector.vue
+++ b/src/views/quality/base/basicData/qualityInspectionBoxPermissions/BomSelector.vue
@@ -1,7 +1,7 @@
@@ -203,8 +203,11 @@ export default {
// 如果没找到这个
this.selectedEquipments.push(equipmentId);
console.log(this.selected.indexOf(equipmentId))
- this.selected.forEach((ele,index) => {
- if (ele.equipmentId === equipmentId ) {
+ console.log(equipmentId);
+ this.selected.forEach((ele, index) => {
+ console.log(ele);
+ if (ele.equipmentId === equipmentId) {
+ console.log(22222);
this.selected[index].children.push({ id: bomId })
}
})
@@ -214,11 +217,12 @@ export default {
// equMaterialBomId: bomId,
// });
// 强制更新'设备'一栏
- this.refreshKey = Math.random();
+ this.refreshKey = Math.random();
+ console.log(this.selected)
// this.$emit('update', this.selected);
return;
} else {
- console.log(selected);
+ console.log(selected)
this.selected.forEach((ele, index) => {
ele.children.forEach((e, i) => {
console.log(e)
@@ -228,10 +232,10 @@ export default {
})
})
}
+ console.log(this.selected)
// this.$emit('getData', this.dataForm)
// selectedItem && (selectedItem.equMaterialBomId = selected ? bomId : null);
// this.currentSelectedMaterialBomId = selected ? bomId : null;
- console.log(this.selected)
},
// handleValueBomChange(equipmentId, bomId, selected) {
diff --git a/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue b/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue
index 0ab9a741..b553af67 100644
--- a/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue
+++ b/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue
@@ -154,7 +154,7 @@ export default {
this.urlOptions.getDataListURL(this.listQuery).then(res => {
this.tableData = res.data.list.map((item) => {
return {
- datas: item.strList.toString(),
+ datas: item.strList ? item.strList.toString() : null,
nickName: item.nickName,
userName: item.userName,
userId: item.userId
diff --git a/src/views/quality/base/qualityScrapLog/add-or-updata.vue b/src/views/quality/base/qualityScrapLog/add-or-updata.vue
index bcfc9530..0370339e 100644
--- a/src/views/quality/base/qualityScrapLog/add-or-updata.vue
+++ b/src/views/quality/base/qualityScrapLog/add-or-updata.vue
@@ -1,7 +1,7 @@
@@ -102,11 +102,11 @@ export default {
sourceList: [
{
id: 1,
- name: '手动',
+ name: '平板端',
},
{
id: 2,
- name: '自动',
+ name: '网页端',
}
],
dataForm: {
diff --git a/src/views/quality/base/qualityScrapLog/index.vue b/src/views/quality/base/qualityScrapLog/index.vue
index 7f1a37ea..d1be26a5 100644
--- a/src/views/quality/base/qualityScrapLog/index.vue
+++ b/src/views/quality/base/qualityScrapLog/index.vue
@@ -130,8 +130,9 @@ export default {
AddOrUpdate,
DetailOrUpdate
},
- created() {
+ mounted() {
this.getDict()
+ this.getDataList()
},
methods: {
otherMethods(val) {
@@ -214,7 +215,7 @@ export default {
pageNo: 1,
total: 1,
};
- this.getDataList();
+ this.getDataList()
break;
case 'add':
this.addOrEditTitle = '新增';
diff --git a/src/views/quality/monitoring/originalGlassRetrace/index.vue b/src/views/quality/monitoring/originalGlassRetrace/index.vue
index 4b0d12a0..71231acf 100644
--- a/src/views/quality/monitoring/originalGlassRetrace/index.vue
+++ b/src/views/quality/monitoring/originalGlassRetrace/index.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 14:55:51
* @LastEditors: zhp
- * @LastEditTime: 2023-12-06 14:08:00
+ * @LastEditTime: 2024-02-23 09:16:24
* @Description:
-->
@@ -31,6 +31,11 @@ import {
} from '@/api/quality/rawMaterialTraceability';
const tableProps = [
+
+ {
+ prop: 'orderName',
+ label: '订单名称',
+ },
{
prop: 'workOrderName',
label: '工单名称',
@@ -48,7 +53,7 @@ const tableProps = [
label: '包装条码',
},
{
- prop: '',
+ prop: 'originalGlassLineName',
label: '原片产线',
},
{
@@ -57,7 +62,7 @@ const tableProps = [
filter: parseTime
},
{
- prop: 'batch',
+ prop: 'deepProcessingLineName',
label: '深加工产线',
},
{
@@ -69,7 +74,12 @@ const tableProps = [
prop: 'productionOutputTime',
label: '深加工下片时间',
filter: parseTime
- }
+ },
+ // {
+ // prop: 'scrapDetail',
+ // label: '详情',
+ // filter: parseTime
+ // }
];
export default {
@@ -83,18 +93,20 @@ export default {
// },
tableProps,
// tableBtn: [
- // this.$auth.hasPermi(`base:packaging-print-log:update`)
- // ? {
+ // // this.$auth.hasPermi(`base:packaging-print-log:update`)
+ // // ?
+ // {
// type: 'edit',
// btnName: '编辑',
- // }
- // : undefined,
- // this.$auth.hasPermi(`base:packaging-print-log:delete`)
- // ? {
+ // },
+ // // : undefined,
+ // // this.$auth.hasPermi(`base:packaging-print-log:delete`)
+ // // ?
+ // {
// type: 'delete',
// btnName: '删除',
// }
- // : undefined,
+ // // : undefined,
// ].filter((v) => v),
list: [],
diff --git a/src/views/quality/monitoring/qualityInspectionRecord/dialogForm.vue b/src/views/quality/monitoring/qualityInspectionRecord/dialogForm.vue
index c25e4690..563b9ad5 100644
--- a/src/views/quality/monitoring/qualityInspectionRecord/dialogForm.vue
+++ b/src/views/quality/monitoring/qualityInspectionRecord/dialogForm.vue
@@ -47,8 +47,10 @@
-
+
+
+
@@ -65,8 +67,8 @@
@@ -104,13 +106,14 @@ export default {
inspectionDetList: [],
productionLineList: [],
sectionList: [],
+ userList:[],
workOrderList:[],
innerDataForm: {},
cacheInspectionDetList: null,
};
},
mounted() {
- Promise.all([this.getProductLineList(), this.getInspectionDetList(), this.getWorkOrderList()]).then(
+ Promise.all([this.getProductLineList(), this.getInspectionDetList(), this.getWorkOrderList(),this.getUserList()]).then(
() => {
this.formLoading = false;
}
@@ -180,6 +183,17 @@ export default {
value: item.id,
}));
},
+ async getUserList() {
+ const response = await this.$axios('base/quality-inspection-box-btn-auth/getUserList', {
+ pageNo: 1,
+ pageSize: 999
+ })
+ console.log(response);
+ this.userList = response.data.map((item) => ({
+ label: item.username,
+ value: item.id,
+ }));
+ },
// 获取检测内容列表
async getInspectionDetList() {
diff --git a/src/views/quality/monitoring/qualityInspectionRecord/index.vue b/src/views/quality/monitoring/qualityInspectionRecord/index.vue
index 552926d9..b8369be3 100644
--- a/src/views/quality/monitoring/qualityInspectionRecord/index.vue
+++ b/src/views/quality/monitoring/qualityInspectionRecord/index.vue
@@ -155,7 +155,16 @@ export default {
selectOptions: [],
param: 'inspectionDetContent',
filterable: true
- },
+ },
+ {
+ type: 'select',
+ label: '检测人员',
+ placeholder: '请选择检测人员',
+ selectOptions: [],
+ param: 'checkPerson',
+ filterable: true,
+ multiple:true,
+ },
{
type: 'datePicker',
label: '时间段',
@@ -217,17 +226,27 @@ export default {
// width: 128,
prop: 'workOrderName',
label: '工单名称',
+ },
+ {
+ // width: 128,
+ prop: 'productionLineName',
+ label: '产线',
+ },
+ {
+ // width: 128,
+ prop: 'sectionName',
+ label: '工段',
},
{
// width: 128,
prop: 'inspectionDetContent',
label: '检测内容',
},
- {
- // width: 128,
- prop: 'productionLineName',
- label: '产线',
- },
+ // {
+ // // width: 128,
+ // prop: 'productionLineName',
+ // label: '产线',
+ // },
{
// width: 128,
prop: 'checkPerson',
@@ -244,11 +263,11 @@ export default {
width: 90,
prop: 'source',
label: '来源',
- filter: (val) => ['未知', '手动', '自动'][val],
+ filter: (val) => ['平板端', '网页端'][val],
},
],
// 搜索框需要的 keys, 与上面 queryParams 的除 pageNo, pageSize 之外的 key 一一对应
- searchBarKeys: ['inspectionDetContent', 'checkTime', 'workOrderId'],
+ searchBarKeys: ['inspectionDetContent', 'checkTime', 'workOrderId','checkPerson'],
form: {
id: undefined,
// workOrderId:undefined,
@@ -269,7 +288,8 @@ export default {
pageSize: 10,
workOrderId:null,
inspectionDetContent: null,
- checkTime: [],
+ checkTime: [],
+ checkPerson:undefined,
// productionLineId: null,
},
};
@@ -351,12 +371,24 @@ export default {
};
}
);
- });
+ })
+ this.$axios('base/quality-inspection-box-btn-auth/getUserList', {
+ pageNo: 1,
+ pageSize: 999
+ }).then((res) => {
+ // console.log(response);
+ this.searchBarFormConfig[2].selectOptions = res.data.map((item) => ({
+ name: item.username,
+ id: item.username,
+ }));
+ })
},
/** 查询列表 */
getList() {
this.loading = true;
- // 执行查询
+ // 执行查询
+ let str = this.queryParams.checkPerson ? this.queryParams.checkPerson.join() :undefined
+ this.queryParams.checkPerson = str
getQualityInspectionRecordPage(this.queryParams).then((response) => {
this.list = response.data.list;
this.total = response.data.total;
@@ -424,7 +456,9 @@ export default {
if (!valid) {
return;
}
- // 修改的提交
+ // 修改的提交
+ let str = this.form.checkPerson.join()
+ this.form.checkPerson = str
if (this.form.id != null) {
updateQualityInspectionRecord(this.form).then((response) => {
this.$modal.msgSuccess('修改成功');
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 9561f92e..bff5cee1 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -76,7 +76,7 @@
-
+
diff --git a/src/views/system/notify/template/index.vue b/src/views/system/notify/template/index.vue
index 22b9a54d..eba62b79 100644
--- a/src/views/system/notify/template/index.vue
+++ b/src/views/system/notify/template/index.vue
@@ -117,7 +117,7 @@
-
+
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index d18f3da6..33b9e8a2 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -415,9 +415,9 @@
+ :value="item.id">
diff --git a/src/views/warehouse/end-material/warehouseGoods/add-or-updata.vue b/src/views/warehouse/end-material/warehouseGoods/add-or-updata.vue
index c01c7c58..caa96cac 100644
--- a/src/views/warehouse/end-material/warehouseGoods/add-or-updata.vue
+++ b/src/views/warehouse/end-material/warehouseGoods/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 13:52:10
* @LastEditors: zwq
- * @LastEditTime: 2023-11-23 15:27:55
+ * @LastEditTime: 2024-02-19 09:32:47
* @Description:
-->
@@ -51,7 +51,7 @@
v-for="item in urlOptions.dictList.dict0"
:key="item.id"
:label="item.label"
- :value="parseInt(item.value)">
+ :value="item.value">
diff --git a/src/views/warehouse/out-material/warehouseGoods/add-or-updata.vue b/src/views/warehouse/out-material/warehouseGoods/add-or-updata.vue
index b05030ee..c5dda9f1 100644
--- a/src/views/warehouse/out-material/warehouseGoods/add-or-updata.vue
+++ b/src/views/warehouse/out-material/warehouseGoods/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 13:52:10
* @LastEditors: zwq
- * @LastEditTime: 2023-11-23 15:27:47
+ * @LastEditTime: 2024-02-19 09:33:00
* @Description:
-->
@@ -51,7 +51,7 @@
v-for="item in urlOptions.dictList.dict0"
:key="item.id"
:label="item.label"
- :value="parseInt(item.value)">
+ :value="item.value">
diff --git a/src/views/warehouse/package-material/warehouseGoods/add-or-updata.vue b/src/views/warehouse/package-material/warehouseGoods/add-or-updata.vue
index 76b1be42..fd0551a8 100644
--- a/src/views/warehouse/package-material/warehouseGoods/add-or-updata.vue
+++ b/src/views/warehouse/package-material/warehouseGoods/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 13:52:10
* @LastEditors: zwq
- * @LastEditTime: 2023-11-23 15:27:37
+ * @LastEditTime: 2024-02-19 09:33:09
* @Description:
-->
@@ -51,7 +51,7 @@
v-for="item in urlOptions.dictList.dict0"
:key="item.id"
:label="item.label"
- :value="parseInt(item.value)">
+ :value="item.value">
diff --git a/src/views/warehouse/part-material/warehouseGoods/add-or-updata.vue b/src/views/warehouse/part-material/warehouseGoods/add-or-updata.vue
index e976288a..d82b944a 100644
--- a/src/views/warehouse/part-material/warehouseGoods/add-or-updata.vue
+++ b/src/views/warehouse/part-material/warehouseGoods/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 13:52:10
* @LastEditors: zwq
- * @LastEditTime: 2023-11-23 15:27:28
+ * @LastEditTime: 2024-02-19 09:32:38
* @Description:
-->
@@ -51,7 +51,7 @@
v-for="item in urlOptions.dictList.dict0"
:key="item.id"
:label="item.label"
- :value="parseInt(item.value)">
+ :value="item.value">
diff --git a/src/views/warehouse/raw-material/warehouseGoods/add-or-updata.vue b/src/views/warehouse/raw-material/warehouseGoods/add-or-updata.vue
index b6dabe73..f1c7790b 100644
--- a/src/views/warehouse/raw-material/warehouseGoods/add-or-updata.vue
+++ b/src/views/warehouse/raw-material/warehouseGoods/add-or-updata.vue
@@ -51,7 +51,7 @@
v-for="item in urlOptions.dictList.dict0"
:key="item.id"
:label="item.label"
- :value="parseInt(item.value)">
+ :value="item.value">
diff --git a/src/views/warehouse/warehouse-info/add-or-updata.vue b/src/views/warehouse/warehouse-info/add-or-updata.vue
index a7661992..86c629d3 100644
--- a/src/views/warehouse/warehouse-info/add-or-updata.vue
+++ b/src/views/warehouse/warehouse-info/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 13:52:10
* @LastEditors: zwq
- * @LastEditTime: 2023-11-23 15:14:37
+ * @LastEditTime: 2024-02-19 09:34:54
* @Description:
-->
@@ -77,7 +77,7 @@
v-for="item in urlOptions.dictList.dict0"
:key="item.id"
:label="item.label"
- :value="parseInt(item.value)">
+ :value="item.value">
diff --git a/src/views/warehouse/warehouse-info/add-or-updata1.vue b/src/views/warehouse/warehouse-info/add-or-updata1.vue
index 88f24477..78ca660a 100644
--- a/src/views/warehouse/warehouse-info/add-or-updata1.vue
+++ b/src/views/warehouse/warehouse-info/add-or-updata1.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 13:52:10
* @LastEditors: zwq
- * @LastEditTime: 2023-12-05 14:05:08
+ * @LastEditTime: 2024-02-19 09:34:05
* @Description:
-->
@@ -47,7 +47,7 @@
v-for="item in urlOptions.dictList.dict0"
:key="item.id"
:label="item.label"
- :value="parseInt(item.value)">
+ :value="item.value">
@@ -63,7 +63,7 @@
v-for="item in urlOptions.dictList.dict1"
:key="item.id"
:label="item.label"
- :value="parseInt(item.value)">
+ :value="item.value">