Browse Source

弹出框格式

dev
0.0 2 years ago
parent
commit
243835c625
  1. 2
      src/components/jeecg/JUpload.vue
  2. 3
      src/components/jeecgbiz/JSelectUserByDep.vue
  3. 22
      src/views/activiti/form/ProcessMaterialBorrowingForm.vue
  4. 26
      src/views/activiti/form/ProcessMaterialWarehousingForm.vue
  5. 23
      src/views/activiti/form/ProcessMaterialsAllotForm.vue
  6. 22
      src/views/activiti/form/ProcessMaterialsDeliveryForm.vue
  7. 22
      src/views/activiti/form/ProcessMaterialsReturnForm.vue
  8. 22
      src/views/activiti/form/ProcessSmaterialsScrapForm.vue
  9. 22
      src/views/activiti/form/ProcessSpecialMaterialsForm.vue
  10. 32
      src/views/activiti/form/ProcessUdgetPlanForm.vue

2
src/components/jeecg/JUpload.vue

@ -314,7 +314,7 @@
this.previewVisible = true; this.previewVisible = true;
}else if (file.url) { }else if (file.url) {
// base // base
let base = "http://127.0.0.1:8012/onlinePreview?url=" let base = "http://182.92.73.21:8012/onlinePreview?url="
let url = base+encodeURIComponent(this.$Base64.encode(file.url)) let url = base+encodeURIComponent(this.$Base64.encode(file.url))
window.open(url, '_blank') window.open(url, '_blank')
} }

3
src/components/jeecgbiz/JSelectUserByDep.vue

@ -5,7 +5,8 @@
placeholder="请先选择用户" placeholder="请先选择用户"
readOnly readOnly
unselectable="on" unselectable="on"
@search="onSearchDepUser"> @search="onSearchDepUser"
>
<a-button slot="enterButton" :disabled="disabled">选择用户</a-button> <a-button slot="enterButton" :disabled="disabled">选择用户</a-button>
</a-input-search> </a-input-search>
<j-select-user-by-dep-modal ref="selectModal" :modal-width="modalWidth" :multi="multi" @ok="selectOK" :user-ids="value" @initComp="initComp"/> <j-select-user-by-dep-modal ref="selectModal" :modal-width="modalWidth" :multi="multi" @ok="selectOK" :user-ids="value" @initComp="initComp"/>

22
src/views/activiti/form/ProcessMaterialBorrowingForm.vue

@ -4,37 +4,37 @@
<!-- 主表单区域 --> <!-- 主表单区域 -->
<a-form :form="form" slot="detail"> <a-form :form="form" slot="detail">
<a-row> <a-row>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-company v-decorator="['updateFirm']" multi /> <j-select-company v-decorator="['updateFirm']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="12" >
<a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['sysOrgCode']" multi /> <j-select-depart v-decorator="['sysOrgCode']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep v-decorator="['createBy']" /> <j-select-user-by-dep v-decorator="['createBy']" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="8" >
<a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" /> <j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="被借用部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="被借用部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['borrowedDepartments']" multi /> <j-select-depart v-decorator="['borrowedDepartments']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload> <j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload>
</a-form-item> </a-form-item>

26
src/views/activiti/form/ProcessMaterialWarehousingForm.vue

@ -4,48 +4,48 @@
<!-- 主表单区域 --> <!-- 主表单区域 -->
<a-form :form="form" slot="detail"> <a-form :form="form" slot="detail">
<a-row> <a-row>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-company v-decorator="['company']" multi /> <j-select-company v-decorator="['company']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="12" >
<a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['sysOrgCode']" multi /> <j-select-depart v-decorator="['sysOrgCode']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep v-decorator="['createBy']" /> <j-select-user-by-dep v-decorator="['createBy']" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="8" >
<a-form-item label="关联预算流程" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="关联预算流程" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input v-decorator="['processUdgetPlanId']" placeholder="请输入关联预算流程" ></a-input> <a-input v-decorator="['processUdgetPlanId']" placeholder="请输入关联预算流程" ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" <j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type"
placeholder="请选择物资类型"/> placeholder="请选择物资类型"/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="入库目标库" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="入库目标库" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input-number v-decorator="['targetLibrary']" placeholder="请输入入库目标库" style="width: 100%" /> <a-input-number v-decorator="['targetLibrary']" placeholder="请输入入库目标库" style="width: 100%" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="入库总批次" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="入库总批次" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input-number v-decorator="['warehousingBatch']" placeholder="请输入入库总批次" style="width: 100%" /> <a-input-number v-decorator="['warehousingBatch']" placeholder="请输入入库总批次" style="width: 100%" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload> <j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload>
</a-form-item> </a-form-item>

23
src/views/activiti/form/ProcessMaterialsAllotForm.vue

@ -4,37 +4,38 @@
<!-- 主表单区域 --> <!-- 主表单区域 -->
<a-form :form="form" slot="detail"> <a-form :form="form" slot="detail">
<a-row> <a-row>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-company v-decorator="['company']" multi /> <j-select-company v-decorator="['company']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="12" >
<a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['sysOrgCode']" multi /> <j-select-depart v-decorator="['sysOrgCode']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep v-decorator="['createBy']" /> <j-select-user-by-dep v-decorator="['createBy']" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="8" >
<a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" /> <j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="被调拨部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="被调拨部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['beAllotDepartment']" multi /> <j-select-depart v-decorator="['beAllotDepartment']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8
" >
<a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload> <j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload>
</a-form-item> </a-form-item>

22
src/views/activiti/form/ProcessMaterialsDeliveryForm.vue

@ -4,37 +4,37 @@
<!-- 主表单区域 --> <!-- 主表单区域 -->
<a-form :form="form" slot="detail"> <a-form :form="form" slot="detail">
<a-row> <a-row>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-company v-decorator="['company']" multi /> <j-select-company v-decorator="['company']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="12" >
<a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['sysOrgCode']" multi /> <j-select-depart v-decorator="['sysOrgCode']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep v-decorator="['createBy']" /> <j-select-user-by-dep v-decorator="['createBy']" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="8" >
<a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" /> <j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="出库时间" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="出库时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择出库时间" v-decorator="['deliveryTime']" :trigger-change="true" style="width: 100%" /> <j-date placeholder="请选择出库时间" v-decorator="['deliveryTime']" :trigger-change="true" style="width: 100%" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload> <j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload>
</a-form-item> </a-form-item>

22
src/views/activiti/form/ProcessMaterialsReturnForm.vue

@ -4,37 +4,37 @@
<!-- 主表单区域 --> <!-- 主表单区域 -->
<a-form :form="form" slot="detail"> <a-form :form="form" slot="detail">
<a-row> <a-row>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-company v-decorator="['company']" multi /> <j-select-company v-decorator="['company']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="12" >
<a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['sysOrgCode']" multi /> <j-select-depart v-decorator="['sysOrgCode']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep v-decorator="['createBy']" /> <j-select-user-by-dep v-decorator="['createBy']" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="8" >
<a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" /> <j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="关联借用流程" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="关联借用流程" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['processBorrowId']" :trigger-change="true" dictCode="" placeholder="请选择关联借用流程" /> <j-dict-select-tag type="list" v-decorator="['processBorrowId']" :trigger-change="true" dictCode="" placeholder="请选择关联借用流程" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload> <j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload>
</a-form-item> </a-form-item>

22
src/views/activiti/form/ProcessSmaterialsScrapForm.vue

@ -4,37 +4,37 @@
<!-- 主表单区域 --> <!-- 主表单区域 -->
<a-form :form="form" slot="detail"> <a-form :form="form" slot="detail">
<a-row> <a-row>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-company v-decorator="['company']" multi /> <j-select-company v-decorator="['company']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="12" >
<a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['sysOrgCode']" multi /> <j-select-depart v-decorator="['sysOrgCode']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep v-decorator="['createBy']" /> <j-select-user-by-dep v-decorator="['createBy']" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="8" >
<a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" /> <j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="关联出库流程" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="关联出库流程" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-search-select-tag v-decorator="['processOutflowId']" dict="" /> <j-search-select-tag v-decorator="['processOutflowId']" dict="" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload> <j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload>
</a-form-item> </a-form-item>

22
src/views/activiti/form/ProcessSpecialMaterialsForm.vue

@ -4,37 +4,37 @@
<!-- 主表单区域 --> <!-- 主表单区域 -->
<a-form :form="form" slot="detail"> <a-form :form="form" slot="detail">
<a-row> <a-row>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-company v-decorator="['company']" multi /> <j-select-company v-decorator="['company']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="12" >
<a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['sysOrgCode']" multi /> <j-select-depart v-decorator="['sysOrgCode']" multi />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep v-decorator="['createBy']" /> <j-select-user-by-dep v-decorator="['createBy']" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :span="8" >
<a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" /> <j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" placeholder="请选择物资类型" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="关联归还流程" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="关联归还流程" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-search-select-tag v-decorator="['processReturnId']" dict="" /> <j-search-select-tag v-decorator="['processReturnId']" dict="" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12" > <a-col :span="8" >
<a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload> <j-upload v-decorator="['fileId']" :trigger-change="true" ></j-upload>
</a-form-item> </a-form-item>

32
src/views/activiti/form/ProcessUdgetPlanForm.vue

@ -5,55 +5,55 @@
<!-- 主表单区域 --> <!-- 主表单区域 -->
<a-form :form="form" slot="detail"> <a-form :form="form" slot="detail">
<a-row> <a-row>
<a-col :span="12" v-show="false"> <a-col :span="8" v-show="false">
<a-form-item label="ID" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="ID" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input v-decorator="['id']" placeholder="" style="width: 100%"/> <a-input v-decorator="['id']" placeholder="" style="width: 100%"/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="8">
<a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起公司" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-company v-decorator="['company']" multi/> <j-select-company v-decorator="['company']" multi/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="8">
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true"
date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%"/>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-depart v-decorator="['sysOrgCode']" multi/> <j-select-depart v-decorator="['sysOrgCode']" multi/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="8">
<a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程发起人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep v-decorator="['createBy']"/> <j-select-user-by-dep v-decorator="['createBy']"/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="8">
<a-form-item label="流程发起时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择流程发起时间" v-decorator="['createTime']" :trigger-change="true" :show-time="true"
date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%"/>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="物资类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type" <j-dict-select-tag type="list" v-decorator="['materialType']" :trigger-change="true" dictCode="material_type"
placeholder="请选择物资类型"/> placeholder="请选择物资类型"/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="8">
<a-form-item label="流程计划" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="流程计划" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag type="list" v-decorator="['processPlan']" :trigger-change="true" dictCode="process_plan" <j-dict-select-tag type="list" v-decorator="['processPlan']" :trigger-change="true" dictCode="process_plan"
placeholder="请选择流程计划"/> placeholder="请选择流程计划"/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="8">
<a-form-item label="需求时间" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="需求时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-date placeholder="请选择需求时间" v-decorator="['needTime']" :trigger-change="true" style="width: 100%"/> <j-date placeholder="请选择需求时间" v-decorator="['needTime']" :trigger-change="true" style="width: 100%"/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="8">
<a-form-item label="顺序号" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="顺序号" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input-number v-decorator="['orderNumber']" placeholder="请输入顺序号" style="width: 100%"/> <a-input-number v-decorator="['orderNumber']" placeholder="请输入顺序号" style="width: 100%"/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="8">
<a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="文件id" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload v-decorator="['fileId']" :trigger-change="true"></j-upload> <j-upload v-decorator="['fileId']" :trigger-change="true"></j-upload>
</a-form-item> </a-form-item>
@ -124,7 +124,7 @@
}, },
wrapperCol: { wrapperCol: {
xs: { span: 24 }, xs: { span: 24 },
sm: { span: 16 } sm: { span: 18 }
}, },
labelCol2: { labelCol2: {
xs: { span: 24 }, xs: { span: 24 },

Loading…
Cancel
Save