gaoshp
2025-08-10 88dad3f8f39e2503ecea52a1b9c076d584a05a6f
src/views/flowmgr/taskassign.vue
@@ -2,7 +2,7 @@
 * @Author: 李喆(开发组) lzhe@yxqiche.com
 * @Date: 2025-05-28 12:03:55
 * @LastEditors: gaoshp
 * @LastEditTime: 2025-08-02 21:58:47
 * @LastEditTime: 2025-08-10 13:05:56
 * @FilePath: /mdmweb/src/views/flowmgr/taskassign.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -14,6 +14,18 @@
<script>
export default {
  watch: {
    'attachForm.drawingNo': function (val) {
      if(val && this.attachForm.processNo) {
        this.attachForm.title = `${val}-${this.attachForm.processNo}-数控程序编制`;
      }
    },
    'attachForm.processNo': function (val) {
      if(val && this.attachForm.drawingNo) {
        this.attachForm.title = `${val}-${this.attachForm.processNo}-数控程序编制`;
      }
    },
  },
  data() {
    var that = this;
    return {
@@ -135,6 +147,14 @@
            dataType: 'string',
            rules: [{ required: true, message: '必填', trigger: 'blur' }],
          },
          {
            label: '偏离单号',
            prop: 'deviation',
            type: 'input',
            span: 12,
            dataType: 'string',
            // rules: [{ required: true, message: '必填', trigger: 'blur' }],
          },
        ],
      },
      attachForm: {},
@@ -172,6 +192,4 @@
};
</script>
<style lang="scss">
</style>
<style lang="scss"></style>