浏览代码

订单

pull/80/head
juzi 10 个月前
父节点
当前提交
0ae68aacef
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      src/views/order/base/orderManage/components/addWorkOrder.vue

+ 2
- 3
src/views/order/base/orderManage/components/addWorkOrder.vue 查看文件

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


正在加载...
取消
保存