Merge remote-tracking branch 'origin/master'
# Conflicts:
# src/views/basic/staff/staff-form.vue
| | |
| | | minWidth: 200, |
| | | span: 24 |
| | | }, { |
| | | label: '零件规格', |
| | | prop: 'customerPartSpec', |
| | | type: 'input', |
| | | cell: true, |
| | | minWidth: 200, |
| | | span: 24 |
| | | }, { |
| | | label: '制造属性', |
| | | prop: 'manufactureAttr', |
| | | cell: true, |
| | | type: 'select', |
| | | minWidth: 200, |
| | | span: 24, |
| | | dicData:[{ |
| | | label: '普通', |
| | | value: 'N' |
| | | },{ |
| | | label: '样品', |
| | | value: 'S' |
| | | },{ |
| | | label: '研发', |
| | | value: 'D' |
| | | }] |
| | | }, { |
| | | label: '产品名称', |
| | | prop: 'productName', |
| | | cell: true, |
| | |
| | | minWidth: 200, |
| | | span: 24 |
| | | }, { |
| | | label: '隶属品牌', |
| | | prop: 'productType', |
| | | cell: true, |
| | | label: '规格型号', |
| | | prop: 'customerPartSpec', |
| | | type: 'input', |
| | | cell: true, |
| | | minWidth: 200, |
| | | span: 24 |
| | | }, { |
| | | }, { |
| | | label: '单位', |
| | | prop: 'otcUnit', |
| | | slot: true, |
| | |
| | | span: 24, |
| | | rules:[{required:true,message:'类型必须是数字',trigger:'blur'}] |
| | | }, { |
| | | label: '制造属性', |
| | | prop: 'manufactureAttr', |
| | | cell: true, |
| | | type: 'select', |
| | | minWidth: 200, |
| | | span: 24, |
| | | dicData:[{ |
| | | label: '普通', |
| | | value: 'N' |
| | | },{ |
| | | label: '样品', |
| | | value: 'S' |
| | | },{ |
| | | label: '研发', |
| | | value: 'D' |
| | | }] |
| | | }, { |
| | | label: '隶属品牌', |
| | | prop: 'productType', |
| | | cell: true, |
| | | type: 'input', |
| | | minWidth: 200, |
| | | span: 24 |
| | | },{ |
| | | label: '收货地址', |
| | | prop: 'shippingAddress', |
| | | cell: true, |
| | |
| | | this.$emit('refreshDataList') |
| | | }) |
| | | } |
| | | this.isSubmit = false |
| | | } else { |
| | | this.isSubmit = false |
| | | } |
| | |
| | | this.$emit('refreshDataList') |
| | | }) |
| | | } |
| | | this.isSubmit = false |
| | | } else { |
| | | this.isSubmit = false |
| | | } |
| | |
| | | } |
| | | this.isSubmit = false |
| | | }) |
| | | this.isSubmit = false |
| | | } else { |
| | | this.isSubmit = false |
| | | } |
| | |
| | | } |
| | | this.isSubmit = false |
| | | }) |
| | | this.isSubmit = false |
| | | } else { |
| | | this.isSubmit = false |
| | | } |
| | |
| | | this.$emit('refreshDataList') |
| | | }) |
| | | } |
| | | this.isSubmit = false |
| | | } else { |
| | | this.isSubmit = false |
| | | } |
| | |
| | | this.$emit('refreshDataList') |
| | | }) |
| | | } |
| | | this.isSubmit = false |
| | | } else { |
| | | this.isSubmit = false |
| | | } |
| | |
| | | } |
| | | this.isSubmit = false |
| | | }) |
| | | .catch((error) => { |
| | | this.isSubmit = false |
| | | console.log(error) |
| | | }) |
| | | this.isSubmit = false |
| | | } else { |
| | | this.isSubmit = false |
| | | } |
| | |
| | | <el-checkbox-group @change="changePrintCode()" v-model="checkIndexList"> |
| | | <el-card class="box-card" v-for="(item, i) in qrData" :key="i" style="margin-bottom: 15px; font-size: 16px !important;"> |
| | | <el-checkbox :label="i" :key="i" style="position: relative;top:-20px;left:5px"><br></el-checkbox> |
| | | <el-row> |
| | | <!-- <el-row> |
| | | <el-col :span="10" :offset="3">批次号</el-col> |
| | | <el-col :span="10" style="font-weight: bold;">{{ item.code.moNo2 }}</el-col> |
| | | </el-row> |
| | |
| | | <el-col :span="10"> |
| | | <vueQr :text="JSON.stringify(item.code)" :size="80" :margin="2"></vueQr> |
| | | </el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | <div style="display: flex;"> |
| | | <div> |
| | | <el-col :span="8" :offset="2"> |
| | | <vueQr :text="JSON.stringify(item.code)" :size="120" :margin="2"></vueQr> |
| | | </el-col> |
| | | </div> |
| | | <div style="margin-left: 20px;width: 100%;"> |
| | | <el-row > |
| | | <el-col style="font-weight: bold;"><span>批次号: </span>{{ item.code.moNo2 }}</el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 5px;"> |
| | | <el-col style="font-weight: bold;"><span>订单号: </span>{{ item.orderNo }}</el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 5px;"> |
| | | <el-col style="font-weight: bold;"><span>客户名称: </span>{{ item.cName }}</el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 5px;"> |
| | | <el-col style="font-weight: bold;">{{ item.pName }}</el-col> |
| | | </el-row> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | | </el-checkbox-group> |
| | | </div> |
| | |
| | | <el-button type="primary" @click="printFun">打 印</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <div class="el-dialog__body" style="width:448.8px;overflow-y: auto;position: absolute;top:9999px;padding: 0;"> |
| | | <div class="el-dialog__body" style="width:448.8px;overflow-y: auto;position: absolute;top:9999px;margin-top: 0;"> |
| | | <div id="printMOrder"> |
| | | <el-card class="box-card" v-for="(item, i) in checkDataList" :key="i" style="padding-top:0px;margin-bottom:10px;font-size: 16px !important;"> |
| | | <el-card class="box-card" v-for="(item, i) in checkDataList" :key="i" style="margin-top-top:0px;margin-bottom:10px;font-size: 16px !important;"> |
| | | <el-row style="font-size:12px;"> |
| | | <el-col :span="10" :offset="3">批次号</el-col> |
| | | <el-col :span="10" style="font-weight: bold;">{{ item.code.moNo2 }}</el-col> |
| | |
| | | pagerCount: 5 |
| | | }, |
| | | option: { |
| | | defaultSort:{ |
| | | prop:'id', |
| | | order:'descending' |
| | | }, |
| | | height: 400, |
| | | selection: true, |
| | | columnBtn: false, |
| | |
| | | this.loading = true |
| | | this.getData() |
| | | this.getParamType() |
| | | this.rowSort() |
| | | // this.rowSort() |
| | | this.rowCalc() |
| | | }, |
| | | beforeUpdate() { |
| | | this.rowSort() |
| | | // this.rowSort() |
| | | this.rowCalc() |
| | | }, |
| | | watch:{ |
| | |
| | | ele.span = this.rowSpan(ele.prop, parent) |
| | | }) |
| | | }, |
| | | rowSort(list) { |
| | | rowSort() { |
| | | let propList = this.spanArr.map(ele => ele.prop) |
| | | this.spanArr.forEach((ele, index) => { |
| | | let key = ele.prop |
| | |
| | | |
| | | // const url = 'http://192.168.2.7:9999' |
| | | // const url = 'http://192.168.32.45:9999' |
| | | // const url = 'http://192.168.2.7:9999' |
| | | const url = 'http://192.168.32.45:9999' |
| | | //const url = 'http://192.168.2.7:9999' |
| | | //const url = 'http://192.168.32.45:9999' |
| | | // const url = 'http://192.168.0.23:9999' |
| | | |
| | | const url = 'http://localhost:9999' |
| | | // const url = 'http://localhost:9999' |
| | | |
| | | |
| | | const localUrl = 'http://localhost:8089' |