查看详情
@@ -217,7 +217,7 @@
},
{
label: "责任人",
- prop: "responsibleUserName",
+ prop: "managerUserName",
rules: [{
required: true,
message: "请输入负责人",
diff --git a/src/views/smart/workorderDetail.vue b/src/views/smart/workorderDetail.vue
index 9458f6c..d67886a 100644
--- a/src/views/smart/workorderDetail.vue
+++ b/src/views/smart/workorderDetail.vue
@@ -22,11 +22,11 @@
取消
- 确定
- 审核
- 驳回
- 修改
- 删除
+ 确定
+ 审核
+ 驳回
+ 修改
+ 删除
@@ -180,7 +180,7 @@
maxlength: 400
}, {
label: "责任人",
- prop: "responsibleUserId",
+ prop: "managerUserId",
type: 'select',
loadingText: '加载中',
placeholder: '请输入用户编号或名称',
@@ -372,7 +372,6 @@
cancelButtonText: "取消",
type: "warning"
}).then(() => {
- this.tab1_form.checkStatus = "1"
add(this.tab1_form).then(() => {
this.$router.push({
path: "/smart/workorder",
diff --git a/src/views/spares/manufacturerinfo.vue b/src/views/spares/manufacturerinfo.vue
new file mode 100644
index 0000000..a1a529f
--- /dev/null
+++ b/src/views/spares/manufacturerinfo.vue
@@ -0,0 +1,325 @@
+
+
+
+
+ 批量删除
+
+
+ 新增
+ 批量驳回
+ 批量审核
+ 导出
+
+
+
+
+
+
+
+
diff --git a/src/views/spares/material.vue b/src/views/spares/material.vue
index 9a8ab13..350f63d 100644
--- a/src/views/spares/material.vue
+++ b/src/views/spares/material.vue
@@ -94,12 +94,14 @@
import {mapGetters} from "vuex";
import expUtil from "@/util/exportUtil";
import {getToken} from "@/util/auth";
+ import request from "@/router/axios";
export default {
data() {
return {
form: {},
query: {},
+ search:{},
loading: true,
inBox: false,
outBox: false,
@@ -254,6 +256,29 @@
prop: "materialNo",
type:"select",
span: 22,
+ dicUrl: "/api/spares/material/getNoList",
+ props: {
+ label: "materialNo",
+ value: "materialNo",
+ },
+ event: {
+ change: (val) => {
+ if (!val) return
+ if (val) {
+ request({
+ url: '/api/spares/material/getDetailList',
+ method: 'get',
+ params: {
+ materialNo: val
+ }
+ }).then((res) => {
+ this.inForm.materialName = res.data.data.materialName;
+ this.inForm.model = res.data.data.model;
+ // this.inForm.warehouse = res.data.data.warehouseName;
+ })
+ }
+ },
+ },
rules: [{
required: true,
message: "请输入物资编号",
@@ -322,6 +347,29 @@
label: "物资编号",
prop: "materialNo",
span: 22,
+ dicUrl: "/api/spares/material/getNoList",
+ props: {
+ label: "materialNo",
+ value: "materialNo",
+ },
+ event: {
+ change: (val) => {
+ if (!val) return
+ if (val) {
+ request({
+ url: '/api/spares/material/getDetailList',
+ method: 'get',
+ params: {
+ materialNo: val
+ }
+ }).then((res) => {
+ this.inForm.materialName = res.data.data.materialName;
+ this.inForm.model = res.data.data.model;
+ // this.inForm.warehouse = res.data.data.warehouseName;
+ })
+ }
+ },
+ },
rules: [{
required: true,
message: "请输入物资编号",
@@ -455,13 +503,14 @@
},
handleIn(){
this.inBox = true;
+ this.$refs.inForm.resetForm();
},
submitIn(row, done, loading) {
this.$refs.inForm.validate((valid, done, msg) => {
if (valid) {
done()
in_add(this.inForm).then(() => {
- this.$refs.inForm.inForm();
+ this.$refs.inForm.resetForm();
this.inBox = false;
this.onLoad(this.page);
this.$message({
@@ -482,13 +531,14 @@
},
handleOut(){
this.outBox = true;
+ this.$refs.outForm.resetForm();
},
submitOut(row, done, loading) {
this.$refs.outForm.validate((valid, done, msg) => {
if (valid) {
done()
out_add(this.outForm).then(() => {
- this.$refs.outForm.outForm();
+ this.$refs.outForm.resetForm();
this.outBox = false;
this.onLoad(this.page);
this.$message({
@@ -513,7 +563,7 @@
cancelButtonText: "取消",
type: "warning"
}).then(() => {
- expUtil.excelExport(`/api/spares/export?daf-auth=${getToken()}`, this.search, ['station', 'iStatus']);
+ expUtil.excelExport(`/api/spares/material/export?daf-auth=${getToken()}`, this.search, ['station']);
});
},
handleDetailSearch(row) {
diff --git a/src/views/spares/materialclassification.vue b/src/views/spares/materialclassification.vue
new file mode 100644
index 0000000..a0d1b86
--- /dev/null
+++ b/src/views/spares/materialclassification.vue
@@ -0,0 +1,246 @@
+
+
+
+
+ 批量删除
+
+
+ 新增
+ 导出
+
+
+
+
+
+
+
+
diff --git a/src/views/spares/supplierinfo.vue b/src/views/spares/supplierinfo.vue
new file mode 100644
index 0000000..4201fd3
--- /dev/null
+++ b/src/views/spares/supplierinfo.vue
@@ -0,0 +1,333 @@
+
+
+
+
+ 批量删除
+
+
+ 新增
+ 批量驳回
+ 批量审核
+ 导出
+
+
+
+
+
+
+
+
diff --git a/src/views/spares/warehouse.vue b/src/views/spares/warehouse.vue
new file mode 100644
index 0000000..c63eeba
--- /dev/null
+++ b/src/views/spares/warehouse.vue
@@ -0,0 +1,309 @@
+
+
+
+
+ 批量删除
+
+
+ 新增
+ 批量驳回
+ 批量审核
+ 导出
+
+
+
+
+
+
+
+