xial
This commit is contained in:
parent
089a311768
commit
fc558c042c
|
@ -32,7 +32,7 @@
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
v-loading="listLoading"
|
||||||
:data="equipmentList.results"
|
:data="equipmentList.results"
|
||||||
:cell-style="tableRowClassName"
|
|
||||||
border
|
border
|
||||||
fit
|
fit
|
||||||
stripe
|
stripe
|
||||||
|
@ -325,6 +325,7 @@ import Pagination from "@/components/Pagination"; // secondary package based on
|
||||||
const defaultequipment = {
|
const defaultequipment = {
|
||||||
name: "",
|
name: "",
|
||||||
number: "",
|
number: "",
|
||||||
|
type:null,
|
||||||
};
|
};
|
||||||
export default {
|
export default {
|
||||||
components: { Pagination },
|
components: { Pagination },
|
||||||
|
@ -399,6 +400,7 @@ export default {
|
||||||
listQuery: {
|
listQuery: {
|
||||||
page: 1,
|
page: 1,
|
||||||
page_size: 20,
|
page_size: 20,
|
||||||
|
type:null,
|
||||||
},
|
},
|
||||||
keeperOptions: [],
|
keeperOptions: [],
|
||||||
depOptions: [],
|
depOptions: [],
|
||||||
|
@ -408,7 +410,7 @@ export default {
|
||||||
rule1: {
|
rule1: {
|
||||||
name: [{ required: true, message: "请输入", trigger: "blur" }],
|
name: [{ required: true, message: "请输入", trigger: "blur" }],
|
||||||
number: [{ required: true, message: "请输入", trigger: "blur" }],
|
number: [{ required: true, message: "请输入", trigger: "blur" }],
|
||||||
type: [{ required: true, message: "请输入", trigger: "blur" }],
|
|
||||||
model: [{ required: true, message: "请输入", trigger: "blur" }],
|
model: [{ required: true, message: "请输入", trigger: "blur" }],
|
||||||
state: [{ required: true, message: "请选择", trigger: "blur" }],
|
state: [{ required: true, message: "请选择", trigger: "blur" }],
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card>
|
<el-card>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
v-loading="listLoading"
|
||||||
:data="fifoList.results"
|
:data="fifoList.results"
|
||||||
|
@ -40,17 +39,13 @@
|
||||||
fit
|
fit
|
||||||
stripe
|
stripe
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
|
|
||||||
height="100"
|
height="100"
|
||||||
v-el-height-adaptive-table="{ bottomOffset: 42 }"
|
v-el-height-adaptive-table="{ bottomOffset: 42 }"
|
||||||
>
|
>
|
||||||
|
|
||||||
<el-table-column type="index" width="50" />
|
<el-table-column type="index" width="50" />
|
||||||
|
|
||||||
<el-table-column label="记录编号">
|
<el-table-column label="记录编号">
|
||||||
<template slot-scope="scope">{{
|
<template slot-scope="scope">{{ scope.row.number }}</template>
|
||||||
scope.row.number
|
|
||||||
}}</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作人员">
|
<el-table-column label="操作人员">
|
||||||
<template slot-scope="scope" v-if="scope.row.create_by">{{
|
<template slot-scope="scope" v-if="scope.row.create_by">{{
|
||||||
|
@ -106,7 +101,6 @@
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:visible.sync="dialogVisibles"
|
:visible.sync="dialogVisibles"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
|
|
||||||
title="新增采购入库"
|
title="新增采购入库"
|
||||||
>
|
>
|
||||||
<el-form
|
<el-form
|
||||||
|
@ -116,12 +110,8 @@
|
||||||
label-position="right"
|
label-position="right"
|
||||||
:rules="rule1"
|
:rules="rule1"
|
||||||
>
|
>
|
||||||
<el-form-item
|
<el-form-item label="采购订单" >
|
||||||
|
<el-select v-model="inpur.pu_order">
|
||||||
label="采购订单"
|
|
||||||
:prop="pu_order"
|
|
||||||
>
|
|
||||||
<el-select v-model="inpur.pu_order" size="small">
|
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in puorderoptions"
|
v-for="item in puorderoptions"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
|
@ -130,13 +120,15 @@
|
||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<el-button type="danger" @click="dialogVisibles = false">取消</el-button>
|
<el-button type="danger" @click="dialogVisibles = false"
|
||||||
<el-button type="primary" @click="confirminpur('Form1')">确认</el-button>
|
>取消</el-button
|
||||||
|
>
|
||||||
|
<el-button type="primary" @click="confirminpur('Form1')"
|
||||||
|
>确认</el-button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
@ -152,11 +144,7 @@
|
||||||
label-position="right"
|
label-position="right"
|
||||||
:rules="rule1"
|
:rules="rule1"
|
||||||
>
|
>
|
||||||
<el-form-item
|
<el-form-item class="warehouse" label="供应商" >
|
||||||
class="warehouse"
|
|
||||||
label="供应商"
|
|
||||||
:prop="vendor"
|
|
||||||
>
|
|
||||||
<el-select v-model="inventory.vendor" size="small">
|
<el-select v-model="inventory.vendor" size="small">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in vendoroptions"
|
v-for="item in vendoroptions"
|
||||||
|
@ -166,7 +154,6 @@
|
||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div v-for="(item, index) in inventory.details" :key="index">
|
<div v-for="(item, index) in inventory.details" :key="index">
|
||||||
<el-row>
|
<el-row>
|
||||||
|
@ -293,10 +280,7 @@ import {
|
||||||
deleteFifo,
|
deleteFifo,
|
||||||
audit,
|
audit,
|
||||||
} from "@/api/inm";
|
} from "@/api/inm";
|
||||||
import {
|
import { getPuorderList } from "@/api/pum";
|
||||||
getPuorderList,
|
|
||||||
|
|
||||||
} from "@/api/pum";
|
|
||||||
import checkPermission from "@/utils/permission";
|
import checkPermission from "@/utils/permission";
|
||||||
import { getpVendorList } from "@/api/vendor";
|
import { getpVendorList } from "@/api/vendor";
|
||||||
import { getMaterialList } from "@/api/mtm";
|
import { getMaterialList } from "@/api/mtm";
|
||||||
|
@ -329,7 +313,7 @@ export default {
|
||||||
4: "生产入库",
|
4: "生产入库",
|
||||||
5: "其他入库",
|
5: "其他入库",
|
||||||
},
|
},
|
||||||
inpur:{pu_order:null},
|
inpur: [],
|
||||||
listQuery: {
|
listQuery: {
|
||||||
page: 1,
|
page: 1,
|
||||||
page_size: 20,
|
page_size: 20,
|
||||||
|
@ -371,27 +355,26 @@ export default {
|
||||||
},
|
},
|
||||||
//出入库详情
|
//出入库详情
|
||||||
handleDetail(scope) {
|
handleDetail(scope) {
|
||||||
this.$router.push({ name: "fifodetail", params: { id: scope.row.id,pu_order:scope.row.pu_order, } });
|
this.$router.push({
|
||||||
|
name: "fifodetail",
|
||||||
|
params: { id: scope.row.id, pu_order: scope.row.pu_order },
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
//供应商列表
|
//供应商列表
|
||||||
getListgys() {
|
getListgys() {
|
||||||
|
|
||||||
getpVendorList({ page: 0 }).then((response) => {
|
getpVendorList({ page: 0 }).then((response) => {
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
this.vendoroptions = response.data;
|
this.vendoroptions = response.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//采购订单
|
//采购订单
|
||||||
getpuorderList() {
|
getpuorderList() {
|
||||||
|
|
||||||
getPuorderList({ page: 0 }).then((response) => {
|
getPuorderList({ page: 0 }).then((response) => {
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
this.puorderoptions = response.data;
|
this.puorderoptions = response.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//采购入库提交
|
//采购入库提交
|
||||||
|
@ -462,7 +445,7 @@ export default {
|
||||||
this.$confirm("是否通过?", "提示", {
|
this.$confirm("是否通过?", "提示", {
|
||||||
confirmButtonText: "确认",
|
confirmButtonText: "确认",
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
type: 'success',
|
type: "success",
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
await audit(scope.row.id);
|
await audit(scope.row.id);
|
||||||
|
@ -511,7 +494,6 @@ export default {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -36,9 +36,9 @@
|
||||||
|
|
||||||
<el-table-column label="订单">
|
<el-table-column label="订单">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-span v-if="scope.row.to_order_">{{
|
<span v-if="scope.row.to_order_">{{
|
||||||
scope.row.to_order_.number
|
scope.row.to_order_.number
|
||||||
}}</el-span>
|
}}</span>
|
||||||
<el-tag
|
<el-tag
|
||||||
v-else-if="
|
v-else-if="
|
||||||
scope.row.to_order_ == null && scope.row.need_to_order == true
|
scope.row.to_order_ == null && scope.row.need_to_order == true
|
||||||
|
@ -46,35 +46,35 @@
|
||||||
>
|
>
|
||||||
需要确定订单
|
需要确定订单
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-span v-else></el-span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="合同">
|
<el-table-column label="合同">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-span v-if="scope.row.to_order_">{{
|
<span v-if="scope.row.to_order_">{{
|
||||||
scope.row.to_order_.contract_.name
|
scope.row.to_order_.contract_.name
|
||||||
}}</el-span>
|
}}</span>
|
||||||
<el-span
|
<span
|
||||||
v-else-if="
|
v-else-if="
|
||||||
scope.row.to_order_ == null && scope.row.need_to_order == true
|
scope.row.to_order_ == null && scope.row.need_to_order == true
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
</el-span>
|
</span>
|
||||||
<el-span v-else></el-span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="客户">
|
<el-table-column label="客户">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-span v-if="scope.row.to_order_">{{
|
<span v-if="scope.row.to_order_">{{
|
||||||
scope.row.to_order_.customer_.name
|
scope.row.to_order_.customer_.name
|
||||||
}}</el-span>
|
}}</span>
|
||||||
<el-span
|
<span
|
||||||
v-else-if="
|
v-else-if="
|
||||||
scope.row.to_order_ == null && scope.row.need_to_order == true
|
scope.row.to_order_ == null && scope.row.need_to_order == true
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
</el-span>
|
</span>
|
||||||
<el-span v-else></el-span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.is_mtestok == false">不合格</el-tag>
|
<el-tag v-if="scope.row.is_mtestok == false">不合格</el-tag>
|
||||||
<el-tag v-else-if="scope.row.is_mtestok == true">合格</el-tag>
|
<el-tag v-else-if="scope.row.is_mtestok == true">合格</el-tag>
|
||||||
<el-span v-else></el-span
|
<span v-else></span
|
||||||
></template>
|
></template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column align="center" label="操作" width="220px">
|
<!-- <el-table-column align="center" label="操作" width="220px">
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<el-tab-pane label="批次" name="3">
|
<el-tab-pane label="批次" name="3">
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
|
||||||
:data="InventoryList"
|
:data="InventoryList"
|
||||||
border
|
border
|
||||||
fit
|
fit
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
|
|
||||||
<el-tab-pane label="关联的订单" name="1">
|
<el-tab-pane label="关联的订单" name="1">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
|
||||||
:data="orderlist"
|
:data="orderlist"
|
||||||
border
|
border
|
||||||
fit
|
fit
|
||||||
|
@ -212,10 +212,10 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
materialdetail:"",
|
materialdetail:"",
|
||||||
orderlist:"",
|
orderlist:[],
|
||||||
wproductList:"",
|
wproductList:[],
|
||||||
productionplanList:"",
|
productionplanList:[],
|
||||||
InventoryList:"",
|
InventoryList:[],
|
||||||
activeName:'3',
|
activeName:'3',
|
||||||
actstate_: {
|
actstate_: {
|
||||||
6: "待复检",
|
6: "待复检",
|
||||||
|
|
|
@ -653,8 +653,8 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
materialoptions: [],
|
materialoptions: [],
|
||||||
subproducationData: "",
|
subproducationData: [],
|
||||||
inputtableData: "",
|
inputtableData: [],
|
||||||
editorOption: {},
|
editorOption: {},
|
||||||
processOptions: [],
|
processOptions: [],
|
||||||
is_main: false,
|
is_main: false,
|
||||||
|
@ -662,11 +662,11 @@
|
||||||
techdoc: defaulttechdoc,
|
techdoc: defaulttechdoc,
|
||||||
subproducation: defaultsubproducation,
|
subproducation: defaultsubproducation,
|
||||||
inputmaterial: defaultinputmaterial,
|
inputmaterial: defaultinputmaterial,
|
||||||
techdoctableData: "",
|
techdoctableData: [],
|
||||||
outputtableData: "",
|
outputtableData: [],
|
||||||
othertableData: "",
|
othertableData: [],
|
||||||
outputmaterial: defaultoutputmaterial,
|
outputmaterial: defaultoutputmaterial,
|
||||||
usedsteptableData: "",
|
usedsteptableData: [],
|
||||||
usedstep: defaultusedstep,
|
usedstep: defaultusedstep,
|
||||||
materialList: {
|
materialList: {
|
||||||
count: 0,
|
count: 0,
|
||||||
|
|
|
@ -81,6 +81,10 @@
|
||||||
<el-table-column align="center" label="出勤天数">
|
<el-table-column align="center" label="出勤天数">
|
||||||
<template slot-scope="scope">{{ scope.row.count }}</template>
|
<template slot-scope="scope">{{ scope.row.count }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="应到天数">
|
||||||
|
<template slot-scope="scope">{{ scope.row.count_workday }}</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
|
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
|
@ -131,7 +135,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
userList: { count: 0 },
|
userList: { count: 0 },
|
||||||
atworkList: "",
|
atworkList: [],
|
||||||
value3:null,
|
value3:null,
|
||||||
value2:null,
|
value2:null,
|
||||||
listLoading: true,
|
listLoading: true,
|
||||||
|
|
|
@ -236,7 +236,7 @@ export default {
|
||||||
//不合格玻璃审理单查看
|
//不合格玻璃审理单查看
|
||||||
handledetailbhg(scope)
|
handledetailbhg(scope)
|
||||||
{
|
{
|
||||||
|
console.log(scope.row.ticket);
|
||||||
this.$router.push({name:"ticketDetail",params:{ticketId:scope.row.ticket}})
|
this.$router.push({name:"ticketDetail",params:{ticketId:scope.row.ticket}})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
>申请
|
>申请
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
|
||||||
:data="iproductData.results"
|
:data="iproductData.results"
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
border
|
border
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="军检列表" name="second">
|
<el-tab-pane label="军检列表" name="second">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading2"
|
|
||||||
:data="iproductData2.results"
|
:data="iproductData2.results"
|
||||||
border
|
border
|
||||||
fit
|
fit
|
||||||
|
@ -78,9 +78,9 @@
|
||||||
|
|
||||||
<el-table-column label="订单">
|
<el-table-column label="订单">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-span v-if="scope.row.to_order_">{{
|
<span v-if="scope.row.to_order_">{{
|
||||||
scope.row.to_order_.number
|
scope.row.to_order_.number
|
||||||
}}</el-span>
|
}}</span>
|
||||||
<el-tag
|
<el-tag
|
||||||
v-else-if="
|
v-else-if="
|
||||||
scope.row.to_order_ == null && scope.row.need_to_order == true
|
scope.row.to_order_ == null && scope.row.need_to_order == true
|
||||||
|
@ -88,35 +88,35 @@
|
||||||
>
|
>
|
||||||
需要确定订单
|
需要确定订单
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-span v-else></el-span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="合同">
|
<el-table-column label="合同">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-span v-if="scope.row.to_order_">{{
|
<span v-if="scope.row.to_order_">{{
|
||||||
scope.row.to_order_.contract_.name
|
scope.row.to_order_.contract_.name
|
||||||
}}</el-span>
|
}}</span>
|
||||||
<el-span
|
<span
|
||||||
v-else-if="
|
v-else-if="
|
||||||
scope.row.to_order_ == null && scope.row.need_to_order == true
|
scope.row.to_order_ == null && scope.row.need_to_order == true
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
</el-span>
|
</span>
|
||||||
<el-span v-else></el-span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="客户">
|
<el-table-column label="客户">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-span v-if="scope.row.to_order_">{{
|
<span v-if="scope.row.to_order_">{{
|
||||||
scope.row.to_order_.customer_.name
|
scope.row.to_order_.customer_.name
|
||||||
}}</el-span>
|
}}</span>
|
||||||
<el-span
|
<span
|
||||||
v-else-if="
|
v-else-if="
|
||||||
scope.row.to_order_ == null && scope.row.need_to_order == true
|
scope.row.to_order_ == null && scope.row.need_to_order == true
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
</el-span>
|
</span>
|
||||||
<el-span v-else></el-span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="军检">
|
<el-table-column label="军检">
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
|
|
||||||
<el-tag v-if="scope.row.is_mtestok == false">不合格</el-tag>
|
<el-tag v-if="scope.row.is_mtestok == false">不合格</el-tag>
|
||||||
<el-tag v-else-if="scope.row.is_mtestok == true">合格</el-tag>
|
<el-tag v-else-if="scope.row.is_mtestok == true">合格</el-tag>
|
||||||
<el-span v-else></el-span></template>
|
<span v-else></span></template>
|
||||||
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card >
|
<el-card >
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
|
||||||
:data="saleList.results"
|
:data="saleList.results"
|
||||||
border
|
border
|
||||||
fit
|
fit
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
label-width="80px"
|
label-width="80px"
|
||||||
label-position="right"
|
label-position="right"
|
||||||
|
|
||||||
:rules="rule1"
|
|
||||||
>
|
>
|
||||||
<el-form-item label="关联订单" prop="name">
|
<el-form-item label="关联订单" prop="name">
|
||||||
<el-select style="width: 100%" v-model="sale.order" @change="selectorder" placeholder="请选择">
|
<el-select style="width: 100%" v-model="sale.order" @change="selectorder" placeholder="请选择">
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
<el-form-item label="选择产品" prop="iproducts">
|
<el-form-item label="选择产品" prop="iproducts">
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
|
||||||
:data="iproductoptions"
|
:data="iproductoptions"
|
||||||
border
|
border
|
||||||
fit
|
fit
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<el-tabs v-model="activeName" @tab-click="handleClick" type="border-card">
|
<el-tabs @tab-click="handleClick" type="border-card">
|
||||||
<el-tab-pane
|
<el-tab-pane
|
||||||
:key="item.name"
|
:key="item.name"
|
||||||
v-for="item in processOption"
|
v-for="item in processOption"
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
fit
|
fit
|
||||||
stripe
|
stripe
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
max-height="670"
|
height="100"
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
v-el-height-adaptive-table="{bottomOffset: 30}"
|
v-el-height-adaptive-table="{bottomOffset: 30}"
|
||||||
>
|
>
|
||||||
|
|
|
@ -806,7 +806,7 @@ filediv.innerHTML=' <div id="wordView" v-html='+this.wordText+' />';
|
||||||
{
|
{
|
||||||
this.pdf=tab.name;
|
this.pdf=tab.name;
|
||||||
var filediv = document.getElementById('file');
|
var filediv = document.getElementById('file');
|
||||||
filediv.innerHTML=' <iframe width=420 height=330 frameborder=0 scrolling=auto src='+tab.name+'></iframe>';
|
filediv.innerHTML=' <frame width=800 height=900 frameborder=0 scrolling=auto src='+tab.name+'></frame>';
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -248,7 +248,7 @@
|
||||||
:visible.sync="dialogFormVisiblebcp"
|
:visible.sync="dialogFormVisiblebcp"
|
||||||
>
|
>
|
||||||
<el-form :model="formbcp">
|
<el-form :model="formbcp">
|
||||||
<el-form-item label="甩片原因" :label-width="formLabelWidth">
|
<el-form-item label="甩片原因" >
|
||||||
<el-select
|
<el-select
|
||||||
style="width: 80%"
|
style="width: 80%"
|
||||||
v-model="formbcp.scrap_reason"
|
v-model="formbcp.scrap_reason"
|
||||||
|
@ -751,12 +751,12 @@ export default {
|
||||||
subproductionplanList: {
|
subproductionplanList: {
|
||||||
count: 0,
|
count: 0,
|
||||||
},
|
},
|
||||||
wmaterialList: "",
|
wmaterialList: [],
|
||||||
listQuery: {
|
listQuery: {
|
||||||
page: 1,
|
page: 1,
|
||||||
page_size: 20,
|
page_size: 20,
|
||||||
},
|
},
|
||||||
iproductData: "",
|
iproductData: [],
|
||||||
remark: "",
|
remark: "",
|
||||||
values: 0,
|
values: 0,
|
||||||
active: 0,
|
active: 0,
|
||||||
|
@ -810,7 +810,7 @@ export default {
|
||||||
pickData: {},
|
pickData: {},
|
||||||
steps: [],
|
steps: [],
|
||||||
step: null,
|
step: null,
|
||||||
processOption: "",
|
processOption: [],
|
||||||
subproduction_plan: "",
|
subproduction_plan: "",
|
||||||
form1: [],
|
form1: [],
|
||||||
form2: [],
|
form2: [],
|
||||||
|
@ -823,7 +823,7 @@ export default {
|
||||||
field1: [],
|
field1: [],
|
||||||
field2: [],
|
field2: [],
|
||||||
fromData: [],
|
fromData: [],
|
||||||
wproductData: "",
|
wproductData: [],
|
||||||
wpID: [],
|
wpID: [],
|
||||||
multipleSelection: [],
|
multipleSelection: [],
|
||||||
wproducts: [],
|
wproducts: [],
|
||||||
|
@ -832,8 +832,8 @@ export default {
|
||||||
Operation: {},
|
Operation: {},
|
||||||
wproductdata: {},
|
wproductdata: {},
|
||||||
workData: {},
|
workData: {},
|
||||||
bcplist: "",
|
bcplist: [],
|
||||||
wproductslist: "",
|
wproductslist: [],
|
||||||
formbcp: {},
|
formbcp: {},
|
||||||
dialogFormVisiblebcp: false,
|
dialogFormVisiblebcp: false,
|
||||||
scrapreason: [
|
scrapreason: [
|
||||||
|
|
Loading…
Reference in New Issue