|
@@ -235,12 +235,12 @@
|
|
|
<span>{{ scope.row.id }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column align="left" label="发货单号" prop="orderNo" min-width="130" show-overflow-tooltip>-->
|
|
|
- <!-- <template slot-scope="scope">-->
|
|
|
- <!-- <CopyButton :copyText="scope.row.orderNo" />-->
|
|
|
- <!-- <span>{{scope.row.orderNo}}</span>-->
|
|
|
- <!-- </template>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
+ <!-- <el-table-column align="left" label="发货单号" prop="orderNo" min-width="130" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <CopyButton :copyText="scope.row.orderNo" />
|
|
|
+ <span>{{scope.row.orderNo}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column> -->
|
|
|
<!-- <el-table-column align="left" label="订单号" prop="orderNo" min-width="140" show-overflow-tooltip>-->
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
<!-- <CopyButton :copyText="scope.row.orderType === 'TRADE' ? scope.row.enginOrderNo : scope.row.mainOrderId" />-->
|
|
@@ -365,6 +365,9 @@
|
|
|
<el-button type="text" @click="toDetail(scope.row)"
|
|
|
>详情</el-button
|
|
|
>
|
|
|
+ <el-button type="text" v-if="scope.row.type==2 && scope.row.examineStatus!=OK" @click="centerDialogVisible=true,qty = scope.row.invoiceNum "
|
|
|
+ >编辑</el-button
|
|
|
+ >
|
|
|
<el-button
|
|
|
type="text"
|
|
|
@click="toExamine(scope.row)"
|
|
@@ -406,6 +409,21 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+
|
|
|
+<el-dialog
|
|
|
+ :visible.sync="centerDialogVisible"
|
|
|
+ width="30%"
|
|
|
+ center>
|
|
|
+
|
|
|
+ <el-input
|
|
|
+ v-model="qty"
|
|
|
+ placeholder="请输入数量"
|
|
|
+ ></el-input>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="centerDialogVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="updateNum">确 定</el-button>
|
|
|
+ </span>
|
|
|
+</el-dialog>
|
|
|
<ExamineDialog
|
|
|
:isShow.sync="isShowExamineDialog"
|
|
|
:examineForm.sync="examineForm"
|
|
@@ -435,6 +453,7 @@ import {
|
|
|
examineBatch,
|
|
|
examineJudge,
|
|
|
getList,
|
|
|
+ updateNum,
|
|
|
updateReceipt,
|
|
|
} from "@/api/supply/sales";
|
|
|
import SalesDetail from "@/views/supply/sales/components/sales_detail";
|
|
@@ -492,12 +511,13 @@ export default {
|
|
|
{ label: "审核通过", value: "OK" },
|
|
|
// { label: '审核驳回', value: 'FAIL' },,
|
|
|
],
|
|
|
-
|
|
|
+centerDialogVisible:false,
|
|
|
queryItem: {},
|
|
|
isShowDetail: false,
|
|
|
isShowExamine: false,
|
|
|
isShowReturnForm: false,
|
|
|
value1: "",
|
|
|
+ qty:'',
|
|
|
choiceDate: "",
|
|
|
multipleSelection: [],
|
|
|
isShowExamineDialog: false,
|
|
@@ -585,6 +605,15 @@ export default {
|
|
|
this.listLoading = false;
|
|
|
});
|
|
|
},
|
|
|
+ updateNum(){
|
|
|
+ updateNum({
|
|
|
+ invoiceNum:this.qty,
|
|
|
+ refundableQty:this.qty
|
|
|
+ }).then(res=>{
|
|
|
+ this.$successMsg("修改成功");
|
|
|
+ })
|
|
|
+ this.centerDialogVisible = false
|
|
|
+ },
|
|
|
updateReceipt() {
|
|
|
|
|
|
if (!this.value1) {
|