Compare commits

..

No commits in common. "51d6ce5dbbdf62467e8ad135aa42dea42699acf6" and "2ab686a79799463c5d26b387096e5325f7a86cef" have entirely different histories.

View File

@ -203,6 +203,7 @@ export default {
methods: { methods: {
init(data, param) { init(data, param) {
this.form.orderId = data.id this.form.orderId = data.id
this.form.orderName = data.name
this.getList() this.getList()
if (param === 'add') { if (param === 'add') {
this.isBind = false this.isBind = false
@ -259,12 +260,12 @@ export default {
orderIssue({ ..._this.form }).then(res => { orderIssue({ ..._this.form }).then(res => {
if (res.code === 0) { if (res.code === 0) {
_this.$modal.msgSuccess("操作成功") _this.$modal.msgSuccess("操作成功")
let name = this.form.name let name = this.form.orderName
_this.$emit('addWorkOrderSubmit') _this.$emit('addWorkOrderSubmit')
// 使 // 使
_this.$modal.confirm('是否添加预使用主原料信息?').then(function() { _this.$modal.confirm('是否添加预使用主原料信息?').then(function() {
_this.$router.push({ _this.$router.push({
path: '/core/core-work-order?workOrderName='+encodeURI(name) path: '/core/core-work-order?orderName='+encodeURI(name)
}) })
}) })
} }