Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
| | |
| | | @click="getCurrent(i)" |
| | | ref="listItem" |
| | | > |
| | | 订åå·ï¼{{ x.customerOrderNo }}/{{ x.otcLineNo }} |
| | | 订åå·ï¼{{ x.contractNo }} |
| | | </div> |
| | | </div> |
| | | <!-- <el-pagination |
| | |
| | | }, |
| | | 1 |
| | | ).then((res) => { |
| | | console.log(res,"1"); |
| | | const d = res.data.data |
| | | this.pagination.total = d.total |
| | | d.records.forEach((e) => (e.active = false)) |
| | |
| | | color: '#14a9d7' |
| | | }) |
| | | ) |
| | | console.log(this.tasks,"----==="); |
| | | let endDate = e.actualFinishDate |
| | | if (!e.actualFinishDate) { |
| | | const s = Date.parse(e.actualStartDate) |
| | |
| | | // 设å¤ç¼å· |
| | | { |
| | | minWidth: '30', |
| | | width: '200', |
| | | prop: 'number', |
| | | label: '设å¤ç¼å·', |
| | | sort: true, |
| | |
| | | // 设å¤åç§° |
| | | { |
| | | minWidth: '30', |
| | | width: '100', |
| | | prop: 'name', |
| | | label: '设å¤åç§°', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | // ç¶æ |
| | | { |
| | | minWidth: '30', |
| | | prop: 'state', |
| | | label: 'ç¶æ', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | |
| | | searchInfoType: 'text' |
| | | }, |
| | | // é®ç®± |
| | | { |
| | | minWidth: '30', |
| | | prop: 'email', |
| | | label: 'é®ç®±', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: false, |
| | | searchInfoType: 'text' |
| | | }, |
| | | // { |
| | | // minWidth: '30', |
| | | // prop: 'email', |
| | | // label: 'é®ç®±', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: false, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | // ä¾åºå |
| | | { |
| | | minWidth: '30', |
| | |
| | | // å¶é æ¥æ |
| | | { |
| | | minWidth: '150', |
| | | width: '250', |
| | | width: '100', |
| | | prop: 'manufactureDate', |
| | | label: 'å¶é æ¥æ', |
| | | sort: true, |
| | |
| | | // å®è£
æ¥æ |
| | | { |
| | | minWidth: '150', |
| | | width: '250', |
| | | width: '100', |
| | | prop: 'installDate', |
| | | label: 'å®è£
æ¥æ', |
| | | sort: true, |
| | |
| | | isSearch: true, |
| | | formatter: this.formatReceiveTime, |
| | | searchInfoType: 'datetimerange' |
| | | }, |
| | | // ç¶æ |
| | | { |
| | | minWidth: '30', |
| | | prop: 'state', |
| | | label: 'ç¶æ', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | } |
| | | ], |
| | | toolbar: [], |
| | |
| | | // 设å¤ç¼å· |
| | | { |
| | | minWidth: '30', |
| | | width: '100', |
| | | prop: 'code', |
| | | label: '设å¤ç¼å·', |
| | | sort: true, |
| | |
| | | // 设å¤åç§° |
| | | { |
| | | minWidth: '30', |
| | | width: '100', |
| | | prop: 'name', |
| | | label: '设å¤åç§°', |
| | | sort: true, |
| | |
| | | // å¶é æ¥æ |
| | | { |
| | | minWidth: '150', |
| | | width: '250', |
| | | width: '150', |
| | | prop: 'createTime', |
| | | label: 'æ ¡åæ¶é´', |
| | | sort: true, |
| | |
| | | |
| | | { |
| | | minWidth: '150', |
| | | width: '250', |
| | | width: '150', |
| | | prop: 'updateTime', |
| | | label: 'æ ¡åå°ææ¶é´', |
| | | sort: true, |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="mod-config"> |
| | | <basic-container> |
| | | <!-- <ttable |
| | | :table="table" |
| | | :isShowHide="true" |
| | | :ajaxFun="ajaxFun" |
| | | :prelang="prelang" |
| | | :options="options" |
| | | ref="processconfiguration" |
| | | > --> |
| | | <!-- <template #toolbar></template> |
| | | </ttable> --> |
| | | <div>å¼åä¸ããã</div> |
| | | </basic-container> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import ttable from '@/views/common/ztt-table.vue' |
| | | import { fetchList, } from '@/api/quality/finishedDelivery' |
| | | |
| | | export default { |
| | | data(){ |
| | | return { |
| | | ajaxFun: fetchList, |
| | | prelang: 'operation', |
| | | dataListLoading: false, |
| | | options: { |
| | | height: 300, // é»è®¤é«åº¦-为äºè¡¨å¤´åºå® |
| | | stripe: true, // æ¯å¦ä¸ºæé©¬çº¹ table |
| | | highlightCurrentRow: false, // æ¯å¦è¦é«äº®å½åè¡ |
| | | border: true, // æ¯å¦æçºµåè¾¹æ¡ |
| | | lazy: false, // æ¯å¦éè¦æå è½½ |
| | | fit: true, // åç宽度æ¯å¦èªæå¼ |
| | | multiSelect: true, // |
| | | seqNo: true, |
| | | isShowHide: true, // æ¯å¦æ¾ç¤ºæ¾å½±æé® |
| | | isRefresh: true, // æ¯å¦æ¾ç¤ºå·æ°æé® |
| | | isSearch: true, // é«çº§æ¥è¯¢æé® |
| | | defaultOrderBy: { column: 'createTime', direction: 'desc' } |
| | | }, |
| | | table: { |
| | | total: 0, |
| | | currentPage: 1, |
| | | pageSize: 20, |
| | | data: [], |
| | | // æ é¢ |
| | | column: [ |
| | | { |
| | | minWidth: '140', |
| | | prop: 'packageNo', |
| | | label: 'å
è£
ç¼å·', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | },{ |
| | | minWidth: '140', |
| | | prop: 'outBatchNo', |
| | | label: 'æ¹æ¬¡å·', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'partNo', |
| | | label: '产åç¼å·', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'partName', |
| | | label: '产ååç§°', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'specs', |
| | | label: 'è§æ ¼åå·', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'unit', |
| | | label: 'åä½', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'number', |
| | | label: 'æ°é', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '130', |
| | | prop: 'createTime', |
| | | label: 'å
¥åºæ¶é´', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'datetimerange', |
| | | formatter: this.formatDateTime, |
| | | }, |
| | | { |
| | | minWidth: '130', |
| | | prop: 'createUser', |
| | | label: 'å建人', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | ], |
| | | toolbar: [], |
| | | // operator: [], |
| | | // operatorConfig: {} |
| | | }, |
| | | } |
| | | }, |
| | | components: { |
| | | ttable |
| | | }, |
| | | medthods: { |
| | | formatDateTime(row, column, cellValue) { |
| | | return cellValue ? fecha.format(new Date(cellValue), 'yyyy-MM-dd') : '' |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="mod-config"> |
| | | <basic-container> |
| | | <!-- <ttable |
| | | :table="table" |
| | | :isShowHide="true" |
| | | :ajaxFun="ajaxFun" |
| | | :prelang="prelang" |
| | | :options="options" |
| | | ref="processconfiguration" |
| | | > |
| | | <template #toolbar></template> |
| | | </ttable> --> |
| | | <div>å¼åä¸ããã</div> |
| | | </basic-container> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import ttable from '@/views/common/ztt-table.vue' |
| | | import { fetchList, } from '@/api/quality/finishedDelivery' |
| | | |
| | | export default { |
| | | data(){ |
| | | return { |
| | | ajaxFun: fetchList, |
| | | prelang: 'operation', |
| | | dataListLoading: false, |
| | | options: { |
| | | height: 300, // é»è®¤é«åº¦-为äºè¡¨å¤´åºå® |
| | | stripe: true, // æ¯å¦ä¸ºæé©¬çº¹ table |
| | | highlightCurrentRow: false, // æ¯å¦è¦é«äº®å½åè¡ |
| | | border: true, // æ¯å¦æçºµåè¾¹æ¡ |
| | | lazy: false, // æ¯å¦éè¦æå è½½ |
| | | fit: true, // åç宽度æ¯å¦èªæå¼ |
| | | multiSelect: true, // |
| | | seqNo: true, |
| | | isShowHide: true, // æ¯å¦æ¾ç¤ºæ¾å½±æé® |
| | | isRefresh: true, // æ¯å¦æ¾ç¤ºå·æ°æé® |
| | | isSearch: true, // é«çº§æ¥è¯¢æé® |
| | | defaultOrderBy: { column: 'createTime', direction: 'desc' } |
| | | }, |
| | | table: { |
| | | total: 0, |
| | | currentPage: 1, |
| | | pageSize: 20, |
| | | data: [], |
| | | // æ é¢ |
| | | column: [ |
| | | { |
| | | minWidth: '140', |
| | | prop: 'packageNo', |
| | | label: 'å
è£
ç¼å·', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | },{ |
| | | minWidth: '140', |
| | | prop: 'outBatchNo', |
| | | label: 'æ¹æ¬¡å·', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'partNo', |
| | | label: '产åç¼å·', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'partName', |
| | | label: '产ååç§°', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'specs', |
| | | label: 'è§æ ¼åå·', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'unit', |
| | | label: 'åä½', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'number', |
| | | label: 'æ°é', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | { |
| | | minWidth: '130', |
| | | prop: 'createTime', |
| | | label: 'å
¥åºæ¶é´', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'datetimerange', |
| | | formatter: this.formatDateTime, |
| | | }, |
| | | { |
| | | minWidth: '130', |
| | | prop: 'createUser', |
| | | label: 'å建人', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | ], |
| | | toolbar: [], |
| | | // operator: [], |
| | | // operatorConfig: {} |
| | | }, |
| | | } |
| | | }, |
| | | |
| | | components: { |
| | | ttable |
| | | }, |
| | | medthods: { |
| | | formatDateTime(row, column, cellValue) { |
| | | return cellValue ? fecha.format(new Date(cellValue), 'yyyy-MM-dd') : '' |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
| | |
| | | fallbackClass="fallbackStyle" |
| | | ghostClass="item_ghost" |
| | | @end="dragEnd" |
| | | :default-sort="{ prop: 'operationOrder' }" |
| | | @choose="operationRowClick" |
| | | > |
| | | <div |
| | | :class="{ dragItem: true, active: x.active }" |
| | | v-for="(x, i) in operations" |
| | | :key="i" |
| | | > |
| | | <!-- <div class="dragBody"> |
| | | <div class="info">{{ x.operationNo }}</div> |
| | | <div class="info">{{ x.operationName }}</div> |
| | | <div class="info">{{ x.partName }}</div> |
| | | </div> --> |
| | | <el-row> |
| | | <el-col :span="2" class="frame">{{ i+1 }} |
| | | </el-col> |
| | |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | operationOrder:el.operationOrder, |
| | | } |
| | | }) |
| | | console.log(data,"id"); |
| | | changeOrder(data).then((res) =>{ |
| | | console.log(res,"åè°"); |
| | | }).catch(error => { |
| | | console.error(error) |
| | | }); |
| | |
| | | this.dataForm.bomId = null |
| | | }, |
| | | // ç¹å»å·¥èºå·¥åºè¡è§¦åæ ¡éªå·¥èºæ¯å¦ä¿®æ¹ï¼è¥ä¿®æ¹åä¸å¯æä½ï¼éå
ä¿åï¼è¥æªä¿®æ¹ï¼å坿¥è¯¢åºå¯¹åºçåæ°é |
| | | operationRowClick(row) { |
| | | operationRowClick(event) { |
| | | const row = this.operations[event.oldIndex] |
| | | if (this.dataForm.id != null && this.dataForm.id !== 0) { |
| | | this.routingOperationId = row.technologyRoutingOperationId |
| | | this.moRoutingOperationId = row.id |
| | |
| | | ></el-button> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="微信éç¥ç»" prop="notifierGroupId"> |
| | | <!-- <el-form-item label="微信éç¥ç»" prop="notifierGroupId"> |
| | | <el-select |
| | | v-model="dataForm.notifierGroupId" |
| | | style="width:100%;" |
| | |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form-item> --> |
| | | <el-form-item label="夿³¨" prop="remark"> |
| | | <el-input |
| | | type="textarea" |
| | |
| | | |
| | | <script> |
| | | import { getObj, putObj } from '@/api/quality/exception' |
| | | import { fetchList } from '@/api/quality/wxnotice' |
| | | // import { fetchList } from '@/api/quality/wxnotice' |
| | | import workstationDialog from '@/views/common/workstation.vue' |
| | | import productoutDialog from '@/views/common/productout.vue' |
| | | import { getStore } from '../../../util/store' |
| | |
| | | this.$refs.dataForm.resetFields() |
| | | if (this.dataForm.id) { |
| | | getObj(this.dataForm.id).then((response) => { |
| | | console.log(response,"----"); |
| | | this.dataForm = response.data.data |
| | | this.fileList = response.data.data.urlList |
| | | }) |
| | |
| | | }, |
| | | getExceptionHandleType() { |
| | | remote('exception_handle_type').then((response) => { |
| | | console.log(response,"111111"); |
| | | if (response.data.code === 0) { |
| | | this.exceptionHandleTypeOptions = response.data.data |
| | | } else { |
| | |
| | | }) |
| | | }, |
| | | selectUser(param) { |
| | | console.log(param,"----===-="); |
| | | if (param) { |
| | | this.dataForm.processUser = param.userId |
| | | this.dataForm.processUserName = param.username |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="å¼å¸¸ç±»å" prop="exceptionType"> |
| | | <el-input |
| | | <!-- <el-input |
| | | v-model="dataForm.exceptionType" |
| | | placeholder="å¼å¸¸ç±»å" |
| | | ></el-input> |
| | | ></el-input> --> |
| | | <el-select |
| | | v-model="dataForm.exceptionType" |
| | | style="width:100%;" |
| | | placeholder="å¼å¸¸ç±»å" |
| | | > |
| | | <el-option |
| | | v-for="item in exceptionHandleTypeOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="å¼å¸¸æè¿°" prop="exceptionDescription"> |
| | | <el-input |
| | |
| | | import productoutDialog from '@/views/common/productout.vue' |
| | | import { loadWarehouse } from '../../../api/warehouse/location' |
| | | import { loadWorkstation } from '../../../api/basic/workstation' |
| | | import { remote } from '@/api/admin/dict' |
| | | import { loadProductMain } from '../../../api/product/personboard' |
| | | |
| | | export default { |
| | |
| | | productoutVisible: false, |
| | | workstationVisible: false, |
| | | visible: false, |
| | | exceptionHandleTypeOptions:[], |
| | | dataForm: { |
| | | id: 0, |
| | | code: '', |
| | |
| | | clickSaveArr: [] |
| | | } |
| | | }, |
| | | created() { |
| | | console.log("22222222"); |
| | | this.getExceptionHandleType() |
| | | }, |
| | | methods: { |
| | | getExceptionHandleType() { |
| | | remote('exception_handle_type').then((response) => { |
| | | console.log(response,"-----"); |
| | | if (response.data.code === 0) { |
| | | this.exceptionHandleTypeOptions = response.data.data |
| | | } else { |
| | | this.exceptionHandleTypeOptions = [] |
| | | } |
| | | }) |
| | | }, |
| | | init(id, id1, id2) { |
| | | this.dataForm.workstationId = id1 |
| | | if (this.dataForm.workstationId) { |
| | |
| | | // const url = 'http://192.168.2.7:9999' |
| | | // const url = 'https://ztms-mes.chinaztt.cn/' |
| | | |
| | | const url = 'http://localhost:9999' |
| | | const url = 'http://localhost:9999' |
| | | |
| | | |
| | | const localUrl = 'http://localhost:8089' |