Commit b1e40a50 authored by 仇晓婷's avatar 仇晓婷

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents c7f160fa e2cbdf26
......@@ -109,7 +109,7 @@ export default {
high: true
},
{
key: "first_equip",
key: "firsT_EQUIP_CODE",
title: this.l("first_equip"),
align: "left",
easy: true,
......
<template>
<div class="result-aps">
<div class="result-aps">
<Row class="expand-row">
<Col span="4">
<span class="expand-key">工序序号</span>
......@@ -20,7 +20,7 @@
<span class="expand-key">计划结束时间</span>
</Col>
<Col span="3">
<span class="expand-key">设备编号</span>
<span class="expand-key">首选资源</span>
</Col>
</Row>
<Row v-for="(item,index) in dataList" :key="item.index">
......@@ -46,8 +46,9 @@
<span>{{ item.equip_id }}</span>
</Col>
</Row>
</div>
</div>
</template>
<script>
import Api from "./api";
export default {
......@@ -76,18 +77,21 @@ export default {
}
};
</script>
<style lang='less'>
<style lang="less">
.result-aps {
.expand-row {
text-align: center;
margin: 5px 0;
font-weight: bold;
}
.expand-value {
text-align: center;
margin: 3px 0;
}
}
td.ivu-table-expanded-cell {
padding: 0 !important;
}
......
import Api from '@/plugins/request'
export default {
index: `${PlanUrl}/orderexecutenew/paged_img`,
index: `${PlanUrl}/orderexecutenew/Paged_Img_RoutingDetail`,
paged(params) {
return Api.post(`${PlanUrl}/orderexecutenew/paged_img`, params);
return Api.post(`${PlanUrl}/orderexecutenew/Paged_Img_RoutingDetail`, params);
},
getCardList(params) {
return Api.post(`${PlanUrl}/orderexecutenew/list`, params);
......
<template>
<div class="wu_bg">
<div class="wu_bg">
<div class="mass_box">
<div class="mass_list">
<h2 class="btn_play">未完工({{cardlist.length}}
......@@ -8,13 +7,7 @@
<Button class="button" type="primary" @click="rechecked">反选</Button>
</h2>
<div class="list01">
<Tag
type="dot" :checkable="true"
class="tag_card" size="large"
v-for="(item,index) in cardlist"
:name="item.id" :key="index" :checked="item.checked"
color="primary" @on-change="changeCards"
>{{item.prefix}}.{{item.code}}</Tag>
<Tag type="dot" :checkable="true" class="tag_card" size="large" v-for="(item,index) in cardlist" :name="item.id" :key="index" :checked="item.checked" color="primary" @on-change="changeCards">{{item.prefix}}.{{item.code}}</Tag>
</div>
</div>
<div class="chuanse">
......@@ -31,16 +24,7 @@
</Button>
</h2>
<div class="list02">
<Tag
type="dot"
class="tag_card02"
v-for="(item,index) in hegelist"
:key="index"
:name="item.id"
:checkable="false"
closable
@on-close="hegeClose"
>{{item.prefix}}.{{ item.code}}</Tag>
<Tag type="dot" class="tag_card02" v-for="(item,index) in hegelist" :key="index" :name="item.id" :checkable="false" closable @on-close="hegeClose">{{item.prefix}}.{{ item.code}}</Tag>
</div>
</div>
<div class="mass_list rangbu" v-if="ranglist.length>0">
......@@ -52,12 +36,7 @@
</Button>
</h2>
<div class="list02">
<Tag
type="dot" class="tag_card02"
v-for="(item,index) in ranglist" :key="index"
:name="item.id" :checkable="false"
closable @on-close="handleClose"
>{{item.prefix}}.{{ item.code}}</Tag>
<Tag type="dot" class="tag_card02" v-for="(item,index) in ranglist" :key="index" :name="item.id" :checkable="false" closable @on-close="handleClose">{{item.prefix}}.{{ item.code}}</Tag>
</div>
</div>
<div class="mass_list fanxiu_box" v-if="fanlist.length>0">
......@@ -68,12 +47,7 @@
</Button>
</h2>
<div class="list02">
<Tag
type="dot" class="tag_card02"
v-for="(item,index) in fanlist" :key="index"
:name="item.id" :checkable="false"
closable @on-close="fanClose"
>{{item.prefix}}.{{ item.code}}</Tag>
<Tag type="dot" class="tag_card02" v-for="(item,index) in fanlist" :key="index" :name="item.id" :checkable="false" closable @on-close="fanClose">{{item.prefix}}.{{ item.code}}</Tag>
</div>
</div>
<div class="mass_list fei_box" v-if="feilist.length>0">
......@@ -84,12 +58,7 @@
</Button>
</h2>
<div class="list02">
<Tag
type="dot" class="tag_card02"
v-for="(item,index) in feilist" :key="item.id"
:name="item.id" :checkable="false"
closable @on-close="feiClose"
>{{item.prefix}}.{{ item.code}}</Tag>
<Tag type="dot" class="tag_card02" v-for="(item,index) in feilist" :key="item.id" :name="item.id" :checkable="false" closable @on-close="feiClose">{{item.prefix}}.{{ item.code}}</Tag>
</div>
</div>
<div class="fei_right" v-if="feilist.length>0">
......@@ -98,11 +67,7 @@
<Select v-model="orderForm.question" style="width:80%">
<Option value class="option-text">请选择</Option>
<!-- :disabled="feilist.length == 0 ? true:false" placeholder="选择问题原因" -->
<Option
v-for="item in problemList"
:value="item.problem"
:key="item.index"
>{{ item.problem }}</Option>
<Option v-for="item in problemList" :value="item.problem" :key="item.index">{{ item.problem }}</Option>
</Select>
</FormItem>
<FormItem label="责任归属:" prop="useroption" style="width:100%">
......@@ -132,14 +97,17 @@
<Modal v-model="suModal" :title="mTitle" @on-ok="okModal">
<p>是否全部取消?</p>
</Modal>
</div>
</div>
</template>
<script>
import Api from "../api";
import OrderSendReview from "./orderSendReview";
export default {
name: "starOrder",
components: { OrderSendReview },
components: {
OrderSendReview
},
data() {
return {
checkedflag: false,
......@@ -148,22 +116,18 @@ export default {
mTitle: "确认弹框",
num: "",
surMasg: "",
entity: {},//获取展示数据
entity: {}, //获取展示数据
rules: {
question: [
{
question: [{
required: true,
message: "请选择问题原因",
trigger: "change"
}
],
useroption: [
{
}],
useroption: [{
required: true,
message: "请选择责任人",
trigger: "change"
}
]
}]
},
orderForm: {
question: "",
......@@ -174,23 +138,42 @@ export default {
ranglist: [],
fanlist: [],
feilist: [],
titleCode: '',//送审单号
problemList: [
{ problem: "问题描述01",id:1 },
{ problem: "问题描述02",id:2 },
{ problem: "问题描述03",id:3 }
titleCode: '', //送审单号
problemList: [{
problem: "问题描述01",
id: 1
},
{
problem: "问题描述02",
id: 2
},
{
problem: "问题描述03",
id: 3
}
],
blameList: [
{ user: "责任人01",id:1 },
{ user: "责任人02",id:2 },
{ user: "责任人03",id:3 }
blameList: [{
user: "责任人01",
id: 1
},
{
user: "责任人02",
id: 2
},
{
user: "责任人03",
id: 3
}
]
};
},
created() {
this.loadFun();
},
async fetch({ store, params }) {
async fetch({
store,
params
}) {
await store.dispatch("loadDictionary"); // 加载数据字典
},
mounted() {
......@@ -204,24 +187,26 @@ export default {
methods: {
loadFun() {
let pid = Number(this.$route.query.id); // JSON.stringify()
Api.getpaged({ id: pid }).then(res => {
Api.getpaged({
id: pid
}).then(res => {
if (res.success) {
let resoult = res.result;
resoult.filter(u => {
u.checked = false;
if(u.productStatus==1){
if (u.productStatus == 1) {
this.hegelist.push(u)
}
if(u.productStatus==2){
if (u.productStatus == 2) {
this.feilist.push(u)
}
if(u.productStatus==3){
if (u.productStatus == 3) {
this.ranglist.push(u)
}
if(u.productStatus==4){
if (u.productStatus == 4) {
this.fanlist.push(u)
}
if(u.productStatus==0){
if (u.productStatus == 0) {
this.cardlist.push(u)
}
});
......@@ -230,7 +215,9 @@ export default {
.catch(e => {
this.$Message.error("连接错误");
});
Api.orderanddispatchinfos({ id: pid }).then(res=>{
Api.orderanddispatchinfos({
id: pid
}).then(res => {
if (res.success && res.result) {
this.entity = res.result;
}
......@@ -425,197 +412,87 @@ export default {
},
// 提交
submit() {
let hegeops={};
let rangops={};
let fanxops={};
let feipops={};
let cardseops={};
let hegeops = {};
let rangops = {};
let fanxops = {};
let feipops = {};
let cardseops = {};
let lists = [];
let pass01 = this.hegelist.length>0;
let pass02 = this.ranglist.length>0;
let pass03 = this.fanlist.length>0;
let pass04 = this.feilist.length>0;
let pass05 = this.cardlist.length>0;
if(pass01){
let pass01 = this.hegelist.length > 0;
let pass02 = this.ranglist.length > 0;
let pass03 = this.fanlist.length > 0;
let pass04 = this.feilist.length > 0;
let pass05 = this.cardlist.length > 0;
if (pass01) {
hegeops = {
prodcutIds: [],
productStatus: this.hegelist[0].productStatus
};
this.hegelist.map(uh=>{hegeops.prodcutIds.push(uh.id)})
lists = [hegeops];
if(pass02){
rangops = {
prodcutIds: [],
productStatus: this.ranglist[0].productStatus
};
this.ranglist.map(ur=>{rangops.prodcutIds.push(ur.id)})
lists = [hegeops,rangops];
if(pass03){
fanxops = {
prodcutIds: [],
productStatus: this.fanlist[0].productStatus
};
this.fanlist.map(uf=>{fanxops.prodcutIds.push(uf.id)})
lists = [hegeops,rangops,fanxops];
if(pass05){
cardseops = {
prodcutIds: [],
productStatus: this.cardlist[0].productStatus
}
this.cardlist.map(ch=>{cardseops.prodcutIds.push(ch.id)})
lists = [cardseops,hegeops,rangops,fanxops];
}
}
}
this.hegelist.map(uh => {
hegeops.prodcutIds.push(uh.id)
})
}
if(pass02){
if (pass02) {
rangops = {
prodcutIds: [],
productStatus: this.ranglist[0].productStatus
};
this.ranglist.map(ur=>{rangops.prodcutIds.push(ur.id)})
lists = [rangops];
if(pass01){
hegeops = {
prodcutIds: [],
productStatus: this.hegelist[0].productStatus
};
this.hegelist.map(uh=>{hegeops.prodcutIds.push(uh.id)})
lists = [hegeops,rangops];
if(pass03){
fanxops = {
prodcutIds: [],
productStatus: this.fanlist[0].productStatus
};
this.fanlist.map(uf=>{fanxops.prodcutIds.push(uf.id)})
lists = [hegeops,rangops,fanxops];
if(pass05){
cardseops = {
prodcutIds: [],
productStatus: this.cardlist[0].productStatus
}
this.cardlist.map(ch=>{cardseops.prodcutIds.push(ch.id)})
lists = [cardseops,hegeops,rangops,fanxops];
}
}
}
this.ranglist.map(ur => {
rangops.prodcutIds.push(ur.id)
})
}
if(pass03){
if (pass03) {
fanxops = {
prodcutIds: [],
productStatus: this.fanlist[0].productStatus
};
this.fanlist.map(uf=>{fanxops.prodcutIds.push(uf.id)})
lists = [fanxops];
if(pass01){
hegeops = {
prodcutIds: [],
productStatus: this.hegelist[0].productStatus
};
this.hegelist.map(uh=>{hegeops.prodcutIds.push(uh.id)})
lists = [hegeops,fanxops];
if(pass02){
rangops = {
prodcutIds: [],
productStatus: this.ranglist[0].productStatus
};
this.ranglist.map(ur=>{rangops.prodcutIds.push(ur.id)})
lists = [hegeops,rangops,fanxops];
if(pass05){
cardseops = {
prodcutIds: [],
productStatus: this.cardlist[0].productStatus
}
this.cardlist.map(ch=>{cardseops.prodcutIds.push(ch.id)})
lists = [cardseops,hegeops,rangops,fanxops];
}
}
}
this.fanlist.map(uf => {
fanxops.prodcutIds.push(uf.id)
})
}
if(pass05){
if (pass05) {
cardseops = {
prodcutIds: [],
productStatus: this.cardlist[0].productStatus
}
this.cardlist.map(ch=>{cardseops.prodcutIds.push(ch.id)})
lists = [cardseops];
if(pass02){
rangops = {
prodcutIds: [],
productStatus: this.ranglist[0].productStatus
};
this.ranglist.map(ur=>{rangops.prodcutIds.push(ur.id)})
lists = [cardseops,rangops];
if(pass01){
hegeops = {
prodcutIds: [],
productStatus: this.hegelist[0].productStatus
};
this.hegelist.map(uh=>{hegeops.prodcutIds.push(uh.id)})
lists = [cardseops,hegeops,rangops];
if(pass03){
fanxops = {
prodcutIds: [],
productStatus: this.fanlist[0].productStatus
};
this.fanlist.map(uf=>{fanxops.prodcutIds.push(uf.id)})
lists = [cardseops,hegeops,rangops,fanxops];
}
}
}
this.cardlist.map(ch => {
cardseops.prodcutIds.push(ch.id)
})
}
if(pass04){
if (pass04) {
feipops = {
prodcutIds: [],
productStatus: this.feilist[0].productStatus,
cause: this.orderForm.question,
reporter: this.orderForm.useroption
};
this.feilist.map(un=>{feipops.prodcutIds.push(un.id)})
lists = [cardseops,feipops];
if(pass01){
hegeops = {
prodcutIds: [],
productStatus: this.hegelist[0].productStatus
};
this.hegelist.map(uh=>{hegeops.prodcutIds.push(uh.id)})
lists = [hegeops,feipops];
if(pass02){
rangops = {
prodcutIds: [],
productStatus: this.ranglist[0].productStatus
};
this.ranglist.map(ur=>{rangops.prodcutIds.push(ur.id)})
lists = [hegeops,rangops,feipops];
if(pass03){
fanxops = {
prodcutIds: [],
productStatus: this.fanlist[0].productStatus
};
this.fanlist.map(uf=>{fanxops.prodcutIds.push(uf.id)})
lists = [hegeops,rangops,fanxops,feipops];
if(pass05){
cardseops = {
prodcutIds: [],
productStatus: this.cardlist[0].productStatus
}
this.cardlist.map(ch=>{cardseops.prodcutIds.push(ch.id)})
lists = [cardseops,hegeops,rangops,fanxops];
this.feilist.map(un => {
feipops.prodcutIds.push(un.id)
})
}
if (cardseops.productStatus) {
lists.push(cardseops)
}
if (hegeops.productStatus) {
lists.push(hegeops)
}
if (rangops.productStatus) {
lists.push(rangops)
}
if (fanxops.productStatus) {
lists.push(fanxops)
}
console.log(lists)
let parmes={
let parmes = {
dispatchId: this.$route.query.id,
orderId: this.$route.query.orderId,
list: lists
};
Api.submitData(parmes).then(res=>{
if(res.success){
Api.submitData(parmes).then(res => {
if (res.success) {
this.$Message.success("保存成功!");
}else{
} else {
this.$Message.success("保存失败~");
}
})
......@@ -624,10 +501,10 @@ export default {
sendOrder() {
let orderse = []
let orderIds = []
this.feilist.map(item=>{
orderse.push(item.prefix+'.'+item.code)
this.feilist.map(item => {
orderse.push(item.prefix + '.' + item.code)
// orderIds.push(item.id)
orderIds.push(item.code)//工作流获取数据,暂时传code数组
orderIds.push(item.code) //工作流获取数据,暂时传code数组
})
let strOder = orderse.join(",")
this.entity.cause = this.orderForm.question;
......@@ -636,7 +513,7 @@ export default {
this.entity.orderIds = orderIds;
this.$refs["formValidate"].validate(valid => {
if (valid) {
this.submit()//提交状态改变
this.submit() //提交状态改变
let parme = {
reason: this.entity.cause,
personLiableId: this.entity.reporter,
......@@ -644,16 +521,16 @@ export default {
orderId: this.$route.query.orderId,
productIds: this.entity.orderIds,
}
Api.getshenliNo(parme).then(res=>{
if(res.success){
Api.getshenliNo(parme).then(res => {
if (res.success) {
// this.$refs.orderSendReview.info.orderInfo.code = res.result.code
this.entity.code = res.result.code
this.entity.idlist = res.result.id
}else{
} else {
console.log("获取编号失败")
}
})
let parmeseData = this.entity// this.$Message.success("送审")
let parmeseData = this.entity // this.$Message.success("送审")
console.info(parmeseData)
this.ModalOrder = true;
this.$refs.orderSendReview.alertFun(parmeseData);
......@@ -666,8 +543,8 @@ export default {
// console.log("old->",this.entity)
let orderids = []
orderids.push(this.entity.idlist)
console.log("new->",this.entity)
let parmese ={
console.log("new->", this.entity)
let parmese = {
schemaId: "c2e09c9b-02a9-4188-97a6-cdb68d50a64a",
idList: orderids,
code: this.entity.code,
......
<template>
<div>
<div>
<div class="star" v-if="dispatchStatus == 12">
<a class="start" @click="starFun"> <Icon type="md-play" />开工 </a>
<a class="start" @click="starFun">
<Icon type="md-play" />开工
</a>
</div>
<div class="star" v-else>
<div class="flex fc-b">
<Button
class="button"
size="large"
type="primary"
@click="pauseFun"
v-show="btnTextStatus"
>
<Button class="button" size="large" type="primary" @click="pauseFun" v-show="btnTextStatus">
<Icon type="ios-pause" />
{{ btnText }}
</Button>
<Button
class="button"
size="large"
type="primary"
@click="goPage(8, '数据填报')"
>
<Button class="button" size="large" type="primary" @click="goPage(8, '数据填报')">
<Icon type="logo-angular" />数据填报
</Button>
<Button
class="button"
size="large"
type="primary"
@click="goPage(7, '质量判定')"
>
<Button class="button" size="large" type="primary" @click="goPage(7, '质量判定')">
<Icon type="ios-checkmark-circle-outline" />质量判定
</Button>
<Button class="button" size="large" type="primary" @click="transferFn">
......@@ -67,12 +52,7 @@
<li>图号:{{ entity.drawnNumber }}</li>
<li>
状态:
<state
code="plan.order.status"
ref="state"
:value="entity.status"
type="text"
></state>
<state code="plan.order.status" ref="state" :value="entity.status" type="text"></state>
</li>
<li>订单编号:{{ entity.mesCode }}</li>
<li>批次号:{{ entity.batchNumber }}</li>
......@@ -89,12 +69,7 @@
<li>准备工时:{{ entity.setupTime }}</li>
<li>
工单状态:
<state
code="taskList.status"
ref="state1"
:value="dispatchStatus"
type="text"
></state>
<state code="taskList.status" ref="state1" :value="dispatchStatus" type="text"></state>
</li>
</ul>
</div>
......@@ -103,49 +78,22 @@
<img src="@/assets/imgicon/chan_Pin.png" width="70%" height="100%" />
</div>
</div>
<Modal
v-model="ransferModal"
:title="transferTitle"
fullscreen
style="z-index: 99999"
:footer-hide="cardlist.length == 0"
>
<Modal v-model="ransferModal" :title="transferTitle" fullscreen style="z-index: 99999" :footer-hide="cardlist.length == 0">
<div class="wu_bgModal">
<div class="mass_box">
<div class="mass_list">
<h2 class="btn_play tl">
选择产品({{ cardlist.length }}
<Button class="button" type="primary" @click="allcheck"
>全选</Button
>
<Button class="button" type="primary" @click="rechecked"
>反选</Button
>
<Button class="button" type="primary" @click="allcheck">全选</Button>
<Button class="button" type="primary" @click="rechecked">反选</Button>
</h2>
<div class="list01 tl">
<Tag
type="dot"
:checkable="true"
class="tag_card"
size="large"
v-for="(item, index) in cardlist"
:name="item.id"
:key="index"
:checked="item.checked"
color="primary"
@on-change="changeCards"
>{{ item.product_code }}</Tag
>
<Tag type="dot" :checkable="true" class="tag_card" size="large" v-for="(item, index) in cardlist" :name="item.id" :key="index" :checked="item.checked" color="primary" @on-change="changeCards">{{ item.product_code }}</Tag>
</div>
</div>
</div>
<div class="mass_box">
<UserSelect
ref="userSelected"
:datas="userlist"
v-model="user"
v-width="300"
/>
<UserSelect ref="userSelected" :datas="userlist" v-model="user" v-width="300" />
</div>
</div>
<div slot="footer">
......@@ -153,57 +101,61 @@
<Button class="button" type="primary" @click="ransOk">确定</Button>
</div>
</Modal>
</div>
<Modal v-model="workOrderPauseModal" title="工单暂停原因" width="800" footer-hide class="suspend">
<EntryPause @on-ok="pauseOk" ref="addBug" :info="info" />
</Modal>
</div>
</template>
<script>
import Api from "../api";
import EntryPause from "../../../order/monitoring/entryPause";
import ApiTech from "../../../technology/productMix/product/api";
export default {
name: "starOrder",
components: {
EntryPause
},
data() {
return {
starmodal: true,
downUrl: fileUrlDown,
contentMsge:
"<ul><li>暂停 2020-02-06 15:35</li><li>继续 2020-02-06 15:35</li></ul>",
contentMsge: "<ul><li>暂停 2020-02-06 15:35</li><li>继续 2020-02-06 15:35</li></ul>",
ransferModal: false,
transferTitle: "确认转序",
images: [],
iamges1: [
{
iamges1: [{
thumbnail: iconImg + "noPic_product.png",
source: iconImg + "noPic_product.png",
},
],
}, ],
entity: {},
id: Number(this.$route.query.id),
orderId: Number(this.$route.query.orderId),
dispatchStatus: Number(this.$route.query.dispatchStatus),
eid: "",
btnText:
Number(this.$route.query.dispatchStatus) == 14
? "暂停"
: Number(this.$route.query.dispatchStatus) == 5
? "继续"
: "",
btnTextStatus:
Number(this.$route.query.dispatchStatus) == 14
? true
: Number(this.$route.query.dispatchStatus) == 5
? true
: false,
btnText: Number(this.$route.query.dispatchStatus) == 14 ?
"暂停" : Number(this.$route.query.dispatchStatus) == 5 ?
"继续" : "",
btnTextStatus: Number(this.$route.query.dispatchStatus) == 14 ?
true : Number(this.$route.query.dispatchStatus) == 5 ?
true : false,
cardlist: [],
detailId: null,
nextDetailId: null,
operatorId: null,
userlist: [],
user: null,
workOrderPauseModal: false,
info: {}
};
},
created() {
// this.treeHeight = window.innerHeight - 120;
},
async fetch({ store, params }) {
async fetch({
store,
params
}) {
await store.dispatch("loadDictionary");
},
mounted() {
......@@ -243,20 +195,21 @@ export default {
orderid: this.orderId + "",
};
if (this.btnText == "暂停") {
Api.entrypause(params)
.then((res) => {
if (res.success) {
this.$Message.success("暂停成功!");
this.dispatchStatus = 5;
this.btnText = "继续";
this.textBtn();
} else {
this.$Message.error("暂停失败!");
}
})
.catch((err) => {
this.$Message.error("连接错误");
});
this.pause();
// Api.entrypause(params)
// .then((res) => {
// if (res.success) {
// this.$Message.success("暂停成功!");
// this.dispatchStatus = 5;
// this.btnText = "继续";
// this.textBtn();
// } else {
// this.$Message.error("暂停失败!");
// }
// })
// .catch((err) => {
// this.$Message.error("连接错误");
// });
} else if (this.btnText == "继续") {
Api.entrentrycontinuestart(params)
.then((res) => {
......@@ -274,6 +227,21 @@ export default {
});
}
},
pause() {
//暂停工单
this.info = {
dispatch_id: this.id,
execute_id: Number(this.$route.query.executeId),
order_id: this.orderId
};
this.workOrderPauseModal = true;
},
pauseOk() {
this.workOrderPauseModal = false;
this.dispatchStatus = 5;
this.btnText = "继续";
this.textBtn();
},
textBtn() {
//控制第一个按钮的text及显示
if (this.dispatchStatus == 14) {
......@@ -301,7 +269,9 @@ export default {
if (r.success && r.result) {
this.entity = r.result;
if (r.result.productId && r.result.productId > 0) {
ApiTech.get({ id: r.result.productId }).then((res) => {
ApiTech.get({
id: r.result.productId
}).then((res) => {
if (res.success && res.result) {
if (
res.result.productUrlList &&
......
......@@ -368,7 +368,7 @@ export default {
this.newModel = true;
},
loaddata(orderid) {
var url = `${technologyUrl}/ordermateriallist/getbyorderid?id=` + orderid;
var url = `${technologyUrl}ordermateriallist/getbyorderid?id=` + orderid;
service.get(`${url}`).then(response => {
this.formValidate = response.result.orderMaterial;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment