切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
小范
2 years ago
提交
e09ea650d9361447de7c64bd9f543279cc0b266a
2 个父辈
32d3de9f
a71c75c9
Merge remote-tracking branch 'origin/master'
显示空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
43 行增加
和
29 行删除
src/components/Print/index.vue
src/views/deploy/houseRecord.vue
src/views/wms/WMSExportForm.vue
src/components/Print/index.vue
查看文件 @
e09ea65
...
...
@@ -31,7 +31,7 @@
:value="wmsInfo.serialnumber"
:options="barcodeOptions1"
>
条形码
显示失败时的内容
条形码
生成失败
</barcode>
</div>
</div>
...
...
src/views/deploy/houseRecord.vue
查看文件 @
e09ea65
...
...
@@ -90,7 +90,7 @@
<el-form-item label=" " :label-width="formLabelWidth" prop="goodssize">
<el-tooltip class="item" effect="dark" content="单位:厘米,每行录入一个尺寸信息格式如:1x2x3x4(长x宽x高x件数),回车换行" placement="right">
<div class="my-text-area">
<div class="el-input-group__prepend prepand">
体  积
</div>
<div class="el-input-group__prepend prepand">
尺  寸
</div>
<el-input v-model="addForm.goodssize"
type="textarea"
autosize
...
...
@@ -355,6 +355,12 @@
/>
<el-table-column
fixed
prop="serialnumber"
label="流水号"
>
</el-table-column>
<el-table-column
fixed
prop="waybill"
label="主单号"
width="120">
...
...
@@ -372,12 +378,6 @@
</template>
</el-table-column>
<el-table-column
fixed
prop="serialnumber"
label="流水号"
width="120">
</el-table-column>
<el-table-column
prop="pcs"
label="入库件数"
width="70">
...
...
@@ -395,7 +395,7 @@
<el-table-column
prop="goodssize"
label="尺寸"
width="60"
>
>
</el-table-column>
<el-table-column
prop="goodsvol"
...
...
@@ -417,26 +417,26 @@
<!-- label="出入库场站"-->
<!-- width="100">-->
<!-- </el-table-column>-->
<el-table-column
prop="status"
label="状态"
width="80">
<template slot-scope="scope">
<span v-if="scope.row.status ==='0'">失败</span>
<span v-if="scope.row.status ==='1'">成功</span>
</template>
</el-table-column>
<!-- <el-table-column-->
<!-- prop="status"-->
<!-- label="状态"-->
<!-- width="80">-->
<!-- <template slot-scope="scope">-->
<!-- <span v-if="scope.row.status ==='0'">失败</span>-->
<!-- <span v-if="scope.row.status ==='1'">成功</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
prop="licenseplate"
label="运输车辆信息"
width="100">
</el-table-column>
<el-table-column
prop="transtype"
label="交易类型"
label="运输车辆"
width="100">
</el-table-column>
<!-- <el-table-column-->
<!-- prop="transtype"-->
<!-- label="交易类型"-->
<!-- width="100">-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- prop="custel"-->
<!-- label="客户联系电话"-->
<!-- width="140">-->
...
...
@@ -488,10 +488,10 @@
<el-button type="success" icon="el-icon-check" @click="applyAdd()">入  库</el-button>
</template>
<template slot-scope="scope">
<el-row>
<el-row
type="flex" justify="center"
>
<Print :wmsInfo = "scope.row"></Print>
</el-row>
<el-row>
<el-row
type="flex" justify="space-between"
>
<el-button type="success" size="mini" @click="applyEdit(scope.row)">编辑</el-button>
<el-button type="danger" size="mini" @click="applyDel(scope.$index,scope.row)">移除</el-button>
</el-row>
...
...
@@ -674,7 +674,7 @@
// eslint-disable-next-line no-useless-escape
var pattern = /^[0-9\.]+[xX][0-9\.]+[xX][0-9\.]+[xX][0-9\.]+$/;
if(!pattern.test(v)){
err = new Error('行
:'+index
+'的值:'+v+'的体积格式输入错误,格式为1x1x1x1支持小数点')
err = new Error('行
'+(index+1)
+'的值:'+v+'的体积格式输入错误,格式为1x1x1x1支持小数点')
return callback(err);
}else {
const volV = this.multiply(v)
...
...
@@ -1130,7 +1130,8 @@
}
// 若需上传,将base64转为file文件
const blob = new Blob([uInt8Array], { type: 'image/png' })
let fileOfBlob = new File([blob], 'imgCaptureTest' + '.png')
const filename = this.serialNumber()+'';
let fileOfBlob = new File([blob], filename + '.png')
// this.submitUpload(fileOfBlob);
var formData = new FormData()
formData.append('file', fileOfBlob)
...
...
@@ -1148,7 +1149,7 @@
},
submitUpload(formData){
const fileServiceName = '/api/wlpt-custom-service-workflow'
const fileServiceName = '/api/wlpt-custom-service-workflow
/
'
let ld = this.$loading({
text:"图片数据上传中..."
})
...
...
src/views/wms/WMSExportForm.vue
0 → 100644
查看文件 @
e09ea65
<template>
</template>
<script>
export default {
name: "WMSExportForm"
}
</script>
<style scoped>
</style>
...
...
请
注册
或
登录
后发表评论