...
|
...
|
@@ -64,13 +64,8 @@ |
|
|
>
|
|
|
</el-date-picker>
|
|
|
</div>
|
|
|
<div class="chaxun">
|
|
|
<img
|
|
|
src="../../assets/chaxun.png"
|
|
|
class="cha-imgs"
|
|
|
alt=""
|
|
|
@click="chaxun"
|
|
|
/>
|
|
|
<div class="chaxun" @click="chaxun">
|
|
|
<img src="../../assets/chaxun.png" class="cha-imgs" alt="" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -207,7 +202,7 @@ |
|
|
title="新增发货计划"
|
|
|
:visible.sync="dialogVisible"
|
|
|
width="80%"
|
|
|
style="margin-top: 90px;"
|
|
|
style="margin-top: 90px"
|
|
|
:append-to-body="true"
|
|
|
>
|
|
|
<div class="liebiao">
|
...
|
...
|
@@ -244,20 +239,22 @@ |
|
|
<div class="sd">
|
|
|
<div class="fa-ji">附带资料</div>
|
|
|
<div class="ziliao-list">
|
|
|
<div class="liulan" @click="handleFileChange">浏览</div>
|
|
|
<input
|
|
|
type="file"
|
|
|
ref="sa"
|
|
|
@change="handleFileChange"
|
|
|
style="display: none"
|
|
|
/>
|
|
|
<div class="ziliaotu">
|
|
|
<div class="ziliao-left">
|
|
|
<img src="../../assets/21.png" class="ziliao-img" alt="" />
|
|
|
<span class="text-sp">food.jpg</span>
|
|
|
<el-upload
|
|
|
class="upload-demo"
|
|
|
action="https://jsonplaceholder.typicode.com/posts/"
|
|
|
:on-preview="handlePreview"
|
|
|
:on-remove="handleRemove"
|
|
|
:before-remove="beforeRemove"
|
|
|
multiple
|
|
|
:limit="3"
|
|
|
:on-exceed="handleExceed"
|
|
|
:file-list="fileList"
|
|
|
>
|
|
|
<el-button size="small" type="primary">点击上传</el-button>
|
|
|
<div slot="tip" class="el-upload__tip">
|
|
|
只能上传jpg/png文件,且不超过500kb
|
|
|
</div>
|
|
|
<img src="../../assets/chen.png" class="chen-img" alt="" />
|
|
|
</div>
|
|
|
</el-upload>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -396,7 +393,13 @@ |
|
|
v-model="scope.row.productId"
|
|
|
placeholder="请输入产品型号"
|
|
|
filterable
|
|
|
@change="getCategoryOptions(scope.row.productId,scope.$index, tablelist)"
|
|
|
@change="
|
|
|
getCategoryOptions(
|
|
|
scope.row.productId,
|
|
|
scope.$index,
|
|
|
tablelist
|
|
|
)
|
|
|
"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in optionsas"
|
...
|
...
|
@@ -479,9 +482,8 @@ |
|
|
</el-table>
|
|
|
</div>
|
|
|
<div class="queren">
|
|
|
<el-button type="primary" round @click="btn">确认</el-button>
|
|
|
<el-button type="primary" round @click="btn">确认</el-button>
|
|
|
<el-button round @click="dialogVisible = false">取消</el-button>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
...
|
...
|
@@ -490,7 +492,7 @@ |
|
|
title="发货计划审核"
|
|
|
:visible.sync="dialogVisibleg"
|
|
|
width="70%"
|
|
|
style="margin-top: 90px;"
|
|
|
style="margin-top: 90px"
|
|
|
:append-to-body="true"
|
|
|
>
|
|
|
<div class="liebiao">
|
...
|
...
|
@@ -601,7 +603,9 @@ |
|
|
</el-table>
|
|
|
</div>
|
|
|
<div class="queren">
|
|
|
<el-button type="primary" round @click="tonguo(1)">审核通过</el-button>
|
|
|
<el-button type="primary" round @click="tonguo(1)"
|
|
|
>审核通过</el-button
|
|
|
>
|
|
|
<el-button round @click="butong(2)">审核不通过</el-button>
|
|
|
|
|
|
</div>
|
...
|
...
|
@@ -612,7 +616,7 @@ |
|
|
title="完成发货计划"
|
|
|
:visible.sync="dialogVisibleq"
|
|
|
width="70%"
|
|
|
style="margin-top: 90px;"
|
|
|
style="margin-top: 90px"
|
|
|
:append-to-body="true"
|
|
|
>
|
|
|
<div class="liebiao">
|
...
|
...
|
@@ -732,7 +736,9 @@ |
|
|
</el-table>
|
|
|
</div>
|
|
|
<div class="queren">
|
|
|
<el-button type="primary" round @click="dialogVisibleq = false">确认</el-button>
|
|
|
<el-button type="primary" round @click="dialogVisibleq = false"
|
|
|
>确认</el-button
|
|
|
>
|
|
|
<el-button round @click="dialogVisibleq = false">取消</el-button>
|
|
|
|
|
|
</div>
|
...
|
...
|
@@ -743,7 +749,7 @@ |
|
|
title="查看详情"
|
|
|
:visible.sync="dialogVisibleh"
|
|
|
width="70%"
|
|
|
style="margin-top: 110px;"
|
|
|
style="margin-top: 110px"
|
|
|
:append-to-body="true"
|
|
|
>
|
|
|
<div class="liebiao">
|
...
|
...
|
@@ -854,7 +860,9 @@ |
|
|
</el-table>
|
|
|
</div>
|
|
|
<div class="queren">
|
|
|
<el-button type="primary" round @click="dialogVisibleh = false">确认</el-button>
|
|
|
<el-button type="primary" round @click="dialogVisibleh = false"
|
|
|
>确认</el-button
|
|
|
>
|
|
|
<el-button round @click="dialogVisibleh = false">取消</el-button>
|
|
|
<!-- <div class="querens" @click="dialogVisibleh = false">确认</div>
|
|
|
<div class="quxiaos" @click="dialogVisibleh = false">取消</div> -->
|
...
|
...
|
@@ -896,6 +904,8 @@ export default { |
|
|
status: "",
|
|
|
},
|
|
|
],
|
|
|
fileList: [{ name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100' }, { name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100' }],
|
|
|
|
|
|
tablelists: [],
|
|
|
options: [],
|
|
|
dialogVisible: false,
|
...
|
...
|
@@ -936,6 +946,20 @@ export default { |
|
|
this.chan();
|
|
|
},
|
|
|
methods: {
|
|
|
//上传附件
|
|
|
handleRemove(file, fileList) {
|
|
|
console.log(file, fileList);
|
|
|
},
|
|
|
handlePreview(file) {
|
|
|
console.log(file);
|
|
|
},
|
|
|
handleExceed(files, fileList) {
|
|
|
this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
|
|
|
},
|
|
|
beforeRemove(file, fileList) {
|
|
|
return this.$confirm(`确定移除 ${file.name}?`);
|
|
|
},
|
|
|
|
|
|
onSubmit(val) {
|
|
|
this.value = val;
|
|
|
this.dian();
|
...
|
...
|
@@ -1010,14 +1034,14 @@ export default { |
|
|
});
|
|
|
},
|
|
|
//搜索
|
|
|
getCategoryOptions(val,index, rows) {
|
|
|
getCategoryOptions(val, index, rows) {
|
|
|
console.log(val);
|
|
|
console.log()
|
|
|
this.chanping(val,index, rows)
|
|
|
this.chanping(val, index, rows)
|
|
|
// this.chan()
|
|
|
},
|
|
|
//根据产品id搜索
|
|
|
chanping(id,index, rows) {
|
|
|
chanping(id, index, rows) {
|
|
|
let that = this;
|
|
|
var url = "/api/system/product/" + id;
|
|
|
let params = {};
|
...
|
...
|
@@ -1084,6 +1108,7 @@ export default { |
|
|
},
|
|
|
//获取发货计划列表
|
|
|
fahuo() {
|
|
|
console.log("11")
|
|
|
let that = this;
|
|
|
var url = "/api/ship/ship/list";
|
|
|
let params = {
|
...
|
...
|
@@ -1094,14 +1119,12 @@ export default { |
|
|
pageSize: that.pageSize,
|
|
|
shipId: that.shipId,
|
|
|
telegramListName: that.telegramListName,
|
|
|
};
|
|
|
that.$axios
|
|
|
.post(url, params)
|
|
|
.then(function (res) {
|
|
|
console.log(res);
|
|
|
that.tableData = res.rows;
|
|
|
that.total = res.total;
|
|
|
})
|
|
|
} || '';
|
|
|
that.$axios.post(url, params).then(res => {
|
|
|
console.log(res);
|
|
|
that.tableData = res.rows;
|
|
|
that.total = res.total;
|
|
|
})
|
|
|
.catch(function (err) {
|
|
|
console.log(err);
|
|
|
});
|
...
|
...
|
|