Commit 7d83939f by xin.yang
parents 8edc6ce4 ad0b828a
...@@ -94,7 +94,11 @@ ...@@ -94,7 +94,11 @@
orderDetail.fixtureGuid orderDetail.fixtureGuid
}}</span> }}</span>
</p> </p>
<Button type="primary" @click="modal = true"
>储位选择</Button
>
</div> </div>
<div> <div>
<Button type="primary" @click="feedReady()" <Button type="primary" @click="feedReady()"
>准备上料</Button >准备上料</Button
...@@ -217,6 +221,7 @@ ...@@ -217,6 +221,7 @@
type="primary" type="primary"
size="large" size="large"
v-text="$t('1011')" v-text="$t('1011')"
@click="modal = false"
>提交</Button >提交</Button
> >
</div> </div>
...@@ -391,9 +396,11 @@ export default { ...@@ -391,9 +396,11 @@ export default {
} }
let data = { let data = {
section: this.sectionid, 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) => { (res) => {
if (res.data.ret == 1) { if (res.data.ret == 1) {
console.log(res.data.data); console.log(res.data.data);
...@@ -416,6 +423,9 @@ export default { ...@@ -416,6 +423,9 @@ export default {
}, },
handleRowChange(currentRow, oldCurrentRow) { handleRowChange(currentRow, oldCurrentRow) {
this.detailobj = currentRow; this.detailobj = currentRow;
this.orderDetail.fixtureGuid = this.detailobj.fixtureguid;
this.orderDetail.location = this.detailobj.locationid;
}, },
request(url, data, type) { request(url, data, type) {
if (type == "get") { if (type == "get") {
......
...@@ -379,6 +379,7 @@ export default { ...@@ -379,6 +379,7 @@ export default {
created() { created() {
this.columns1 = this.$time.initTableTitle(this.columns1); this.columns1 = this.$time.initTableTitle(this.columns1);
this.initFrockType(); this.initFrockType();
this.search(1,10)
}, },
methods: { methods: {
search(page, pagesize) { search(page, pagesize) {
...@@ -402,6 +403,13 @@ export default { ...@@ -402,6 +403,13 @@ export default {
}); });
}, },
add() { add() {
this.parentType = [];
this.parentId = 0;
this.sonType= [];
this.sonId = 0;
this.remark = '';
this.fileurl = '';
this.filename = '';
this.modal = true; this.modal = true;
this.type = 1; this.type = 1;
}, },
...@@ -413,7 +421,7 @@ export default { ...@@ -413,7 +421,7 @@ export default {
filename: this.filename, //附件名称 filename: this.filename, //附件名称
status: 1, status: 1,
}; };
this.request("/acc/AutomationLocation/Add", data, "post").then( this.request("/acc/FixtureToolsAssembly/Add", data, "post").then(
(res) => { (res) => {
if (res.data.ret == 1) { if (res.data.ret == 1) {
} else { } else {
......
...@@ -255,12 +255,6 @@ export default { ...@@ -255,12 +255,6 @@ export default {
filename: '',//文件名称 filename: '',//文件名称
fileurl:'',//文件路径 fileurl:'',//文件路径
UploadAction: this.axios.publicPath + "config/upload/UploadImage", UploadAction: this.axios.publicPath + "config/upload/UploadImage",
headers: {
token: localStorage.getItem("token"),
timestamp: localStorage.getItem("timestamp"),
nonce: localStorage.getItem("nonce"),
sign: localStorage.getItem("sign"),
},
spinShow:false, spinShow:false,
} }
}, },
......
...@@ -289,12 +289,6 @@ export default { ...@@ -289,12 +289,6 @@ export default {
filename: '',//文件名称 filename: '',//文件名称
fileurl:'',//文件路径 fileurl:'',//文件路径
UploadAction: this.axios.publicPath + "config/upload/UploadImage", UploadAction: this.axios.publicPath + "config/upload/UploadImage",
headers: {
token: localStorage.getItem("token"),
timestamp: localStorage.getItem("timestamp"),
nonce: localStorage.getItem("nonce"),
sign: localStorage.getItem("sign"),
},
spinShow:false, spinShow:false,
} }
}, },
......
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