Commit 38f5f173 by yiyu.li

add

parent 687af983
......@@ -94,7 +94,11 @@
orderDetail.fixtureGuid
}}</span>
</p>
<Button type="primary" @click="modal = true"
>储位选择</Button
>
</div>
<div>
<Button type="primary" @click="feedReady()"
>准备上料</Button
......@@ -217,6 +221,7 @@
type="primary"
size="large"
v-text="$t('1011')"
@click="modal = false"
>提交</Button
>
</div>
......@@ -391,9 +396,11 @@ export default {
}
let data = {
section: this.sectionid,
code: this.orderDetail.fixtureGuid,
code: this.orderDetail.orderNumber,
guid:this.orderDetail.fixtureGuid,
locationid:this.orderDetail.location
};
this.request("/acc/AutomationOperate/Loading", data, "post").thne(
this.request("/acc/AutomationOperate/Loading", data, "post").then(
(res) => {
if (res.data.ret == 1) {
console.log(res.data.data);
......@@ -416,6 +423,9 @@ export default {
},
handleRowChange(currentRow, oldCurrentRow) {
this.detailobj = currentRow;
this.orderDetail.fixtureGuid = this.detailobj.fixtureguid;
this.orderDetail.location = this.detailobj.locationid;
},
request(url, data, type) {
if (type == "get") {
......
......@@ -379,6 +379,7 @@ export default {
created() {
this.columns1 = this.$time.initTableTitle(this.columns1);
this.initFrockType();
this.search(1,10)
},
methods: {
search(page, pagesize) {
......@@ -402,6 +403,13 @@ export default {
});
},
add() {
this.parentType = [];
this.parentId = 0;
this.sonType= [];
this.sonId = 0;
this.remark = '';
this.fileurl = '';
this.filename = '';
this.modal = true;
this.type = 1;
},
......@@ -413,7 +421,7 @@ export default {
filename: this.filename, //附件名称
status: 1,
};
this.request("/acc/AutomationLocation/Add", data, "post").then(
this.request("/acc/FixtureToolsAssembly/Add", data, "post").then(
(res) => {
if (res.data.ret == 1) {
} else {
......
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